Sign in

username:

password:



Not a member?

Search LPC900_users



Search tips

Subscribe to LPC900_users



Ads

Discussion Groups

Discussion Groups | LPC900 | LPC935-PROG

Find help, specifications and source code for the LPC900. The LPC900 challenges Microchip and AVR based on the worlds most popular 8-bit architecture the 80C51. With a 2-clock core the LPC900 series is a high performance, very flexible and low cost 8-bit microcontroller family. Designers using or interested in these devices are encouraged to share their know-how and ask questions.

LPC935-PROG - john - Feb 10 22:35:00 2006

Rod,

I haven't been able to program anything yet. Can you give me an example
of the command line arguments used to program or put the device in ISP
mode? Also, will the program work with MCB900 serial interface?

Thanks,
John
	


(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )


Re: LPC935-PROG - rodboyce70 - Feb 11 9:37:00 2006

John,

I have never used this under windows except when I was doing some
early testing for a friend of mine.

I use the following commands to erase the necessary sectors and then
to program a hex file:
lpc935-prog -p /dev/ttyS0 -e sector -a 0
lpc935-prog -p /dev/ttyS0 -e sector -a 1024
lpc935-prog -p /dev/ttyS0 -e sector -a 2048
lpc935-prog -p /dev/ttyS0 -g ./prog.ihx
lpc935-prog -v -p /dev/ttyS0 -s

The '-p' specifies the com port to use under windows use com1 or com2.
The '-e' is the erase command and we want to erase a sector.
The '-a' is the address command.
The '-g' is the program command.
The '-s' command is the reset command.

This code is designed to talk directly to the serial port on the
LPC935.  It uses DTR to turn the chip on and off.  It uses RTS to
toggle the reset pin of the LPC935 after power up.
I have a simple RS232 level shifter to convert the RS232 level to 3.3V
logic.  I also use a simple transistor to toggle RTS and DTR.  I was
planning on putting the HW schmatic up on sourceforge as well one day.

Regards,
Rod
	--- In lpc900_users@lpc9..., "john" <j_funk1425@...> wrote:
>
> Rod,
> 
> I haven't been able to program anything yet. Can you give me an example
> of the command line arguments used to program or put the device in ISP
> mode? Also, will the program work with MCB900 serial interface?
> 
> Thanks,
> John
>
	


(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )