I bought me LPC-2148 and ARM-USB-OCD JTag.
But It seems i cannot flash with OpenOCD within Eclipse!?
As all newbees, I now want to start my very first prog…
I could now write a loong story, but I try to keep focussed…
Finally I installed me the stuff of the delivered Olimex-CD.
First sight: Works fine! arm-elf-toolchain, Eclipse3.2 and OpenOCD and Drivers for USB-JTAG… all into c:\GCCFD
connect ARM-USB-OCD to USB of my computer, green LED goes on, Device detected by WinXP.
Connected board to the ARM-USB-OCD-Power cable, then the JTAG cable.
Red LED on board goes on.
Then I tried within Eclipse to flash the .hex like described in the instructions:
- Start OpenOCD program from Run → External Tools → OpenOCD or OpenOCDTiny
on Console I recieve:
“Info: openocd.c:82 main(): Open On-Chip Debugger (2006-10-12 18:00 CEST)”
And board beebs short, ARM-USB-OCD now changes grreen to yellow LED!
WHAT Does that mean!? Where is a (user)-documentation about that device? Is yellow LED signaling a kind of problem? Or is that the signal for “flashed successfully and now ready to start?”
- Press BUG icon, status bar says launching 5%, then I recieve a error:
"Error creating session
Target is not responding (timed out)"
The Console says:
LPC2148_flash [Embedded debug (Cygwin)]
<terminated, exit value: 256>C:\gccfd\GNUARM\bin\arm-elf-gdb.exe (01.01.08 18:56)
It seems that I cannot flash and also not debug properly…
Further Questions:
How can I restore the ARM-USB-Device by soft means?
Only can I only physically replug?
(If I reset on the board (short press), nothing happens, too!)
I once depluged JTAG from board and then SOMEHOW pushed reset and plugged on power or so… I saw a (manufactory-original?) programm starts to blink the two LEDs… So I think the board is O.K.!
I first thouht that this would be MY prog, so I changed the milisecs of MY prog and flashed again… but the blink sequence was still the original one…
Now I cannot redo that blinking by power-on! Where can I look to read how that reset/powering stuff works?
And please: Not say “Use Crossworks” or so…
I finally want to develop my stuff under Linux, gnutools. So please give me some hints for getting things running under Cygwin/arm-gnu, Eclipse is not REALLY necessary - I am used to emacs, but heard debugging would be easier with eclipse…