Thanks for the information,

I will look at the ABI difference but I guess I have to contact TI, I do not know what sort of deal they have which prevents them from providing libraries for other toolsets. I prefer keeping all my development on Linux.

No the fix is related the the claimed channel (0) being different from wIndex when calling libusb_control_transfer, and programmer could not enter debug mode.
I tried to contact the author about the fix, but sure I will file a ticket as well, I saw a mirror on Github so I forked it and updated it with the latest from sourceforge.

dashesy


On Sat, Sep 14, 2013 at 2:38 AM, Maarten Brock <sourceforge.brock@dse.nl> wrote:
Hello dashesy,

I don't think it is possible to link IAR .r51 object files with sdcc.

Was your fix related to the message on the forum?
https://sourceforge.net/p/cctool/discussion/general/thread/5edb8d3f/

Don't you think that it's wiser to post a tracker ticket at
https://sourceforge.net/p/cctool/tickets/
than to mention your fork here?

Maarten

> Randy,
>
> Can you please share with us how you managed to use SDCC with CC2541 and
> TI's  .r51 files? I use printf for debugging anyways, so I just need to
> create hex files.
>
> BTW, I use cc-tool in Linux to flash with success:
> The project is here (http://sourceforge.net/projects/cctool/files/) but I
> had to make some small fix for it to work in my Fedora19, the mirror is
> here (https://github.com/dashesy/cc-tool)
>
> Maybe with some effort and combining with
> (http://ccdebug.sourceforge.net/)
> on-target debugging can be feasible too.
>
> Thanks for any pointers
>
> dashesy

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13.
http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user