Altera_Forum
Honored Contributor
20 years agokernel not booting
Hello eCos community,
I have been working with a design for some time that is hosted on a NiosII development board (Stratix edition). I have had problems with eCos booting and really need to get to the bottom of it. My setup is: Quartus 5.0, NiosII 5.0, eCos 5.0 Hardware design based around the standard design for the Stratix 1s40, (I needed the CF support) modified for use with the 1s10. Nios II/s core SRAM, SDRAM, FLASH, on-chip ram, CF interface, LCD (not sharing pins with CF) executing from SD Ram I built an eCos config based on the Nios template with the inclusion of support for CF. Eventually I got it to run on one dev board, but it never ran on another board that appears to be the same (both boards are NiosII dev (Statix edition) boards, one stamped NiosII 1.0, and the other NiosII 1.1. On the board that works, sometime I have to load the software several times from the NiosII IDE before it runs properly. Quite often after loading the software (for run from RAM) a previously loaded flash image will start to run before being interrupted by the software I have uploaded. Other times the image is uploaded properly but with the message "Leaving target processor puased" and there is no more communication to the console although the software runs. On the board that does not work, the thread of execution does not seem to get to any code start point. If the debugger is run, it is a mess and fails to suspend execution, producing an error. What might cause this behaviour? 1) configuration controller not functioning correctly: seems to work for all my other designs that run from Ram and are not eCos based. I uploaded an older and newer design into the configuration controller just to make sure - no difference. 2) something in the eCos config design: Have tried to run from ROMRAM and ROM, with appropriate changes to the Nios core design. 3) some problem in the operation of the linker or somewhere that causes the system to attempt to boot from the wrong place in memory. 4) some problem with the ROM monitor and eCos. There is a lot of text here, anyone getting to this line after reading it all is truely dedicated to Nios/eCos ! Any ideas much appreciated.....