Page 1 of 1

Read/Write Multiple internal EEprom Address

Posted: Tue Oct 17, 2017 4:36 pm
by cubetronix
Hi,
I am Using PIC16F877a Dev Kit with Flowcode7 to read/write a value for four different addresses but its not working fine, but i tested it for single address it works fine, kindly help with this issue.

Re: Read/Write Multiple internal EEprom Address

Posted: Tue Oct 17, 2017 5:02 pm
by QMESAR
Hi

It is hard to help you with out seeing your Flowchart .
Please upload your flowchart and people will give you some advise or help

Re: Read/Write Multiple internal EEprom Address

Posted: Tue Oct 17, 2017 5:46 pm
by cubetronix
QMESAR wrote:Hi

It is hard to help you with out seeing your Flowchart .
Please upload your flowchart and people will give you some advise or help

Re: Read/Write Multiple internal EEprom Address

Posted: Tue Oct 17, 2017 5:49 pm
by cubetronix
cubetronix wrote:Hi,
I am Using PIC16F877a Dev Kit with Flowcode7 to read/write a value for four different addresses but its not working fine, but i tested it for single address it works fine, kindly help with this issue.
UART-1.fcfx
(40.56 KiB) Downloaded 250 times

Re: Read/Write Multiple internal EEprom Address

Posted: Tue Oct 17, 2017 10:06 pm
by medelec35
Hi cubetronix,
The issue is you ave not assigned any of the values for addresses.
like for LED2 off for example.
As BTN2_EE as not been assigned, within hardware it will contain a random number.
Therefore a random EEPROM address will be written to.
You need to state an address and value to write to the specified address.
EG for address 2 with value of 6.
just use Address:2
Value:6

Or just use a variable (e.g called EEAddress) assigned with 2.
Then use
Address: EEAddress
Value:6

Re: Read/Write Multiple internal EEprom Address

Posted: Thu Oct 19, 2017 3:54 am
by cubetronix
Hi Medelec35,
thanks for your reply, i found the issue and reprogrammed it, it works fine kindly check whether my flow is correct.
UART-1.fcfx
(44.09 KiB) Downloaded 272 times