cancel
Showing results for 
Search instead for 
Did you mean: 

STM32N6 is only flashable after POR

The_Com3dian
Visitor

Hi,

We have a weired problem with a custom N657 design.
When using the Nucleo board, its possible to flash the program on the external flash, as long as BOOT1=1.

The programmer resets the board and it flashes the firmware normally every time.

On our board we use the internal SMPS and the same external flash with the same diode in the nrst circuit.

Wenn i do a power up with BOOT1 pulled up, it flashes without error and the program runs as expected, when i change it to BOOT1=0 and hit reset.

But when i want to reflash it, it won't do it.

The LED is on and the programmer can connect, but the erase and reflash of the external flash is failing every time until i do a power cycle.

The reset signal is reaching the flash, as it should.

What could be the problem?

 

0 REPLIES 0