xxtigerxx
Advanced Member level 1
![Advanced Member level 1](/styles/images/ranks/glevel1.gif)
renesas ew0
I am using IAR for M32/C for M32C85.
how can i write to data flash?
i wrote to xcl the code
//Data Flash
-Z(FAR)DATA_FLASH=F000-FFFF
And to
#define eeprom DATA_FLASH
#pragma dataseg=eeprom
__no_init UC eeprom_address ;
#pragma dataseg=default
but only i can read the data flash not read.
Can you help me?
![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
I am using IAR for M32/C for M32C85.
how can i write to data flash?
i wrote to xcl the code
//Data Flash
-Z(FAR)DATA_FLASH=F000-FFFF
And to
#define eeprom DATA_FLASH
#pragma dataseg=eeprom
__no_init UC eeprom_address ;
#pragma dataseg=default
but only i can read the data flash not read.
Can you help me?