- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
My Application is not able call alt_main() inside _start routine when using SSRAM as program memory. I read the PC register and found that it is stop at "call alt_main" in *.objdump file FYI, the application able to run successfully when im using on chip memory. I also tested my SSRAM and have no issue in reading/writing. Any suggestion or solution are appreciated. thanks.Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check if loader is correctly loading program code into ssram.
If not, your ssram is still uninitialized and program hangs when you try to execute from ssram.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your reply Cris72.
I load my application thru the "Run as --> Nios II Hardware". Program should have loaded into ssram as it state it is verified in the Console Tab.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i cant see the "Nios2 hardware" tab in "Run as" does anyone know what may b the problem? the only option is "local c/c++ application"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For shahzad
You must select the project you want to run in the projects list before selecting "Run as". Moreover, the first time you run a project you shouldn't select "Run as" but "Run..." instead; select appropriate settings and then Run. Next times you can use "Run as"- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanx cris,
i have searched for this problem and found that this is problem with windows 7... i came to know this through following posts http://www.alteraforum.com/forum/showthread.php?t=19765 i am now installing windows vista back and will tell you if the problem still exists
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page