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 <jboo...@gmail.com>
To: Nagasrinivas Pinjala <pinja...@yahoo.com>
Cc: psas-avionics <psas-avion...@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 <pinja...@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@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@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@lists.psas.pdx.edu
>http://lists.psas.pdx.edu/mailman/listinfo/psas-avionics
>
>
_______________________________________________
psas-avionics mailing list
psas-avionics@lists.psas.pdx.edu
http://lists.psas.pdx.edu/mailman/listinfo/psas-avionics

Reply via email to