- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi RReth,
May I know how do you perform the FLASH_RD_RDID operation? Is it via NIOS or sysctem Console?
My current practice, I use system console to interact with register.
This is my design csr address:
And below is my command to read FLASH_RD_RDID (I used Cyclone 10 LP with Serial Flash Controller II IP):
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Wolfgang,
I have attached the source code used for reading Device ID. I didn't used the NIOS or System console. I captured the signal in Signal Tap Analyzer and from there I got the value "10000000".
Also I couldn't find the exact data sheet for serial controller 2 . Can share me if you have?
Thank you,
Remya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Remya,
Please refer to below link for Serial Controller II IP core:
https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/ug_embedded_ip.pdf#page=227
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Wolfgang,
I can successfully read back FLASH_RD_RDID. I got value 20h.
But when I tried to read back DEVICE_ID_DATA_x value, all give me value 00h .
Thank you,
Remya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Remya,
The default value of DEVICE_ID_DATA_x is 0x00.
Thus, it is expected behavior.
Below is my Cyclone 10 LP DEVICE_ID_DATA_x:
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Wolfgang,
Now I am trying to write a sector of Flash. From my understanding, first step is unprotect desired flash sector, then erase the sector and finally write the data. Is that correct?
Is there any documentation for the steps involved in each process?
Thank you,
Remya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Remya,
You may refer to my step to write with Serial Controller II IP core:
I hope this will help.
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Wolfgang,
I tried the steps you given above. But when I read back, I got only 0xFFFFFFFF .
Please find the commands I passed to write 0x4 to Flash_MEM_OP_register.
mem_write <= 1'b1;
mem_wrdata <= 32'h00000004;
mem_addr <= 24'h80000C;
Could you please correct me?
Thank you,
Remya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Wolfgang,
I would like to test from NIOS approach. Could you please share the source code for the flash interface? (I have less experience in software coding)
Thank you,
Remya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Remya,
I'll email to you the code.(I have your email)
Thanks.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page