cancel
Showing results for 
Search instead for 
Did you mean: 

In cubeprogrammer unbale to add start address

MDeva.1
Associate II

Hello,

I am working on NUCLEO-H7 board . Its dual core CM7 and CM4. When I Erase the full flash then I click into erase and programming option but I unable to add start address . The core M7 is get programming , but in Core M4 i unable to do programming because in start address block I unable to write . i am using latest version of cubeprogrammer.0693W00000QMvVYQA1.png

8 REPLIES 8

Use a .BIN file, not a .ELF

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

I am working on STM32CUBEIDE. In which folder I get the .bin file

Don't know, not my tools.

I'd imagine in similar place to .ELF if you've checked a "create .BIN" option, or you run objcopy

Other question would be why the .ELF doesn't work or infer the correct address, as it's an object file

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

which objcopy I have to run

In stm32cubeide there was no option for create .bin

MDeva.1
Associate II

0693W00000QMx2xQAD.png

Mike_ST
ST Employee

Hello,

there are options to create bin and hex, please check the following picture:0693W00000QMx3WQAT.pngThey should be created in the same directory as the .elf file.

The one that ships with the tools might be a good starting point. I don't think the means to get binaries out of ELF objects has changed much ​in more than 2 decades.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..