[psas-avionics] LPC2378 Programming

Nagasrinivas Pinjala pinjalan at yahoo.com
Sat Jul 16 09:43:01 PDT 2011


Jeremy, you are right. What I did not include was the path of the .hex file. Now everything works great. 

Thanks,
Naga


________________________________
From: Jeremy Booth <jbooth7 at gmail.com>
To: Nagasrinivas Pinjala <pinjalan at yahoo.com>
Cc: psas-avionics <psas-avionics at psas.pdx.edu>
Sent: Saturday, July 16, 2011 2:01 AM
Subject: Re: [psas-avionics] LPC2378 Programming


I think you may need to specify the path of the .hex file you want to load.  I think relative path naming should be fine, but it looks like you are using absolute for everything else, so that should work too.


-Jeremy



On Sat, Jul 16, 2011 at 1:36 AM, Nagasrinivas Pinjala <pinjalan at yahoo.com> wrote:

Hi, 
>
>
>I am not able to program the LPC2378. I have connected the programming jumper, and other connections are all fine. This is what I get after I try to program the LPC: 
>
>
>pinjalan at mydomain:~$ /opt/isp/lpc21isp -hex -wipe -control -verify -PHILIPSARM can_a_bus.hex /dev/ttyUSB0 38400 12000
>Verify after copy RAM to Flash.
>Target: Philips.
>lpc21isp version 1.81
>Can't open file can_a_bus.hex
>
>
>But if I run a test command I get an OK result. 
>
>
>pinjalan at mydomain:/dev$ /opt/isp/lpc21isp -detectonly -control foo /dev/ttyUSB0 115200 14746
>lpc21isp version 1.81
>Synchronizing (ESC to abort). OK
>Read bootcode version: 3
>3
>Read part ID: LPC2378, 512 kiB ROM / 58 kiB SRAM (0x1700FD25)
>
>
>What do I do ?
>
>
>Thanks,
>Naga.
>
>
>
>
>_______________________________________________
>psas-avionics mailing list
>psas-avionics at lists.psas.pdx.edu
>http://lists.psas.pdx.edu/mailman/listinfo/psas-avionics
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.psas.pdx.edu/pipermail/psas-avionics/attachments/20110716/2f03bc92/attachment.htm>


More information about the psas-avionics mailing list