Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

Nios-II 1.1 EPCS Bootloader

Altera_Forum
Honored Contributor II
957 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 II
258 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)
0 Kudos
Altera_Forum
Honored Contributor II
258 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
0 Kudos
Altera_Forum
Honored Contributor II
258 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
0 Kudos
Reply