- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi I am new to NiosII IDE.
Currently I'm using eCos for the RTOS of my application. And using NiosII/f. My application was written in C. And once it start run, it runs threads. I'm using NiosII IDE to debug the application. When I run the debugger, it seems run okay. Then I suspend the thread to set up break points. After that I trying to go through my program by using Step Into/ Step over/Step return. But it doesn't run line-by-line or step-by-step debugging mode. It complains that // C/C++ File Editor Source not found Can not find the file 'd:\altera\kits\nios2_60\components\ecos\ecos-current\packages\hal\nios2\src\hal_misc.c' in the specified source locations. You can attach a new source location by pressing the button below // And ask me to attach source. But the file is something relate to eCos file which I don't intend to examine. I only want to examine the application programe not the RTOS. And 'Step Into/ Step over/Step return' is not available to push. when I set up the break points, it never stop at any of those break points. What have I've done wrong? Could you give me some advice for this? or any application/tutorial note for NiosII IDE debugging? ( I've got NiosII IDE help system note but it wasn't very helpful to solve this particular issue.) By the way, I've set up -O0 for non-opimazation of ecos library from ecose configure tool already. Thanks in advance. Yong.Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have the same error!!!
Does nobody knows where I can find the source files? I compiled eCos with the -g Compiler Option to add debug informations! But if I debug my application I can´t find eCos packages sources.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- I also had this issue. One thing we can do is add the source locations using the following process. 1. Click on Windows -> Preferences -> C/C++ -> Debug -> Source Code Locations 2. Then add the eCos source files there. For Eg:- C:\Altera\kits\nios2_60\bin\nios2-gnutools\src or When its asking for the source Not found, directly give the path by selecting File System Directory and click search recursive paths option. Hope, this will solve the problem...Mine got solved..

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