I'm trying to invoke ISP mode from within my program but it isn't working. I call ReinvokeISP immediately after the reset vector so there isn't anything between the reset and the ReinvokeISP.
If I have a blank flash, ISP mode works and I get this Linux debug console response:
usb 1-1: USB disconnect, device number 12 usb 1-1: new full-speed USB device number 13 using ci_hdrc usb 1-1: New USB device found, idVendor=1fc9, idProduct=000b usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-1: Product: LPC1XXX IFLASH usb 1-1: Manufacturer: NXP usb 1-1: SerialNumber: ISP usb-storage 1-1:1.0: USB Mass Storage device detected scsi host0: usb-storage 1-1:1.0 scsi 0:0:0:0: Direct-Access NXP LPC1XXX IFLASH 1.0 PQ: 0 ANSI: 0 CCS sd 0:0:0:0: [sda] 68 512-byte logical blocks: (34.8 kB/34.0 KiB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] No Caching mode page found sd 0:0:0:0: [sda] Assuming drive cache: write through sda: sd 0:0:0:0: [sda] Attached SCSI removable disk
When I call ReinvokeISP, I get this response:
usb 1-1: USB disconnect, device number 6 usb 1-1: new full-speed USB device number 7 using ci_hdrc usb 1-1: device descriptor read/64, error -110 usb 1-1: device descriptor read/64, error -110
How can I get this to work?