Jump to content

18f4550 Reset/reboot


Recommended Posts

I would like to software reset/reboot the 18F4550. Can someone point me in the right direction?

 

For the 16F chips I used the following code:

 

asm

{

clrwdt

clrf _intcon

clrf _status

clrf _pclath

clrf _pcl

}

 

 

Pic18s have a reset instruction

Link to post
Share on other sites

BoostC system headers include the inline function reset. We recommend to use it to reset the device. For PIC18 this function is mapped to the reset instrustion that PIC18 supports (as Picxie mentioned earlier already).

 

Regards,

Pavel

Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...