Hi! I am making LPC2468 as a usb host.. The circuit is ready... I am programming it serially using Flash Magic and MAX3232.I just wrote a sample code for making port pins 2.18 and 2.20 a logic low as all pins in LPC2468 are pulled up by default. The program showed no error and it gave satisfactory output when I simulated it. Also, no error in downloading it through flash magic..After loading, I took the ISP jumper out and unplugged the power from the circuit and again powered it up with a thought in mind that controller will get reset by doing this and execution will start from 00000000memory location... But this didn't happen.. My controller,though program being loaded successfully,is not executing the program,i.e the pins 2.18 and 2.20 are not getting low.. Please help me to find remedy to this..
So what debugging (yes - scary word) have you done?
Have you verified that the program is still stored in the cihp? Do you program to RAM or flash?
Have you verified the function of the reset pin?
Have you verified that you don't trig a boot loader?
You are not even telling if it's a home-made board or a bought evaluation board. Just because you can download, the program need not be correct. And just because you can simulate, the hardware need not be correct.
How have you verified that the board have a correctly working oscillator etc?
Hi per! I have made the circuit at home having on chip loader.. And now I have found the solution..It had something to do with options set in keil uvision 4..Due to that it was fetching code from wrong memory area.. Now everything working fine....Thanks for your concern...