cancel
Showing results for 
Search instead for 
Did you mean: 

Download .hex & .bin onto STM32F100C8-Doesn't Work

WJ1
Associate II

Hi,

I am currently using the following microcontroller (STM32F100C8T6B) in my design. I have built my project using the STM32CubeIDE (STM32CubeIDE Version: 1.18.1). I have created the following output files (BIN, HEX, and ELF) and I was able to RUN and download the source code onto my board (Design) using the STM32CubeIDE using the "elf"  file successfully. I used the Segger J-Link as a probe.

If I used a different Flash Programmer such as STM32Cube Programmer or ST-Link instead of STM32CubeIDE to download the my code onto the board using the output files I created such as (.BIN, .HEX, .ELF or .SREC), it download onto the the board, the board doesn't not programmed or the download doesn't work.

It appears that the board is programmed only whenever I use the STM32CubeIDE environment, not the regular Flash Programmers. The bottom line is that it works with IDE environment, but not with the regular Flash programmers are used. I am not sure what the problem is and any help would be greatly appreciated

Thanks,

WJ

0 REPLIES 0