2011-02-21 06:40:22     Sofware Development Kit for Uclinux on Blackfin

Document created by Aaronwu Employee on Oct 16, 2013
Version 1Show Document
  • View in full screen mode

2011-02-21 06:40:22     Sofware Development Kit for Uclinux on Blackfin

Yuval Yosef (ISRAEL)

Message: 98290   

 

Hi,

 

Is anyone fimiliar with a decent SDK environment for uclinux blackfin ?

 

I need to find a way to easily debug my code, place breakpoints,....

 

Thanks,

 

 

 

Yuval

QuoteReplyEditDelete

 

 

2011-02-21 07:23:12     Re: Sofware Development Kit for Uclinux on Blackfin

Stuart Henderson (UNITED KINGDOM)

Message: 98291   

 

Hi Yuval,

 

Do you mean an IDE?  If so, have you tried using Eclipse?

 

http://www.eclipse.org/

 

 

 

There's a page on the wiki explaining how to use Eclipse with the Blackfin toolchain:

 

http://docs.blackfin.uclinux.org/doku.php?id=toolchain:eclipse

 

...however, the docs server is currently down.  Hopefully it'll be back up shortly.

 

 

 

In the meantime this should get you up and running:

 

The Blackfin plugins will require Eclipse 3.6 as well as the CDT. Additionally, you will have to install the GDB Hardware Debugging CDT plugin (it is usually not installed by default). To install the GDB Hardware Debugging plugin the CDT update site needs enabled. To enable the CDT site:

 

Select the Eclipse menu Window→Preferences.

Select Install/Update→Available Software Sites and add/select the site, http://download.eclipse.org/tools/cdt/releases/helios.

Use the Enable button to enable the site.

 

Install the GDB Hardware Debugging plugin via the Update Manager:

 

Select the Eclipse menu Help→Install New Software

Select the http://download.eclipse.org/tools/cdt/releases/helios site in the Work With list

Enable the GDB Hardware Debugging plugin under CDT Optional Features

 

 

 

The Blackfin plugins can be obtained from the http://blackfin.uclinux.org/eclipse/ site via the Update Manager as well:

 

Select the Eclipse menu Help→Install New Software

Click the Add button

Add http://blackfin.uclinux.org/eclipse/ as a new site

 

Then you can select the plugins to install as above.

 

The Blackfin Debug plugin results in extra selectable entries in the “Debug Configuration” dialog, while the Toolchain plugin allows for selecting the desired toolchain out of a list from within the Project Wizard dialog.

 

 

 

Make sure the toolchain is in your PATH, however.  Otherwise the toolchain plugin won't work as expected.

Attachments

    Outcomes