lpcware

Entering ISP mode from UserCode

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by fred033 on Thu Sep 18 03:25:22 MST 2014
Hello,

I'd like to enter in ISP mode with USB0 boot (to start in DFU mode).

I attempt to adapt the AN10356 to the LPC4337 without any success.

As described in the AN10356, I have done following :

- Configure Pin 2_7 as output and set to "0"

----Select USB0 boot-----
- Configure Pin 1_1 as output and set to "1"
- Configure Pin 1_2 as output and set to "0"
- Configure Pin 2_8 as output and set to "1"
- Configure Pin 2_9 as output and set to "0"

- disable all irq
- starting PLL0USB
- reset  all timers (Reset_CTRL1 register set to 0xFFFFFFFF )
- Invoke bootloader

After invoking bootloader, the watchdog provoke a reset and I never enter into ISP.

Is it possible to enter into ISP mode with USB0 boot with LPC4337 ? and What is wrong in my procedure ?

Thank you for help.

Outcomes