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
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
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
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
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
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
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
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?
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
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
Hi,
Okay, I see that the P1_31 pin functions as USB0_VBUS if you close pin1&2 of JP46.
BR
XiangJun Rong
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
Hi,
Of course, if you want the board runs standalone, close pin1&2 and pin3&4 of J43.
BR
XiangJun Rong