Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
21 years ago

read or write date through flash

hello

the below sentences is in flash_AM29LV065d.c .

volatile unsigned char *fb = (unsigned char *) flash_base;

fb[0x555] = 0xAA; // 1st cycle addr = XXX, data = AA

if the sentences run,the date of the address 0x555 in flash will be 0xAA ?

I don't use the date cache and instruction cache.

Thank you !

16 Replies