[Sdcc-user] SDCC Compatibility Questions
1. Can the SDCC output be compiled for the TI CC2541 SoC? 2. Will there be include definitions and memory maps for the system-on-chip peripherals and extra registers? 3. Will the debugger work with CCDEBUGGER and the CC2541? -- Randy Yates Digital Signal Labs http://www.digitalsignallabs.com -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user
Re: [Sdcc-user] SDCC Compatibility Questions
"Maarten Brock" writes: > Hi Randy, Hi Maarten, Thank you for your answers. I still have some misunderstanding below. >> 1. Can the SDCC output be compiled for the TI CC2541 SoC? > > Yes. > >> 2. Will there be include definitions and memory maps for the >> system-on-chip peripherals and extra registers? > > Yes, use cc2530.h though it may miss some stuff if it wasn't in the > SWRU191B version of the User Guide. If you have to augment it please send > it back in the patch tracker. Hey, that's great! Of course the least I could do would be to provide any updates back to the project. >> 3. Will the debugger work with CCDEBUGGER and the CC2541? > > Well, that depends on the debugging software. SDCC can generate OMF output > which contains debugging info. But the SDCDB debugger does not support > CCDEBUGGER or any other hadrware dongle. So you'll have to use other > software that supports reading OMF files for debugging. I'm confused. Are you saying that SDCC (or SDCDBG) cannot download the final linked binary file into the CC2541 with the CCDEBUGGER? Even more, what I'd like to be able to do is set breakpoints and examine memory and registers, basic debugging stuff. I read where SDCDBG operates on one end as an interface to GDB, but what about on the end to the processor? If it can't work with CCDEBUGGER, what hardware/software can it work with? --Randy > > Maarten Brock > > -- > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnnow-d2d > ___ > Sdcc-user mailing list > Sdcc-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sdcc-user -- Randy Yates Digital Signal Labs http://www.digitalsignallabs.com -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user
[Sdcc-user] Loading and Debugging 8051 Code Built with the sdcc under code-limited IAR Systems IDE
Hi, Presuming I can build and flash my project using sdcc and other open tools, is it be possible to do at least assembly-level debugging without symbols of such a project using IAR Systems' code-limited IDE? Discussion on alternatives/details/gotchas/etc. welcomed. -- Randy Yates Digital Signal Labs http://www.digitalsignallabs.com -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user
[Sdcc-user] On-Target Hardware Debugger for the 8051
I am very interested in using sdcc for our 8051 project (a TI CC2541 Bluetooh SoC). I think the sdcc compiler (which is actually an assembler, compiler, and linker) will do the job nicely, provided I can use the BLE stack binary libraries, which are generated for the IAR tools (.r51 files). Now I'm left with the question of how to debug the code. My requirement is for an on-target debugger, and I would much prefer to use the Spy-Bi Wire / CCDEBUGGER method since we've already purchased the CCDEBUGGER and gone to a lot of time an expense building custom cables to interface our custom board with it. Is there a free or inexpensive debugger that meets these requirements? I saw NoICE, but it appears to be a monitor-based device. Any pointers would be appreciated. -- Randy Yates Digital Signal Labs http://www.digitalsignallabs.com -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user