LPC2214, Wiggler and arm-elf-insigh
2006-05-20 by stonoga_jacek
Hello I have a problem with downloading program to ram memory. I use my own custom hardware with LPC2214, wiggler, and gnu toolset. I want to run some simple program from ram but insight ( and gdb ) always fail in the same way: DOWNLOAD FAILED: Invalid download offset: ...path to file Now I don`t know where to look errors. My application is based on example from James Linch tutorial ( registers deffinisions and memorys sizes are fitted to my processor) I have tryed to run some others examples form http://gandalf.arubi.uni-kl.de/avr_projects/arm_projects/ but the same errors occurs. I`ve installed whole toolset from James Lynch tutorial and run his example on eclipse and the same thing happends (gdb returns the same error during downloading ). But registers and memory map is fully available via insight and communication is not broken. So I guess there is a either problem with compilation and I`m running bad file to debugger or there is some issue with hardware. At the beginning I had a problem with connection to JTAG interface - lpc wasn`t able to respond - TDO line was empty. I`ve cut TRST line and now everything seems to work fine. I will be grateful for any help regards Jacek