Jump to content

Recommended Posts

Hi again.

Second issue migrating to boostc. I have interrupt service in the program. The code generated calls the interrupt as I would expect

however on retfi it simply loops to location 0x0004 and starts the interrupt again instead of returning to PC + 1

 

To rule out issue with mplab I loaded the code written in BloC to test. This simulated the interrupt correctly.

 

I am assuming at the moment that the issue is with a software stack. Has anybody come across this ?

 

Regards

Minitech

Share this post


Link to post
Share on other sites

minitech,

Replying to my own post. Digging deeper the code when translated from BloC didn't test correctly for flags so problem was flag not reset and loop in interrupt

Good. We haven't had any such issues reported for many years now, so didn't expect the problem to be a compiler problem.

 

Regards

Dave

Share this post


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...
Sign in to follow this  

×
×
  • Create New...