Dear mikroElektronika team,
I am facing the problem to write data into serial EEPROM 24LC512 with using PIC32MZ2048ECH144 PIM
https://www.mikroe.com/easypic-fusion-v ... 2048efh144
It reads existing data which is already stored in EEPROM.
That means it has not write new data.
I have attached the Project Zip file.
Please support me to solve the problem. it is most urgent.
Thanks
Sharfudeen
Serial EEPROM data not write in PIC32MZ2048ECH144
-
- Posts: 12
- Joined: 03 May 2018 15:24
Serial EEPROM data not write in PIC32MZ2048ECH144
- Attachments
-
- EEPROM I2C.rar
- (323.15 KiB) Downloaded 84 times
-
- Posts: 12
- Joined: 03 May 2018 15:24
Re: Serial EEPROM data not write in PIC32MZ2048ECH144
Dear Petar,
I have tried with different code to write. Please find attached the Project code.
In this code, write the data 0x00 to 0x79 increment 1
writing address, high - 0x00 and low - 0x00 to 0x79.
After writing, read the data from the above address.
I have read different data.
00 85 8C 13 50 FC 00 .... 00
Why did not read the written data?
Thanks
Sharfudeen
I have tried with different code to write. Please find attached the Project code.
In this code, write the data 0x00 to 0x79 increment 1
writing address, high - 0x00 and low - 0x00 to 0x79.
After writing, read the data from the above address.
I have read different data.
00 85 8C 13 50 FC 00 .... 00
Why did not read the written data?
Thanks
Sharfudeen
- Attachments
-
- EEPROM I2C.rar
- (323.15 KiB) Downloaded 78 times
- petar.suknjaja
- mikroElektronika team
- Posts: 683
- Joined: 05 Mar 2018 09:44
- Location: Belgrade
Re: Serial EEPROM data not write in PIC32MZ2048ECH144
Hi,
I've tested also and have found that it really doesn't write the code.
Let me investigate this further and I'll let you know what I've found out.
Kind regards,
Petar
I've tested also and have found that it really doesn't write the code.
Let me investigate this further and I'll let you know what I've found out.
Kind regards,
Petar
-
- Posts: 12
- Joined: 03 May 2018 15:24
Re: Serial EEPROM data not write in PIC32MZ2048ECH144
Dear Petar,
Thanks, I will wait for your reply after investigation
Thanks
Sharfudeen
Thanks, I will wait for your reply after investigation
Thanks
Sharfudeen
-
- Posts: 12
- Joined: 03 May 2018 15:24
Re: Serial EEPROM data not write in PIC32MZ2048ECH144
Dear Petar,
Any update for the above?
Thanks
Sharfudeen
Any update for the above?
Thanks
Sharfudeen
- petar.suknjaja
- mikroElektronika team
- Posts: 683
- Joined: 05 Mar 2018 09:44
- Location: Belgrade
Re: Serial EEPROM data not write in PIC32MZ2048ECH144
Hi,
Yes I am, sorry for delayed response,
I've managed to run the code to read what's been written to EEPROM by changing the place of the input parameters on the line
EEPROM_24C02_RdSingle(hi,lo ); to
EEPROM_24C02_RdSingle(lo,hi);
Added the UART debug and soon I've read all the characters I wrote to the EEPROM.
Kind regards,
Petar
Yes I am, sorry for delayed response,
I've managed to run the code to read what's been written to EEPROM by changing the place of the input parameters on the line
EEPROM_24C02_RdSingle(hi,lo ); to
EEPROM_24C02_RdSingle(lo,hi);
Added the UART debug and soon I've read all the characters I wrote to the EEPROM.
Kind regards,
Petar
-
- Posts: 12
- Joined: 03 May 2018 15:24
Re: Serial EEPROM data not write in PIC32MZ2048ECH144
Dear Petar,
Thanks for your reply
Still same even changed the parameter as you said above
Thanks
Sharfudeen
Thanks for your reply
Still same even changed the parameter as you said above
Thanks
Sharfudeen
-
- Posts: 12
- Joined: 03 May 2018 15:24
Re: Serial EEPROM data not write in PIC32MZ2048ECH144
Dear Petar,
Please send zip file which is working fine
Thanks
Sharfudeen
Please send zip file which is working fine
Thanks
Sharfudeen