- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
I am tryin to run the web server example, with UCOS II on a board without a flash chip (but with an EPCS). Can it be done ? When I try to configure the LWIP stack in the project library properties I get an error saying that there is no flash in the system. I would lke to know if there is a way around this. Thanks in advance NirLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your problem is that the web server example stores the MAC address (ethernet address) in flash, you will need to re-write the get_mac_addr function chapter 9 of the Nios II Sofwtare Developers Handbook shoudl help you out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi:
Yes, you could make your nios-2 boot-up from the EPCS and also have aplication data there, IF your code and data are small enough to feet in the EPCS space not used for FPGA configuration data. Using the flash drivers in the HAL your will be able of reading/writing from/to the EPCS. Determine a free location in EPCS, read the content of the entire block and reprogram with the content that must not be modified and the new data. There has been a lot of discussion on the booting from EPCS subject on the general discussions forum, take a look at there. Good luck!
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page