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
Posted: Fri Mar 12, 2010 9:54 am
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
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