2022-10-03 12:10 PM
2022-10-03 12:20 PM
This is super poorly expressed
Sounds like KEIL
Sounds like your BUILD FAILED
Figure out why the build failed, start with the first error and work forward as you fix each.
2022-10-03 01:25 PM
Agree w Tesla, you don't give many details. That said, it appears that you are trying to flash a .axf file to a target board?? You don't want to do that, you must send over the .bin file.
The .bin will be generatable from the .axf. In my experience (with gcc arm none eabi toolchain), the .bin is contained verbatim within the .axf, so its 'generation' is merely one of extraction.
2022-10-03 04:03 PM
> the .bin is contained verbatim within the .axf, so its 'generation' is merely one of extraction.
This is the case only if the program (including the linker script) is specially written to ensure this.
2022-10-03 04:10 PM
Ah, I was unaware of this, thanks for pointing it out. I just always do 'arm-none-eabi-objcopy -O binary foo.axf foo.bin' and get the desired result. I didn't think I had any special .ld file.
2022-10-04 12:14 PM
Thank you guys for your feedback. Yes, I am trying to program STM32 through its evaluation board which is "H7A3ZI-Q" by Keil. There is no error when I debug the code, but I get that error when I want to send it to the microcontroller.
2022-10-04 12:24 PM
I did fix the issue, but I get this error! I did try different "flash algorithms, but none of them did work!
2022-10-04 01:50 PM
The path or name for the project looks odd. Likely not the issue
You probably need to expand the size of RAM allocated if the loader itself is large.
Other than that the panes describing the Target settings might be helpful
2022-10-04 02:05 PM
You have a NUCLEO-H7A3ZI-Q board?
STM32Cube_FW_H7_V1.10.0\Projects\NUCLEO-H7A3ZI-Q\Examples\BSP\MDK-ARM\Project.uvoptx
RAM settings for Flash Algorithms
0x20000000 0xFFF4
FLASH
0x08000000 0x200000
STM32H7A-B3_Flash_2M
<Name>UL2CM3(-S0 -C0 -P0 -FD20000000 -FCFFF4 -FN1 -FF0STM32H7A-B3_Flash_2M -FS08000000 -FL0200000 -FP0($$Device:STM32H7A3ZITxQ$CMSIS\Flash\STM32H7A-B3_Flash_2M.FLM))</Name>
2022-10-04 02:11 PM