Hi albert and thanks for answer, Yes my board is the Pinguino board with a 4550, it seems to be the same than your board. I tried with and without bootloader but the result is the same.
i use the svn version of jallib. To make JAL work with Pinguino bootloader, i made an hex converter and a special version of pinguino bootloader. My goal is to integrate JAL to Pinguino IDE. The working pinguino bootloader for JAL is version 2.2 Hex file must be translated with jal2pinguino.py then vascobooy1.1.py can be used For the compiler, this is the command line: -no-variable-reuse -no-fuse -loader18 8224 -s /home/mandon/sources/ mouse4550/;/home/mandon/jal/jallib-read-only/lib/ 18f4550_usb_hid_mouse.jal i added in the beginning of your program 2 instructions: UCON=0 UCFG=0 this instructions stop the USB module. If not, the chip keep the last usb descriptors ( pinguino bootloader ). all the sources and the bootloader version 2.2 is here: www.pictec.org/jal/ README file explain how to use jal2pinguino. if it is necessary, i can send you the bootloader sources. Hope you can help me to solve the problem, i have a lot of ideas to extend pinguino to JAL. The first project is this zigbee module: http://www.hackinglab.org/zigbee/index.html Thanks for help Jean-Pierre On 1 nov, 22:13, "a.faber" <[email protected]> wrote: > Hi Jean-Pierre > Need a bit more info in order to diagnose the problem: > > First, what kind of board are you using? (your Pinguino board?) > Are you using a bootloader? > Which compiler settings are you using? > Which version of the archive are you using, just checked the most up to date > version of Jallib, and seems to work fine > > Albert > > ----- Original Message ----- > From: "jean-pierre mandon" <[email protected]> > To: "jallib" <[email protected]> > Sent: Sunday, November 01, 2009 1:04 PM > Subject: [jallib] USB don't work for me !! > > > Hi guys, > > > I try to use 18f4550_usb_hid_mouse.jal and it don't work. It's > > probably a problem on my side but i don't find where is my error. > > > System: linux > > compiler: JALV2 2.4l > > sample file: 18f4550_usb_hid_mouse.jal > > processor: 18F4550 > > ( a blink test on the card works ) > > > result: > > lsusb output > > Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > > Bus 004 Device 034: ID 04d8:0000 Microchip Technology, Inc. > > Bus 004 Device 005: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port > > HUB > > Bus 004 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port > > HUB > > Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > > Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > > Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > > Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > > Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > > Bus 002 Device 003: ID 045e:0083 Microsoft Corp. Basic Optical Mouse > > Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > > Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > > > USB microchip device is recognized > > > dmesg output: > > [11023.050587] usb 4-3.1: new full speed USB device using ehci_hcd and > > address 34 > > [11028.144860] usb 4-3.1: unable to read config index 0 descriptor/ > > start: -32 > > [11028.144870] usb 4-3.1: chopping to 0 config(s) > > [11028.147733] usb 4-3.1: string descriptor 0 read error: -32 > > [11028.149232] usb 4-3.1: string descriptor 0 read error: -32 > > [11028.151964] usb 4-3.1: no configuration chosen from 0 choices > > > i don't see where is the problem. > > If somebody can help me........... > > > Jean-Pierre --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jallib?hl=en -~----------~----~----~----~------~----~------~--~---
