Page 1 of 1

RESET(); - C Code Compile Error

Posted: Thu Aug 26, 2021 9:07 am
by seokgi
RESET(); - C Code

There is no error on PIC18F47Q10, but compile error on PIC24FJ256GA406.
Is there any way to reset the program?

Re: RESET(); - C Code Compile Error

Posted: Thu Aug 26, 2021 10:20 am
by BenR
Hello,

Try this instead and hopefully it will do the job for you.

Code: Select all

asm("RESET");

Re: RESET(); - C Code Compile Error

Posted: Fri Aug 27, 2021 12:53 am
by seokgi
Thank you.

That is OK.