View previous topic :: View next topic |
Author |
Message |
Robert Kinchin Guest
|
PCD: Just need a sanity check! |
Posted: Wed Aug 19, 2009 5:46 am |
|
|
Hi, oh the problems of using a new processor lol,
Im using the PIC24FJ256GB110 in a USB enviroment and I think my problems my be hardware, but need a sanity check.
I have installed the usb_hid driver almost direct from the example just changed the pll to 3 for my 12Mhz example (using a development board while I wait for PCB's to be manufactured)
So far I have 2 problems
1. MPLAB complains that the configeration is illegal and the compiler does seem to not set the RESO bit (reserved = 1) and other reserved bits is this a problem i let MPLAB correct it.
2. I can't get the USB to enumerate, even though the code works fine when compiled for the 18F4550 so unless its the specific processor hid file i guess it hardware.
I have the USBGEN off and supply VUSB 3.3V myself and VBUS is supplied from the host usb, its only 4 wires lol
Any help please
Robert |
|
|
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
|
|
Posted: Wed Aug 19, 2009 6:01 am |
|
|
I can't be of much help because I don't have the PIC24 compiler, but in order for other people to be able to help you: post your compiler version number. |
|
|
Guest
|
|
Posted: Wed Aug 19, 2009 6:19 am |
|
|
CCS PCD C Compiler, Version 4.097 |
|
|
Robert Kinchin Guest
|
Solved |
Posted: Wed Aug 19, 2009 7:45 am |
|
|
It was hardware, development board problems, had to break out USB pins |
|
|
Robert Kinchin Guest
|
Still would like to know about configuration problem though |
Posted: Wed Aug 19, 2009 10:19 am |
|
|
Still would like to know about configuration problem though if any one knows of this |
|
|
FvM
Joined: 27 Aug 2008 Posts: 2337 Location: Germany
|
|
Posted: Wed Aug 19, 2009 1:05 pm |
|
|
Incorrect set reserved configuration bits can be found also with other PIC24F chips. It's generally O.K. to let MPLAB correct them. The more interesting question is, if they could cause problems with other programmers, that don't correct them. |
|
|
|