LPC5536 EVK: How to enter USB ISP?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Shorting pins 3 and 4 of J43 and connecting to the target USB0, J3, is not enough.
What else should be done?
Thank you
Alberto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Rong.
My board still fails to enumerate. USB seems OK, I tested the VCOM example.
J43 3&4 shorted -> no USB activity
J43 1&2, 3&4 shorted -> VCOM example.
I understand that the CMPA register controls ISP behaviour but I never messed with it.
Regards
Alberto


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
This is my Device Manager screenshot after I connect to J3 usb port on LPC5536-EVK board with J43 configuration in the last Email.
Obviously, the PC can enumerate the USB.
BR
XiangJun Rong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are showing the behaviour I would expect.
On my board I have the virtual comm demo loaded, only USB connected is to J3.
-No jumpers in J43: USB enumerates as USB ACM
- J43 with jumper 3&4: USB dead
-J43 with jumper 1&2: USB dead
-J43 with both jumpers: USB enumerates as USB ACM
CMPA register, read by the Secure Provisioning Tool, shows all bits set to 0.
[LPC55] Don’t Use ISP USB0 for firmware update
But I guess it doesn't apply to the newer LPC5536.
Regards


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
For LPC5536-EVK board, close pin3&4, open pin1&2 for J43, connect J3 connector to USB of PC, run on PC:
blhost -u 0x1fc9,0x0025 get-property 1
is it okay or not?
BR
XiangJun Rong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
blhost -u 0x1fc9,0x0025 get-property 1 doesn't work for me. When J43 3&4 are shorted the USB doesn't enumerate. Tested on W10 and Linux. I attach a photo of my board, maybe some other jumper is out of place.
Regards


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
If you close pin1&2 and pin3&4 of J43, then download LED toggling example in SDK package, can the LED toggles or not?
BR
XiangJun Rong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I already tested the VComm example and it works OK with pin1&2 and pin3&4 of J43 shorted.
I report againt the results of these tests:
On my board I have the virtual comm demo loaded, only USB connected is to J3.
-No jumpers in J43: USB enumerates as USB ACM
- J43 with jumper 3&4: USB dead
-J43 with jumper 1&2: USB dead
-J43 with both jumpers: USB enumerates as USB ACM
Should I check the blinking example?


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
with only pin3&4 closed for J43, connect the J1(Link 2) USB port to PC, the LPC5536 will be in ISP mode, you can try the uart to down load application code:
Pls have a try.
BR
XiangJun Rong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found that on my board, for USB ISP, JP46's jumper should be put between 1&2. Default is 2&3.
Then USB enumerates as HID.
Does this mean that one more of the few pins of this MCU should be reserved for a voltage divider?
Why does USB performs normally with the standard jumper settings but requires USB0_VBUS for ISP?
Regards


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Okay, I see that the P1_31 pin functions as USB0_VBUS if you close pin1&2 of JP46.
BR
XiangJun Rong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes it works,
Response word 1 = 1258488065 (0x4b030101)
Current Version = K3.1.1
Regards


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
If you want to configure the LPC5536-EVK board in ISP mode, it is okay that pin3&4 of J43 is closed and pin1&2 is open, then press reset button.You have to connect the J3 FS USB connector on LPC553 6-EVKto PC, it is okay.
I just have a try, it is okay.
Hope it can help you
BR
XiangJun Rong


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Of course, if you want the board runs standalone, close pin1&2 and pin3&4 of J43.
BR
XiangJun Rong
