- Thu Dec 08, 2005 7:23 pm
#8428
I started my project out using an LPC2106 but found out that the IO was way too slow for my application, so I switched to an LPC2148. I was able to compile and run code fine on the 2106 using the Eclipse guide by James Lynch. With the 2148 I cant tell if my code is running or not.
What I do know is that the 2148 seems to be functioning fine. Its clocked with a 14.7456MHz clock. The ISP functions correctly using the latest LPC2000 Philips software. P0.14 causes the 2148 to enter ISP and when programmed with code the 2148 doesnt go to the ISP unless I pull down P0.14. So thats good news in that the valid code word is programmed correctly. So I have come to the conclusion that its my makefile, linker scripts, or code. I am assuming that its not my startup code since that should be the same for the whole LPC2100 family.
Can someone out there help me test this theory? I need a hex file for the 214X that runs at any clock speed that just wiggles a bit or two. I just need something to show that code appears to run. Something like:
Vern
What I do know is that the 2148 seems to be functioning fine. Its clocked with a 14.7456MHz clock. The ISP functions correctly using the latest LPC2000 Philips software. P0.14 causes the 2148 to enter ISP and when programmed with code the 2148 doesnt go to the ISP unless I pull down P0.14. So thats good news in that the valid code word is programmed correctly. So I have come to the conclusion that its my makefile, linker scripts, or code. I am assuming that its not my startup code since that should be the same for the whole LPC2100 family.
Can someone out there help me test this theory? I need a hex file for the 214X that runs at any clock speed that just wiggles a bit or two. I just need something to show that code appears to run. Something like:
Code: Select all
Thanks so much, FIO1DIR = 0x00030000;
while(1) {
FIO1SET = 0x00030000;
FIO1CLR = 0x00030000;
}
Vern