2025-02-05 11:32 PM
Hello,
I am currently using STM32N6657XOHXQ(Discovery Kit), I am running the (XSPI_NOR_MemoryMapped_DTR) example from STM32CubeMX. I have added UART print to debug the issue. Below are steps to reproduce the issue I am seeing.
1. Put the board in development board (BOOT1 Switch position 1-3, BOOT0 Switch Position 1-2)
For flashing external memory.
2. Ran the exe.
3. Open STM32CubeProgrammer and open erasing and programming tab.
4. Select the project-trusted.bin then select "Verify Programming"
5. Select "Download file" and write "-cb" in "Option Bytes Command"
6. Select Erase External Memory and then click on "start programming".
6. Put the board in boot mode (BOOT1 Switch position 1-2, BOOT0 Switch Position 1-2)
7. Press Reset Button.
When the code is flashing first time it works, Green LED Blinks and UART Output is attached below.
8. But when reset button is pressed again it doesn't generate output as above..
I have attached my code in which UART is added to verify board boot status.
UART Configuration:
1. Baudrate :- 115200
2. Parity: None
3. Stopbits: 1
4. Hardware control: None