Answer by Tarick Welling for Why stm32f103's elf file works well, but binary...
Have you tried to use the STM32CubeProgrammer? It allows you to program the firmware using UART, SWD, JTAG and USB. Please try SWD firstly and then the UART mode to see if it is a ST bug or your UART...
View ArticleWhy stm32f103's elf file works well, but binary not?
I'm trying to run out my firmware inside stm32f103. So when I use opencod+gdb uploading and debugging elf file, everything is fine, my firmware is working and I can set and remove breakpoints. But it...
View ArticleAnswer by old_timer for Why stm32f103's elf file works well, but binary not?
try this.globl _start _start: .word 0x20001000 .word reset .word loop .word loop .thumb_func reset: add r0,#1 b reset .thumb_func loop: b loop build, can use arm-whatever-whatever (arm-none-eabi,...
View ArticleAnswer by Ilya for Why stm32f103's elf file works well, but binary not?
@old_timer Thank you very much for your detailed answer. I found that the problem is in oversized firmware. My chip has only 64k of flash and fw is 68k, so eclipse didn't tell me that the firmware is...
View Article