Modelworks
Lifer
- Feb 22, 2007
- 16,240
- 7
- 76
I got the stuff in. The JTAG looks nothing like the ICE JTAGS I used before.
I thought there would be some documentation with this. There is none other than a schematic that you need a password to access. I guess that is the reason why TI charges up the but for their products. There is documentation on loading the Arduino bootloader, but nothing on what to do if you want to load the original bootloader back (I have no interest in Arduino). Can you even load code via USB if it is not Arduino because it seams like if you do not use Arduino, there is no USB driver for it.
Looks like I will spend a better part of today trying this out. Wish me luck.
The JTAG design is based on the OPenJtag project. You can read more about it here.
http://www.openjtag.org/
To load the arduino bootloader back you have to use the JTAG.
The way USB works on all ARM devices is you have to program it before it can be used. This is just how embedded development works. The board is the chip and the peripherals with a blank slate. The ARM chip doesn't know how to do anything, not even blink an LED without you telling it how.
You start by writing your code in the IDE and uploading that to the ARM board with the JTAG. You get to decide what you want that USB port to be. It can be a keyboard device, mouse, storage, those are the default USB classes that windows has drivers for. Anything else like a custom device you have to write the USB code for. If you want ethernet, you have to write the code to use that and implement the TCP stack code.
It is a long learning process and may seem daunting at first so I would start small. Start by writing a program to blink and LED on and off and go from there.
For an IDE , I like CooCox
http://www.coocox.com/CooCox_CoIDE.htm
Download and install, setup for openjtag under the debugger options.
Then under help follow the tutorial on the quick start but select the ST chip .