2022-08-03 10:50 PM
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.
2022-08-03 11:56 PM
Use a .BIN file, not a .ELF
2022-08-04 12:03 AM
I am working on STM32CUBEIDE. In which folder I get the .bin file
2022-08-04 12:11 AM
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
2022-08-04 03:19 AM
which objcopy I have to run
2022-08-04 03:21 AM
In stm32cubeide there was no option for create .bin
2022-08-04 03:22 AM
2022-08-04 03:27 AM
Hello,
there are options to create bin and hex, please check the following picture:They should be created in the same directory as the .elf file.
2022-08-04 03:42 AM
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.