Hi!
I have a LPC2148 based board which has a USB port. When I connect it to my laptop following messages are displayed:
[32729.410099] usb 3-1: new full speed USB device using uhci_hcd and address 14 [32729.562243] usb 3-1: New USB device found, idVendor=ffff, idProduct=0007 [32729.562255] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [32729.562263] usb 3-1: Product: USBSerial [32729.562268] usb 3-1: Manufacturer: LPCUSB [32729.562273] usb 3-1: SerialNumber: DEADC0DE [32729.566355] cdc_acm 3-1:1.0: This device cannot do calls on its own. It is not a modem. [32729.566422] cdc_acm 3-1:1.0: ttyACM0: USB ACM device
while the device file is correctly configured as:
$ ls -l /dev/ttyA* crw-rw----. 1 root dialout 166, 0 Nov 1 18:48 /dev/ttyACM0
I am using Fedora 14 - 2.6.35.6-45.fc14.x86_64.
I tried to upload the code to this device using minicom ( as described in this page http://docwiki.gumstix.org/index.php/Connecting_via_Serial_-_Linux ) ( note that this device is not /dev/ttyS0, its /dev/ttyACM0 and i dont know if it really matters ) I switched to ISP mode and sent a .hex file, but it doesn't seem to be working.
I do know that we can program it using lpc21isp ( http://lpc21isp.sourceforge.net/ ) over serial port ( /dev/ttyS0 etc. ).
However I want to know if it can be done done via USB port. Any ideas about how I can upload the .hex files ( or maybe the .bin files for that matter ) using the USB port? ( excuse me for my ignorance on this )
Any pointers will be highly appreciated.
Best regards, /tuxdna
mån 2010-11-01 klockan 18:59 +0530 skrev tuxdna:
I have a LPC2148 based board which has a USB port.
That USB port does whatever the software running on the board implements.
A quick google found the following which may be relevant to what you are trying to do: http://www.keil.com/forum/12867/
Regards Henrik