I am working on a project using STM32N6570-DK. I now have a big problem with (1) how to run my code in a Flash and (2) how to connect the ST-LINK to stm32cube ide.
- I created a project “AYA” in cube IDE . Cube IDE asked if it is FSBL project or application project. I chose application, and all my work after are done within AYA_appli
- I finished the coding and testing from debug version to release version. Both with ST-LINK connected (with is integrated in the DK), and boot1/boot2 keys are set =00. My code runs correctly.
- TROUBLES came after the FLASH: I used STM32CubeProgrammer to write my .bin file to the -dk board.
- boot0/boot1=11,
- I chose this external bootloader (MX66UW1G45G_STM32N6570-DK )
- Erasing the full chip
- Write my code (start address =0x07000000) to the flash and “verify successfully”
- Now, I switch boot0/boot1=00, and press the RESET button. However, NOTHING happens‼
- To make things WORSE: I switched back to the IDE environment, it says “Target unknown error 32 Error in initializing ST-LINK device. Reason: Unknown. Please check power and cabling to target”
Question 1: how can I now be back to CUBE IDE env. with st-link connected?
Question 2: How can I run my code on board after power-on-reset?
Thank you!!