Content originally posted in LPCWare by [email protected] on Thu May 26 22:32:46 MST 2016 I am having a problem a problem where my user application code is not running after I perform a flash upgrade followed by a reset. The processor seems to be just stuck in ISP mode.
My Setup: - Using an mbed board as the USB-Serial interface to program a custom board that has an LPC1768 - I have the UART0 interface of the LPC1768 on my custom board connected P28 & P27 of mbed board. - I have two external push switches conected to the reset pin and P2_10 pin. - Used the BIN2HEX to perform conversion of the binary file from the mbed IDE
Results: - It appears that the flash magic tool is programming the device successfully as you can see from this attachment named Success.png. - After the flash is programmed I reset my custom board and the processor seems to stay in ISP mode. I say this because I can read the DEvice SIgnature from the ISP menu in Flash Magic. - What seems odd is when I click on 'information' in the file menu it does not show a memory range for the hex file which is 60.18KB. See Attachment info.png
Content originally posted in LPCWare by R2D2 on Wed Jun 01 16:04:46 MST 2016 Quote: [email protected] Yes they have external pullups on those pins. As I said - I know the LPC is in ISP mode because I can read the Device Signature from the ISP menu in Flash Magic.
:D
And those pull-ups have values, too?
It's not very difficult to find / solve this kind of problems. Either it's a hardware issue or it's crappy software...
Without informations about your hardware and without informations about your program it's just a guessing game :(
Anyway, I would recommend to scope ISP / Reset signals to check the hardware. And of course use a working program to flash it via FlashMagic...
Content originally posted in LPCWare by [email protected] on Wed Jun 01 10:24:44 MST 2016 Yes they have external pullups on those pins. As I said - I know the LPC is in ISP mode because I can read the Device Signature from the ISP menu in Flash Magic.