Jan 28, 2013
09:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 28, 2013
09:09 AM
Hi all,
here I would like to post a thread on GDB and Dave.
In fact Dave installer include the full Segger debugger support including GDB server.
Eclipse updatesite include GDB plugin that can works with GDB server.
This GDB plugin have some limitation compared to Tasking debugger plugin:
Below the step to install it
Step 0 Launch J-Link GDB Server via SWD
Connect j-link debugger to powered target and then execute
J-Link GDB Server via SWD
You can find it in your start menu in folder Segger.In folder Manuals you can find the manual of GDB server with description of all available commands.
Step 1 Uninstall Tasking debugger
Taskiing debugger interfere with GUI of GDB Hardware debugger. You shall uninstall it.
Help --> About Dave3 --> Installation Details.
Select Tasking Debugger for Dave3 and press Uninstall.
Step 2 Install gdb
Help--> install new software: Go to indigo update site and install GDB hardware plugin.
Step 3 Remove filter on GDB debugger..
By default the GDB debugger option is filter we shall enable it:
Window --> Preference --> Run/Debug --> Launching --> Launch Configuration.
Disable filtering of GDB Hardware Debugging
Step 4: Add GDB debugger configuration to the project.
Select Project context menu --> Debug as --> Debug Configuration --> GDB Hardware debugging --> Right click and select new.
Step 5: Configure launcher.
Select Standard GDB Hardware Debuggin Launcher by pressing "select other" see previous picture.
Step 6: Configure Debugger tab
Configure as shown in the below picture the debugger tab.
This forum allows me only to add 5 pictures.
Continue on next post in the same thread.
here I would like to post a thread on GDB and Dave.
In fact Dave installer include the full Segger debugger support including GDB server.
Eclipse updatesite include GDB plugin that can works with GDB server.
This GDB plugin have some limitation compared to Tasking debugger plugin:
- No reset button (it is possible to send a command in the console directly to segger gdb)
- Memory view have a issue. It is read a little more date before and after the shown range. If the range is near the border of memory, gdb plugin tries to fetch data from invalid address and nothing is shown.
- No CPU register view.
Below the step to install it
Step 0 Launch J-Link GDB Server via SWD
Connect j-link debugger to powered target and then execute
J-Link GDB Server via SWD
You can find it in your start menu in folder Segger.In folder Manuals you can find the manual of GDB server with description of all available commands.
Step 1 Uninstall Tasking debugger
Taskiing debugger interfere with GUI of GDB Hardware debugger. You shall uninstall it.
Help --> About Dave3 --> Installation Details.
Select Tasking Debugger for Dave3 and press Uninstall.
Step 2 Install gdb
Help--> install new software: Go to indigo update site and install GDB hardware plugin.
Step 3 Remove filter on GDB debugger..
By default the GDB debugger option is filter we shall enable it:
Window --> Preference --> Run/Debug --> Launching --> Launch Configuration.
Disable filtering of GDB Hardware Debugging
Step 4: Add GDB debugger configuration to the project.
Select Project context menu --> Debug as --> Debug Configuration --> GDB Hardware debugging --> Right click and select new.
Step 5: Configure launcher.
Select Standard GDB Hardware Debuggin Launcher by pressing "select other" see previous picture.
Step 6: Configure Debugger tab
Configure as shown in the below picture the debugger tab.
This forum allows me only to add 5 pictures.
Continue on next post in the same thread.
- Tags:
- gdb debugger
- IFX
5 Replies
Jan 28, 2013
10:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 28, 2013
10:11 AM
Continuing from the previous post.
Step 7: Configure the startup tab
Setting in text format for easy copy and paste:
Press debug and it enjoy.
CREDITS:
http://www.emb4fun.de/arm/eclipse/index.html
Best Regards
Oreste
Step 7: Configure the startup tab
Setting in text format for easy copy and paste:
monitor flash device = XMC4500
monitor flash download = 1
monitor flash breakpoints = 1
monitor speed auto
Press debug and it enjoy.
CREDITS:
http://www.emb4fun.de/arm/eclipse/index.html
Best Regards
Oreste
Feb 10, 2013
07:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 10, 2013
07:04 AM
Thank you!
Just trying it and it works great! Tasking was crashing a lot, specially when checking previous steps in the call stack, this goes faster and is more stable for now 🙂
Just trying it and it works great! Tasking was crashing a lot, specially when checking previous steps in the call stack, this goes faster and is more stable for now 🙂
Not applicable
Mar 06, 2013
08:10 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 06, 2013
08:10 PM
Hi Oreste,
I got problem when trying to follow the step,
I have no idea hoe to fix it.
Regards,
Ali
I got problem when trying to follow the step,
I have no idea hoe to fix it.
Regards,
Ali
Mar 07, 2013
04:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 07, 2013
04:23 AM
AliAkbar wrote:
Hi Oreste,
I got problem when trying to follow the step,
I have no idea hoe to fix it.
Regards,
Ali
Sorry too low resolution. Could you attach at full resolution ?
Regards
Oreste
Not applicable
Mar 07, 2013
05:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 07, 2013
05:57 AM
Hi,
The problem is already fixed,
Just need to restart it 😄
thanks
The problem is already fixed,
Just need to restart it 😄
thanks