This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Newbie catch22 problem with JTAG dongles

Hi,
At least I feel it's a catch 22 problem.
I have two working JTAG dongles, one from Olimex olimex.com/.../arm-jtag-ew.html
and one j-link from Segger/IAR and noone seems to work with the free version of ARM tool.
I cannot afford a third.
I built one simple blinking example for the STM32F103ZE (?) under the .../boards/ST directory.
I got one error complaining that my installation is non-standard and could not figure out where the wrong path is stored, but after copying the needed libraries to the wanted path everything went well and I got a blinky.hex file in the obj directory. Fine, but how to download it to my target. No option for binary output what I could see.
Reading the help file I found
FromELF --bin --output=out.bin blinky.axf
Error: no license
OK, I know but I got the hex file !
Is there no way to download my file within Keil?
Well, hex2bin blinky.hex
OK, this gave me a binary file I can use with
stm32loader.py -p com15 -e -w blinky.bin

Building the project went very smooth and quick but the last part could maybe be easier.
Any hints from old gurus?
Thanks for reading,
Bo in Finland, not US

Parents Reply Children
No data