- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to use the alt_write_flash function to program data to the UFM on a MAX 10 device. The program code for the Nios II is executing in place from the UFM space (boot option 1b) but i would like to write to unused UFM from the program code. Is this allowed by the onchip flash controller? When i use the alt_write_flash function in the Nios II code it just hangs indefinitely.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Now I am getting a timeout during the UFM write. I am also experiencing pretty flaky behavior when writing to UFM. When I compile the design I get the following timing warning in the quartus messages.
Warning (332056): PLL cross checking found inconsistent PLL clock settings:
Warning (332056): Node: u0|onchip_flash_0|altera_onchip_flash_block|ufm_block|osc was found missing 1 generated clock that corresponds to a base clock with a period of: 181.818
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Alan,
It seems that the PLL setting is not correct. Can you please check the PLL?
This maybe the main reason why the flash isn't responding.
Regards,

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page