On 13 Oct 2004 at 16:53, Bill Knight wrote: > > I did some more searching also and have had moderate success. I > downloaded, built and installed ioperm for cygwin. Then added it to > the list of libraries to be linked. Then found, downloaded, and added > getline.c to the cmdline directory build. Then commented out the code > to call write_history() in the JTAGERs exit function. It now sort of > works. I can attach to my ARM7TDMI processor, set registers, etc. I > hacked some code to kind-of support my flash part and have been able > to erase and attempt to program it. The program once loaded into > flash almost works. Not sure if I have a programing problem or a > program problem - flash access time. Unfortunately JTAGER does not > support Thumb mode which is what my loaded program executes, so I have > been unable to erase and retry. BTW - programing flash with JTAGER is > VERY, VERY slow. It would be better to use JTAGER (or something) to > load a program into RAM then use it to program the flash. I Agree. In the past I have used a hacked version of armtool to download flash programming code to ram. This code then got the data in 256 byte chunks via the JTAG interface and wrote it to flash. I got in the order of 24kB/s programming speed. Regards Anton Erasmus > Regards > -Bill Knight > www.theARMPatch.com > > > On Wed, 13 Oct 2004 23:34:52 +0200, Anton Erasmus wrote: > > > On 13 Oct 2004 at 6:56, Bill Knight wrote: > > > Anton > > Please tell me how you managed to build JTAGER under Cygwin. > > I downloaded it and attempted to build and immediately ran into > > problems with the finding sys/io.h which suppiles prototypes for > > outb(), inb(), and ioperm(). I was planning on adding the necessary > > code for accessing the hardware (I'm running under XP) by using > > giveio but unfortunately was unable to get that far. > > Sorry, > > I was downloading and compiling various things under both Linux and > Cygwin. I thought I compiled JTAGER under cygwinas well as Linux, but > I did not. > > ioperm is available for cygwin - just install the package and > explicitly link with the ioperm library. > > Having now actually tried to compile JTAGER under cygwin, it seems > that it needs a function called "getline" which is avialable in glibc. > It looks to be fairly easy to implement this missing function. > Everything else seems to be available. > > Regards > Anton Erasmus > > > > > > > On Tue, 12 Oct 2004 22:23:54 +0200, Anton Erasmus wrote: > > > > > > On 11 Oct 2004 at 20:12, Mark Gross wrote: > > > > > > > > On Monday 11 October 2004 11:56 am, Anton Erasmus wrote: > > > > On 8 Oct 2004 at 6:40, Mark Gross wrote: > > > > > I recently purchased an Olimex lpc-p2124 development > > > > > boardfrom sparkfun.com along with a p-port JTAG dongle. > > > > > > > > > > I have some questions, one about JTAG use with this thing, > > > > > and the others about using the ISP. > > > > > > > > > > I'm looking for Linux based JTAG utilities that will allow me > > > > > to talk to the device. I'm attempting to use the > > > > > armtool+libjtag. It seems to talk to the JTAG dongle but not > > > > > the Olimex board. I'm wondering if there are some jumper > > > > > settings or other gotchas I'm missing. Any hints or clues > > > > > would be very welcome. > > > > > > > > [Stuff Snipped] > > > > > > > > Try the JTAGER project on sourceforge. > > > > > > I'll give it a try :) Have you used it much? What do you think > > > of it? > > > > > I used a hacked version of armtools in the past. I changed it to be > > able to program a flash device connected to an Atmel AT91R40008. I > > found JTAGER the other day, and it built without problems under > > Linux and Cygwin. I could also quite easily read/write memory on my > > AT91R40008 board. I have not yet tried it on my LPC2292 board. > > > > Regards > > Anton Erasmus > > -- > > A J Erasmus > > > > > > > > ------------------------ Yahoo! Groups Sponsor > > --------------------~--> $9.95 domain names from Yahoo!. Register > > anything. http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/dN_tlB/TM > > -------------------------------------------------------------------- > > ~- > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > > -- > A J Erasmus > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > ------------------------ Yahoo! Groups Sponsor > --------------------~--> $9.95 domain names from Yahoo!. Register > anything. http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/dN_tlB/TM > --------------------------------------------------------------------~- > > > > > Yahoo! Groups Links > > > > > > > -- A J Erasmus
Message
Re: [lpc2000] Yet another email with "getting started" questions....
2004-10-14 by Anton Erasmus
Attachments
- No local attachments were found for this message.