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

PIC24FJ1024GB610 error restart cause 16

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



Joined: 07 Sep 2021
Posts: 7

View user's profile Send private message

PIC24FJ1024GB610 error restart cause 16
PostPosted: Tue Sep 07, 2021 8:27 am     Reply with quote

I am programming the PIC24FJ1024GB610 from Microchip using the CCS compiler version 5.103.

I have a problem with the microchip. During I2C communication between two PIC24FJ1024GB610 MCU’s I get an error restart cause 16 on the slave.

Looking at the device.h file, I cannot find this error restart cause. The function ‘restart_cause() ‘ is only called once in the start-up of the code.

Does anyone know the meaning of this error, or where I can search for a solution. Adding the code is not useful cause it is one source file from a 1000 lines with more than 20 header files.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Sep 07, 2021 8:41 am     Reply with quote

Here is a recent thread on this topic:

restart_cause() returning 16 (not defined in 24FJ256GA106.h)
http://www.ccsinfo.com/forum/viewtopic.php?t=59447
Jesse



Joined: 07 Sep 2021
Posts: 7

View user's profile Send private message

PostPosted: Tue Sep 07, 2021 8:43 am     Reply with quote

PCM programmer wrote:
Here is a recent thread on this topic:

restart_cause() returning 16 (not defined in 24FJ256GA106.h)
http://www.ccsinfo.com/forum/viewtopic.php?t=59447


Ah, my bad. Thank you very much!
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Sep 07, 2021 8:48 am     Reply with quote

This post contains a reply from CCS about restart cause =16
http://www.ccsinfo.com/forum/viewtopic.php?t=56859&start=12
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