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 CCS Technical Support

Random behaviour PIC24FJ after sleep [solution]

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







Random behaviour PIC24FJ after sleep [solution]
PostPosted: Fri Mar 12, 2010 9:33 am     Reply with quote

If you're using the PIC24FJ256GB110 family of processors and using sleep(SLEEP_FULL); then you may experience odd behaviour after wakeup (a reset followed by a lockup shortly after) if you have the IESO bit set to 1.

The solution is to have the IESO bit set to 0 (NOIESO) - Errata number 29 on both silicon revisions. The description says "random behaviour" - in my case it manifested itself after sleep. Strangely this did not happen on all of the units that we tested the program on.

I've just spent a whole day looking for the cause of this!
bkamen



Joined: 07 Jan 2004
Posts: 1615
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Fri Mar 12, 2010 9:54 am     Reply with quote

Gotta love the errata.

I just finished up a PIC24 project where the datasheet listed the config words at the wrong address and I was having to manually set them because of the recent WPFP fuse issues with PCD...

Microchip has acknowledged and thanked me for my contribution to making their docs more accurate..

Yeesh. If the datasheet isn't right, the whole world comes to an end. ;)

-Ben
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
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