Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
743 Views

Nios-II 1.1 EPCS Bootloader

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
44 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
44 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
44 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