Jump to content

Recommended Posts

I need to write some variables into the flash memory.

I´m using two funtions for writing and reading memory positions in flash.

The problem is that i can´t write & read the long varible (2 bytes).

I don´t know how to write the eedath  and the eedata, becuase when i send a varible (ie a=1500) to the "write funtion" i don´t know if it write eedath  and the eedata automaticaly (i think that NO).

May be that i don´t read OK the eedata.

For saving the writed value into a variable how have to do for join the eedata and the eedath in an unique varible??



Can you give any solution??


I´m using the 16f870

Thanks a lot!!!!!


Share this post

Link to post
Share on other sites

Check out the BootLoader section on the C2C website.  There are a couple of routines that read from and write to the flash on-the-fly, even using a 16F870, I think.

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.

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.

Sign in to follow this  

  • Create New...