Hi all,
Actually, I'm trying to write/read my flash device using the HAL
functions.
After opening the device, I write data into the EPCS64 using
alt_write_flash_block, then i read it back using alt_read_flash.
The problem i have is that the data read/ written shown in the Nios II
console are not the same.
The code for writing and reading is below:
I want just to precise that in debug mode, I can see that the location
where I write changed but with wrong values.
For example, I'm writing 0x40228f5c to 04FC0000 address, but I can see
this :
04FC0000 2E479120 FFFFFFFF FFFFFFFF FFFFFFFF
I don't find an explication why.
Do you have any suggestion please?
Thanks
Best regards