2025-03-25 7:46 AM
Hello,
We are working with the STM32N657X0-Q and we would like to understand the best way to flash my C/C++ program onto the board using STM32CubeIDE or STM32CubeProgrammer.
Specifically, we have the following questions:
Flashing from STM32CubeIDE:
Is it possible to directly flash my compiled C/C++ program to the STM32N657X0-Q using STM32CubeIDE?
If yes, what are the required configurations for the debugger and the flash settings?
Using a Binary or Hex File:
When compiling a project in STM32CubeIDE, where can I find the generated .bin or .hex file?
What are the correct steps to extract the binary or hex file from STM32CubeIDE? ==> We managed to retrieve binary and hex files from STM32CubeIDE, but we are unable to flash them using STM32CubeProgrammer.
Flashing with STM32CubeProgrammer:
Once I have the .bin or .hex file, what is the correct procedure to flash it onto the STM32N657X0-Q using STM32CubeProgrammer?
Are there specific memory regions or settings that I need to configure before flashing?
We would really appreciate any guidance or step-by-step instructions on this process. Thank you in advance for your help!
Best regards,
Dila