Author Topic: LPc11u68 Recognized as an USB mass storage device even when programmed in HID c  (Read 2889 times)

0 Members and 1 Guest are viewing this topic.

Offline dizgahTopic starter

  • Regular Contributor
  • *
  • Posts: 61
  • Country: 00
When I connected a newbie LPC11u68 to USB port,it recognized in windows as an USB mass storage device.When I programmed LPCOPEN HID example by Flash magic to it,after resetting the board,my PC can't recognized it.Only when I pulled down PIO0_1(ISP selection pin)it still recognized as a Mass storage device.???
Happiness can be found, even in the darkest of times, if one only remembers to turn on the light.
Albus Dumbledore
 

Offline Jeroen3

  • Super Contributor
  • ***
  • Posts: 4381
  • Country: nl
  • Embedded Engineer
    • jeroen3.nl
Quote
A LOW level on this pin during reset
starts the ISP command handler or the
USB device enumeration
Try pulling it high (with a resistor of min 10k to max 47k).
Also read what PIO0_3 does.
 

Offline dizgahTopic starter

  • Regular Contributor
  • *
  • Posts: 61
  • Country: 00
Thanks for your guidance.
I'm using a simple header board with USB port(As i said PC successfully recognized 11u68 as mass storage devices ,then I think there are no hardware fault). Also I'm using LPCXPRESSO IDE v8.0.0,I tried all of the USBD examples in the LPCXPRESSO boards LPCOPEN examples, and they programmed successfully to the chip,also I config a LED to blink. In all of them LED blinked which means MCU is running , but when I connect board to the USB port of my PC,I cant see it in the USB or HID section of my PC's device manager. I don't checked SWD, is LPC11u68 support it? WBR.
EDIT:know when I compiled LPC11u68 lpcopen HID examples for the manley 11u68 board ,devices appear in the devices manager but after a second it disappear while I don't disconnect it
« Last Edit: April 19, 2016, 05:47:48 am by dizgah »
Happiness can be found, even in the darkest of times, if one only remembers to turn on the light.
Albus Dumbledore
 

Offline John_ITIC

  • Frequent Contributor
  • **
  • Posts: 522
  • Country: us
  • ITIC Protocol Analyzers
    • International Test Instruments Corporation
Try to get your hands on a USB protocol analyzer. It will tell you exactly what goes wrong in a few seconds. Without one you could blunder around for a long time. I'm not sure what the availability is in Iran. We are not allowed to ship there (I think) even with the latest sanctions lifted...
Pocket-Sized USB 2.0 LS/FS/HS Protocol Analyzer Model 1480A with OTG decoding.
Pocket-sized PCI Express 1.1 Protocol Analyzer Model 2500A. 2.5 Gbps with x1, x2 and x4 lane widths.
https://www.internationaltestinstruments.com
 

Offline dizgahTopic starter

  • Regular Contributor
  • *
  • Posts: 61
  • Country: 00
with adding a 10uf tantal cap to the power line it is working fine know.
thank you every one
Happiness can be found, even in the darkest of times, if one only remembers to turn on the light.
Albus Dumbledore
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf