CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

PCD: Just need a sanity check!

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Robert Kinchin
Guest







PCD: Just need a sanity check!
PostPosted: Wed Aug 19, 2009 5:46 am     Reply with quote

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

View user's profile Send private message

PostPosted: Wed Aug 19, 2009 6:01 am     Reply with quote

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








PostPosted: Wed Aug 19, 2009 6:19 am     Reply with quote

CCS PCD C Compiler, Version 4.097
Robert Kinchin
Guest







Solved
PostPosted: Wed Aug 19, 2009 7:45 am     Reply with quote

It was hardware, development board problems, had to break out USB pins
Robert Kinchin
Guest







Still would like to know about configuration problem though
PostPosted: Wed Aug 19, 2009 10:19 am     Reply with quote

Still would like to know about configuration problem though if any one knows of this
FvM



Joined: 27 Aug 2008
Posts: 2337
Location: Germany

View user's profile Send private message

PostPosted: Wed Aug 19, 2009 1:05 pm     Reply with quote

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.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group