- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So as a debugging method, I writing eeprom data to function in infinite while loop.
I can't show you the code, but here is some example:
while(1)
{
function1();
funciton2();
}
//////////
void function1();
{
Em_EEPROM_Write(0,0x00,1);
Em_EEPROM_Read(0,eepromRead[0],1);
}
void function2();
{
Em_EEPROM_Write(1,0x01,1);
Em_EEPROM_Read(1,eepromRead[1],1);
}
like this.
But I can't read EEPROM data.
Is it possible read data from infinite loop?
Best regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @bugkiller
Can you please tell us whether you are getting any console messages while trying to read the EEPROM data in the while loop?
Thanks and Regards,
Leo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @bugkiller ,
Thread was locked due to inactivity for long time, you can continue the discussion on the topic by opening a new thread with reference to the locked one. The continuous discussion in an inactive thread may mostly be unattended by community users.
Best Regards,
Rakesh