Hi all, I'm just setting up for development with the Elektor ARMee LPC2106 module. I would prefer to do the development under Linux rather than Windows. I have the GNU toolchain built and running, now for the final bit. Is there a flash downloader for Linux or does using the Philips utility effectively force me to switch to Windows. Thanks Steve

LPC2000 development on Linux
Started by ●February 15, 2006
Reply by ●February 15, 20062006-02-15
steve_moorby wrote: >Hi all, I'm just setting up for development with the Elektor ARMee >LPC2106 module. I would prefer to do the development under Linux >rather than Windows. I have the GNU toolchain built and running, now >for the final bit. Is there a flash downloader for Linux or does >using the Philips utility effectively force me to switch to Windows. > > > Switch to Windows... -- Tom Walsh - WN3L - Embedded Systems Consultant http://openhardware.net, http://cyberiansoftware.com "Windows? No thanks, I have work to do..." ----------------
Reply by ●February 15, 20062006-02-15
Tom & Steve,
>>Hi all, I'm just setting up for
development with the Elektor ARMee
>>LPC2106 module. I would prefer to do the development under Linux
>>rather than Windows. I have the GNU toolchain built and running, now
>>for the final bit. Is there a flash downloader for Linux or does
>>using the Philips utility effectively force me to switch to Windows.
>>
>>
>>
> Switch to Windows...
isn't the lpc21isp.exe by Martin Maurer said to be available under
linux as well? Don't know for sure, but googling for it may be
worthwhile.
-uwe
Reply by ●February 15, 20062006-02-15
lpc21isp has worked well for me in linux (Gentoo distribution). I have been using it successfully with an Olimex P2106 demo board and a custom 2138 board that utilizes an FTDI USB virtual serial port between the workstation and target. http://guest.engelschall.com/~martin/lpc21xx/isp/ Bryce Uwe Arends wrote: > Tom & Steve, > > >>Hi all, I'm just setting up for development with the Elektor ARMee > >>LPC2106 module. I would prefer to do the development under Linux > >>rather than Windows. I have the GNU toolchain built and running, now > >>for the final bit. Is there a flash downloader for Linux or does > >>using the Philips utility effectively force me to switch to Windows. > >> > >> > >> > > Switch to Windows... > > isn't the lpc21isp.exe by Martin Maurer said to be available under > linux as well? Don't know for sure, but googling for it may be > worthwhile. > > -uwe > > > SPONSORED LINKS > Microcontrollers > <http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s&.sig=mfaAujKZXA2Z_vxre9sGnQ> > Microprocessor > <http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s&.sig=9jjd2D3GOLIESVQssLmLsA> > Intel microprocessors > <http://groups.yahoo.com/gads?t=ms&k=Intel+microprocessors&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s&.sig=OMnZuqMZX95mgutt4B-tDw> > > Pic microcontrollers > <http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microcontrollers&w2=Microprocessor&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s&.sig=Malspbd0T4Rq3M4Q0nHrfw> > > > > > >. > > > > -- Bryce Himebaugh Design Engineer Indiana University Computer Science Dept. (812) 855-6984 http://www.cs.indiana.edu/~bhimebau/
Reply by ●February 15, 20062006-02-15
Uwe Arends wrote: >Tom & Steve, > > > >>>Hi all, I'm just setting up for development with the Elektor ARMee >>>LPC2106 module. I would prefer to do the development under Linux >>>rather than Windows. I have the GNU toolchain built and running, now >>>for the final bit. Is there a flash downloader for Linux or does >>>using the Philips utility effectively force me to switch to Windows. >>> >>> >>> >>> >>> >>Switch to Windows... >> >> > > > I just couldn't resist that, a night of chasing an obscure bug in my program left me in a foul mood. heh. I have used the lpc21isp.c to program the LPC21xx parts. It is problematic, but it does work. You can probably find the most recent copy at: http://www.aeolusdevelopment.com What I finally did was to write my own uploader. It took a few days to write, but I needed something that I understood how it worked and could change it if necessary. AFAICT, the lpc21isp.c is a multi purpose tool to program the AVR and LPC2000 parts in standalone (running under linux) or can be incorported into the controller to program other controllers. For my needs, the Flash programming utility in the Abatron BDI2000 makes programming the Flash memories so much easier. There are two LPC2000 parts on my board, LPC2106 + LPC2138, and they are daisy chained together. The Abatron will program either one using a simple telnet session. TomW >isn't the lpc21isp.exe by Martin Maurer said to be available under >linux as well? Don't know for sure, but googling for it may be >worthwhile. > >-uwe > > > >Yahoo! Groups Links > > > > > > > > -- Tom Walsh - WN3L - Embedded Systems Consultant http://openhardware.net, http://cyberiansoftware.com "Windows? No thanks, I have work to do..." ----------------
Reply by ●February 15, 20062006-02-15
I have been using lpc2k_pgm by Paul Stoffregen. Slight mods needed to
build
with Fedora Core 4. Works great with Olimex 2214 board.
Notes: USB/Terminal driver in Linux hangs at random times.
File selector not very intuitive.
George
Linux
On Wed, 2006-02-15 at 18:11 -0500, Tom Walsh wrote:
> Uwe Arends wrote:
>
> >Tom & Steve,
> >
> >
> >
> >>>Hi all, I'm just setting up for development with the
Elektor ARMee
> >>>LPC2106 module. I would prefer to do the development under
Linux
> >>>rather than Windows. I have the GNU toolchain built and
running,
> now
> >>>for the final bit. Is there a flash downloader for Linux or
does
> >>>using the Philips utility effectively force me to switch to
> Windows.
> >>>
> >>>
> >>>
> >>>
> >>>
> >>Switch to Windows...
> >>
> >>
> >
> >
> >
> I just couldn't resist that, a night of chasing an obscure bug in my
> program left me in a foul mood. heh.
>
> I have used the lpc21isp.c to program the LPC21xx parts. It is
> problematic, but it does work. You can probably find the most recent
> copy at: http://www.aeolusdevelopment.com
>
> What I finally did was to write my own uploader. It took a few days
> to
> write, but I needed something that I understood how it worked and
> could
> change it if necessary. AFAICT, the lpc21isp.c is a multi purpose
> tool
> to program the AVR and LPC2000 parts in standalone (running under
> linux)
> or can be incorported into the controller to program other
> controllers.
>
> For my needs, the Flash programming utility in the Abatron BDI2000
> makes
> programming the Flash memories so much easier. There are two LPC2000
> parts on my board, LPC2106 + LPC2138, and they are daisy chained
> together. The Abatron will program either one using a simple telnet
> session.
>
> TomW
>
> >isn't the lpc21isp.exe by Martin Maurer said to be available under
> >linux as well? Don't know for sure, but googling for it may be
> >worthwhile.
> >
> >-uwe
> >
> >
> >
> >Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
>
>
> --
> Tom Walsh - WN3L - Embedded Systems Consultant
> http://openhardware.net, http://cyberiansoftware.com
> "Windows? No thanks, I have work to do..."
> ----------------
>
>
>
>
>
> SPONSORED LINKS
>
> Microcontrollers
> Microprocessor
> Intel microprocessors
> Pic microcontrollers
>
>
>
> ______________________________________________________________________
> YAHOO! GROUPS LINKS
>
>
> 1.
>
>
>
> ______________________________________________________________________
>
>
Reply by ●February 16, 20062006-02-16
At 06:11 PM 2/15/06 -0500, Tom Walsh wrote: >I have used the lpc21isp.c to program the LPC21xx parts. It is >problematic, but it does work. You can probably find the most recent >copy at: http://www.aeolusdevelopment.com A link anyway. Also one to Paul's graphical download utility. I don't think it's been tracking the variations as closely but I haven't looked in a bit so I could be wrong. I would be curious as to what you found to be the problem areas. I've just done a revision adding multiple file inputs and am about to (probably slowly) merge it in with the changes others have made to the program and maybe convince Martin it's time to release another non-test version. While I'm at it maybe I can address some of the things you ran into or note them as items that need addressing. Robert " 'Freedom' has no meaning of itself. There are always restrictions, be they legal, genetic, or physical. If you don't believe me, try to chew a radio signal. " -- Kelvin Throop, III http://www.aeolusdevelopment.com/
Reply by ●February 16, 20062006-02-16
Hello Tom, a few correction: > I have used the lpc21isp.c to program the LPC21xx parts. It is > problematic, but it does work. You can probably find the most recent > copy at: http://www.aeolusdevelopment.com The latest official version (1.33) can be found on http://guest.engelschall.com/~martin/lpc21xx/isp/index.html It runs under Windows, Cygwin and Linux. If you have another OS, you must compile it yourself. Development versions (currently version 1.34) can be found on http://groups.yahoo.com/group/lpc21isp/ (registration needed) > AFAICT, the lpc21isp.c is a multi purpose tool > to program the AVR and LPC2000 parts in standalone (running under linux) > or can be incorported into the controller to program other controllers. This is wrong: lpc21isp is mainly for LPC2000 parts, AVRs are not supported. But there is also a support for Analog Devices ADUC 70xx (but i haven't tested these). But if you need help, feel free to contact me ! Regards, Martin
Reply by ●February 17, 20062006-02-17
Hello Tom,
> I have used the lpc21isp.c to program the LPC21xx
parts. It is
> problematic, but it does work. [...]
That may be related to minor differences in RS232 support and
handshaking of the DST/DTR and/or RTS/CTS lines. I initially had more
problems with the Philips utility than with lpc21isp.
I do main development under Linux, but I use Windows for on-site bug
fixing with a laptop. I use lpc21isp on both platforms.
Kind regards,
Thiadmer Riemersma
