Hi,

Now that I know how to program LPC I want to actually write a small program to 
make a LED blink. I figured out that I should refer to the LPC manual. I am 
overwhelmed by the amount of study to do just to make an LED blink ! I mean 
chapter 2 is about memory addressing, chapter 8 is about pin configuration, 
chapter 9  is about pin connect and chapter 10 about GPIO. 

Any suggestions as to what to actually study, how to organize that material so 
I do not hop from one topic to another but cover them in sequence ? 

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 10:30 AM
Subject: Re: [psas-avionics] LPC2378 Programming


Awesome!


On Sat, Jul 16, 2011 at 9:43 AM, Nagasrinivas Pinjala <pinja...@yahoo.com> 
wrote:

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