Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12366 Discussions

Nios-II 1.1 EPCS Bootloader

Altera_Forum
Honored Contributor I
749 Views

Hi All, 

 

After I boot from an epcs device the chip select remains asserted 

(control register = 0x0000_0400). 

 

Has anyone else observed this? 

 

--Scott 

 

BTW: This causes the u-boot epcs command to fail the first time 

it is invoked.
0 Kudos
3 Replies
Altera_Forum
Honored Contributor I
50 Views

Yes, see this topic - look for the post from Kero Kero for a workaround: 

http://www.niosforum.com/forum/index.php?a...ct=st&f=2&t=850 (http://www.niosforum.com/forum/index.php?act=st&f=2&t=850)
Altera_Forum
Honored Contributor I
50 Views

Thanks Jesse ...  

 

... in general, it's probably good practice from a software point-of-view to 

assume that the chip select was left in an inappropriate initial state ...  

 

... so it's time for me to use good practice ;-) 

 

Thanks again, 

--Scott
Altera_Forum
Honored Contributor I
50 Views

Just an FYI for anyone following this thread: 

 

A jump to the reset address (soft reset) when booting from 

the epcs_controller will cause the epcs boot loader to hang. 

Prior to doing something like this, you must make sure the 

epcs chip select is negated

 

 

Regards, 

--Scott
Reply