Processor: LPC11U24
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?
Plain text responses:
Good USB [85927.907627] usb 1-1: USB disconnect, device number 12 [85938.928961] usb 1-1: new full-speed USB device number 13 using ci_hdrc [85939.129337] usb 1-1: New USB device found, idVendor=1fc9, idProduct=000b [85939.135964] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [85939.143312] usb 1-1: Product: LPC1XXX IFLASH [85939.147505] usb 1-1: Manufacturer: NXP [85939.151419] usb 1-1: SerialNumber: ISP [85939.158533] usb-storage 1-1:1.0: USB Mass Storage device detected [85939.177393] scsi host0: usb-storage 1-1:1.0 [85940.253314] scsi 0:0:0:0: Direct-Access NXP LPC1XXX IFLASH 1.0 PQ: 0 ANSI: 0 CCS [85940.270292] sd 0:0:0:0: [sda] 68 512-byte logical blocks: (34.8 kB/34.0 KiB) [85940.282430] sd 0:0:0:0: [sda] Write Protect is off [85940.292253] sd 0:0:0:0: [sda] No Caching mode page found [85940.297488] sd 0:0:0:0: [sda] Assuming drive cache: write through [85940.338703] sda: [85940.383276] sd 0:0:0:0: [sda] Attached SCSI removable disk Bad USB [24699.423422] usb 1-1: USB disconnect, device number 6 [24699.770179] usb 1-1: new full-speed USB device number 7 using ci_hdrc [24704.940177] usb 1-1: device descriptor read/64, error -110 [24720.300173] usb 1-1: device descriptor read/64, error -110 [24720.560175] usb 1-1: new full-speed USB device number 8 using ci_hdrc [24725.740172] usb 1-1: device descriptor read/64, error -110 [24741.100176] usb 1-1: device descriptor read/64, error -110 [24741.360174] usb 1-1: new full-speed USB device number 9 using ci_hdrc [24751.900172] usb 1-1: device not accepting address 9, error -110