Jump to content
Stephen Tarr

Flash_Loadbuffer And Flash_Write For Pic16F1Xxx

Recommended Posts

The documentation for flash_loadbuffer and flash_write states that the write buffer is 4 words long. That's correct for the older PIC16 devices, but not for some of the newer parts (in particular the PIC16LF193x) that have an 8-word flash row. Does the version of these routines in the pic16x.lib library work with these newer parts, or will I have to write my own access routines?


Share this post

Link to post
Share on other sites

Hi Steve,


You will have to write your own. It's only a dozen line or so of code.

If you have the source code you can copy and change it.


The library has not been updated for these newer devices.





Share this post

Link to post
Share on other sites

Your content will need to be approved by a moderator

You are commenting as a guest. If you have an account, please sign in.
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.