- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have implemented RSU over i2c based on this example:
It’s been working good with a MAX 10M8SAE. I now changed to a MAX 10M16SAE, and regenerated the IP cores for this model.
Configuration mode:
- configuration mode: Dual compressed Images
Flash memory:
- sector 1 - 0x00000 – 0x03fff - UFM
- sector 2 - 0x04000 – 0x07fff - UFM
- sector 3 - 0x08000 – 0x2dfff - CFM (Image 2)
- sector 4 - 0x2e000 – 0x49fff - CFM (Image 2)
- NA – NA – CFM (Image1)
I understand that when using Dual compressed Images, sector 2 and 3 are merged leading to a generated rpd image size of 270336 bytes (0x42000) and that the RSU flash offsets by multiple of 4 bytes. So for 0x08000 - 0x49fff range, RSU indexing goes from 0x2000 – 0x127ff.
Yet I get a “flash error” from bit 4 of PrimaryErrors (reg 0x81) when writing passed flash offset 0x0dfd4 (57300).
What am I missing?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for contacting Intel community.
Please provide the full error message/screenshot. Including the error code.
Regards,
Aiman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
How I can get error code from this example? Is there any others error registers?
Now I can read from register 0x81. This indicate FlashError (bit2 is 1).
`define ADDR_PrimaryErrSts 129 //8'h81
RegFile[`ADDR_PrimaryErrSts][ 2] <= FlashError;
Regards,
Tapani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tapani,
Apologize for the delay in response.
When you change from MAX 10M8SAE to MAX 10M8SAE, is there any other changes that were made for the setting or during configuration?
Regards,
Aiman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
No any other changes. Design works fine, but RSU doesn't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We do not receive any response from you to the previous answer that I have provided. This thread will be transitioned to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page