COP reset

General problems? Ask here!

Moderator: cbarnes

COP reset

Postby randywoods » Wed May 30, 2007 12:15 pm

I have what I though would be a simple problem. I am interfacing a HCS32 processor with a computer through the SCI port. I wanted to implement the watchdog timer so that if communications are lost with the host computer the microcontroller will go back to the start of the code. I have used the COP to implement this and I am getting a COP reset but I sit there. I think my problem is that I am not sure the difference between a reset and an interrupt. I have written many interrupts but I am not sure how to tell code warrior to jump to a specific address when the COP occurs. If somebody could please provide a sample I would be very appreciative.
randywoods
Newbie
Newbie
 
Posts: 1
Joined: Wed May 30, 2007 11:58 am

Return to General Problems

Who is online

Users browsing this forum: No registered users and 1 guest

cron