cancel
Showing results for 
Search instead for 
Did you mean: 

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

BalaGajenthan
Associate II

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?

2 REPLIES 2
BalaGajenthan
Associate II

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

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.