So I recently bought the ARM-USB-OCD JTAG adapter:
http://www.sparkfun.com/products/7834
and this STM32F103RB board:
http://www.sparkfun.com/products/8559
I have worked with AVR’s, a little bit of PIC, but now I want to use ARM
I installed all of the stuff from the CD that came with it (Eclipse, OpenOCD stuff, etc) but found it all very confusing. I then installed Keil uVision 4 and followed this tutorial to a tee (but changing all the instances of PC7 to PC12, the built in status LED on the board, and in the simulator it all appears to be fine).
I have produced the hex file, but I have no clue how to get it on the processor (the Flash Loader Demonstrator wouldn’t work, and I have it set to the correct COM port, in my case COM6). How do I download the code to the processor?
And as a note, I am running Windows 7 64 bit. At this point I just want to get that LED blinking, I dont care what I have to download or I have to use new compiling software etc. Just tell me whats best
I eventually want to use the ARM to do some Discrete Fourier Transform (not FFT because I want to program it and I find the FFT too complicated. I want this to be my senior project for high school). So I’m just trying to build my way up to that.
I normally just click the “load” button in the toolbar of uVision, but I have a Keil JTAG adapter.
do you think i would have better luck with something like this?
http://cgi.ebay.com/JLINK-V8-all-ARM-JT … 27b7be60cc
cause a programmer that worked directly with uVision would be awesome (when i was using AVRs, avrdude was a pain and annoying to use)
According to [the manual you need a JTAG adapter that supports RDI if you want debugging.
However, for flash download external programs can be used, see [the manual page. You could probably even make avrdude work with uVision :P](Documentation – Arm Developer)](Documentation – Arm Developer)
I think i’m just going to get a keil ulink2:
http://cgi.ebay.com/ARM-USB-JTAG-Debug- … 3f067d48f4
i just want a programmer that works, lol
I have that Keil one and it works indeed. Reading from the ebay page the JLink supports RDI, so it should work as well, but I have only worked with the ULink2
Well I decided not to cheap out and i got the Keil one, I’m sure the Jlink works just as well (may even have the same insides), but I just want 0 hassle, I cant remember the last time the hardest part of a microcontroller project wasnt the getting the program onto the chip. I’ll let you know how it goes once i receive the programmer!