Monday, September 17, 2007

Olimex LPC-P2148 USB Under Linux/Windows

My LPC-P2148 was collecting dust after the first failure under Linux and change of job mid-2006. My NForce3 AMD64 motherboard is quite picky. The thread is here and I was not able to solve the problem.
http://www.spinics.net/lists/usb/msg05773.html

Later I found out lpcusb and jcwren's example which works fine for me. So I will start again with LPC-P2148 after some learning on the PIC USB side. Maybe I will start with modifying the lpcusb stack for bare-minimum device ( interrupt transfer, bulk transfer, generic HID like the example from LakeView Ressearch). I want to try out isochronous transfer as well as it is the base for USB audio device.

Some links:

Olimex LPC-P2148
http://www.olimex.com/dev/lpc-p2148.html

lpcusb
http://wiki.sikken.nl/index.php?title=LPCUSB

jcwren's good example
http://jcwren.com/arm/

gnuarm
http://www.gnuarm.com/

WinArm
http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/

H-Jtag
http://www.hjtag.com/

Startup Guide with Open Source Arm Development Tools
http://www.akamina.ca/Reports/GnuArm_Setup_Guide_1.11.pdf

AN10583: USB Audio with libmad port and EFSL
http://www.standardics.nxp.com/support/documents/microcontrollers/pdf/an10583.pdf

Tuesday, August 14, 2007

Bare Minimum Isochronous Transfer USB Example for PIC18F2550

USB is not easy and isochronous transfer is the most difficult transfer type. I've done a bare minimim example with PICkit 2 (18F2550). However, it still needs quite some improvement both on the firmware side and the host side. Unfortunately I am quite weak especially on the host side.
http://forum.microchip.com/tm.aspx?m=270049

Wednesday, July 11, 2007

PICkit 2 as a USB Learning Tool

1. Brad Minch's Lab 2 HID example using gputils
http://www.curdes.com/gnupic/GnuPic.html

2. PICKit 2 CDC emulation ported from Microchip's PICDEM FS USB
http://forum.microchip.com/tm.aspx?m=267849

3. Mark Rages' PICKit 2 as a SPI Protocol Analyser Hack
http://vivara.net/blog/?p=55
The code is written in SDCC.
http://vivara.net/software/pickit_spi/pickit-spi.tar.gz

Sunday, July 8, 2007

PIC MCU USB Links

I have started a thread in Microchip Forum to collect the links
related to PIC MCU and USB. Many others have also contributed
to the link collections. It is here:

http://forum.microchip.com/tm.aspx?m=123533