Jump to content
Sign in to follow this  
John P

Pic16F1828 Support?

Recommended Posts

I haven't tried this, but maybe someone here knows.

 

The PIC16F1824/1828 has some added features compared to most other 16F parts. It has 2 File Select Registers (FSR, location 0x4) and it can do indexed jumps, not just skip a single line, and various other new things. There are added instructions (49 available, versus 35) to control the new features. Does BoostC produce code for optimum use of the new hardware and software possibilities, or will it just treat the 16f1824/16F1228 like an older equivalent?

Edited by John P

Share this post


Link to post
Share on other sites

Hi

 

AFAIK it will use those enhancements if the compiler switch "-16x" (page 23 of the Boost C manual) is used.

I'm not sure if it is automatic when choosing a PIC16F1xxx target or if it must be explicitly added with the options dialog.

 

Best regards

Jorge

Share this post


Link to post
Share on other sites

Thanks for the reply, Jorge--I don't think I'd ever have noticed that little switch. I could try writing some experimental code and see if it handles it differently. Then I'd have to see if my Pickit2 programmer will work with the processor; it's not on the list of supported parts.

 

Edited to say that yes, the PicKit2 will do this if you have the right file of parts for it.

Edited by John P

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...