Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 6 months ago.
USB Bootloader LPC11U24
Hi all,
I have just made a custom PCB for the 48 pin LPC11U24. I built it up today and it all worked too easily (always skeptical). The target enumerated as a mass storage device with a firmware file in. I deleted the firmware file and placed a test program (blinky) into the target. This is running with no problems. My issue is that now my program is running I cannot get my PC to detect the target again to reprogram. Does anybody know if there is a reason for this? There's a possibility it's a hardware fault but I'm surprised that the board worked with no problems originally.
Thanks in advance for any help received.
Kyle.
2 Answers
9 years, 6 months ago.
Hi Kyle.
You have to choose ISP mode, by grounding P0.1 (pin 4 on LPC11U24FBD48), and then reset.
Also, you can choose between serial or USB bootloader using P0.3 (pin 14). By pulling up this pin, you should
get access to the USB bootloader.
Hopes this helps you.
Lerche
Hello again Lerche,
I thought I had this covered in my circuitry, however I went through it and measured the ISP pin and for some reason this is not being pulled low. I shorted the pin to ground and this did work! I will have to look through my schematic tonight and work out why my switch isn't working. I used your footprint (for the 48 pin LPC11) and it's absolutely spot on, I will post pictures of my board once I sort my circuitry and order an issue 2 :-). Thanks a lot for quick reply and footprint, it is very much appreciated.
Kyle.
posted by 30 Nov 20139 years, 6 months ago.
Hello Lerche,
I had a placed a diode in the wrong orientation meaning the ISP would not pull to ground.
How did you find the translation from 64 pin package to 48? Can you use pretty much any program you have written for the 64 pin in the compiler or are there any configurations that need amending, e.g. pin names etc...
I have uploaded a picture of the current board, mainly because I've never updated a photo!
cheers,