Skip to main content
BalaGajenthan
Associate II
October 31, 2020
Question

How to program just a Single QSPI NOR Flash chip of STM32MP157c-EV1 using CubeProgrammer

  • October 31, 2020
  • 2 replies
  • 1342 views

STM32MP157c-EV1 is connected with two QSPI NOR flash chips.

When programming NOR flash using the CubeProgrammer using tsv file, it automatically programs the two NOR flash in Dual-Flash QSPI mode.

My requirement is to program just the Single Flash chip connected to BK1.

how can I tell the CubeProgrammer to do this?

This topic has been closed for replies.

2 replies

BalaGajenthan
Associate II
November 9, 2020

Hi All, I am still stuck on this, any help is much appreciated.

I got my A7 custom boot loader working, able to boot and ready to copy the M4 firmware stored in Single External NOR Flash and load in the memory,

The issue I have is Cube Programmer storing the M4 firmware in two Flash devices in dual-flash qspi mode.

I need to find a way to store the M4 firmware in signel flash device using CubeProgrammer and tsv file

Christophe Guibout
ST Employee
November 25, 2020

Hi @BalaGajenthan​ ,

I have several question to help me to understand the context :

  • On which MMDV release are you based ? (v1.x.x or v2.x.x)
  • Who is supposed to load M4 firmware ? 
  • Could you please also share :
    • your tsv file
    • the u-boot device tree (qspi node + associated pintcrl)
    • the schematic part related to the NOR ?

Thanks !

BR,

Christophe

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.