This code returns an all-zero block:
Code: Select all
Flash_Read_Compact(0xFFFF80, Data_, 192)
Already found it! Seems an error in the datasheet.
That says that the device ID and revision are located at the last 2 implemented config memory words.
(since the memory runs upto 0xFFFFFF, that would be 0xFFFFFC and 0xFFFFFE)
In some other code I found they used address 0xFF0000 and 0xFF0002, and that works...