Forum Discussion
Altera_Forum
Honored Contributor
20 years agoI have a similar experience with eCos not booting. I have two nios development boards, one slightly older than the other. I have a hardware and software design running eCos that rus fine on one board but not at all on the other. I also have two computers running the Altera tools and on the "good" board with the "good" computer, the eCos system allways runs fine. On the "good" board with the "bad" computer sometimes it works, sometimes it does not. The "bad" board and "bad" computer are fine for all my other projects that don't use eCos.
What I have noticed is that sometimes it seems to run an old image that was loaded into flash some time back, when I am running from SDram. I have tried running the eCos app from flash as ROM, ROMRAM and tried running from sRam (RAM) and SDram (RAM) but nothing works. I try using the debugger, but it gets jamed getting all mixed up with the image and source code etc. It appears that it never reaches the code start spot. I have searched the Altera site looking for clues and this forum, but have found nothing much to help. My best geuss is there may be a problem in loading the image in the right spot and sorting out the reset and vetor addresses etc. While this little text does not help you to solve your problem, let it be known that you are not alone! Peter Mumford UNSW