- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to read an array in flash that I previously written array.
The steps done are:
1. Write the array in emulated eprom with "Em_EEPROM_Write"
2.Turn off the power of the psoc
3. Turn on the power and read the array
In mode debugging this array is '0'.
It is because when you reprograming the psoc creator put all '0' in flash??
Regards
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, while programming PSoC Programmer does erase of flash,You can try this option for debugging which is "Debug without programming"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
/code
case WRITE_SWITCHING: //Escribir en flash el valor del switching
for (i=0 ; i < 8 ; i++)
{
status = Em_EEPROM_Write(&RAMarray[0] , &eepromArray[0] ,1u);
status = Em_EEPROM_Write(&RAMarray[1] , &eepromArray[1] ,1u);
status = Em_EEPROM_Write(&RAMarray[2] , &eepromArray[2] ,1u);
}
my Array is eepromArray[3][8]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, while programming PSoC Programmer does erase of flash,You can try this option for debugging which is "Debug without programming"