This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LPC2362 Not entering ISP mode

Hi All,

I have a strange problem with my board LPC2362. The fresh controller is getting programmed for the very first time. And the second time onwards the controller is not entering into ISP mode.

I am using Flash magic for programming. RTS and CTS are included in the ISP connections and using via PC serial port.

I have probed the Reset pin and EINT(P2.10). Both are going LOW initially and then HIGH when trying to connect from flash magic, though not connecting on second attempt. The error I get is Failed to Autobaud.

First time after changing the controller, it works fine. So the ISP circuit is fine I guess.

Any valuable suggessions would be highly appriciated.

Thanks

Parents Reply Children
  • You can use the same controller but you will have to reload the bootloader code. Check the nxp site for bootloader file.

  • Hi, Thanks for your reply.

    ISP is not working in order to load the bootloader code also. The error is "Failed to autobaud" after the first flashing. In first flashing I checked the Erase all Flash option and programmed.
    In my knowledge, ISP code protect is enabled by default in Flash magic. So ISP should work (should be able to program multiple time)even if I erase all flash. Am I right? Where could be the issue?

  • Flash magic manual can be accessed from 'Help' menu.

    Try performing a blank check and reading device ID (the steps are described in the manual.

  • Hi,

    The problem has been solved.

    I am able to reprogram multiple times now. I removed crystal from the board. If I have the crytal on board the problem persits. And I added 0.1uF cap in reset circuit. (Earlier I had 33K with 0.1uF for reset).This modifications solved my issue but still having problem in executing my program. I am just toggling the I/O pins which is not happening. Any idea why is it not executing?