News for hackers. Stuff that matters.
Re:How to run C programs on the BeagleBone's PRU microcontro... by NwtnsMthd on Tuesday September 20, 2016 @01:56PM (#12541613)
CCS has come a long way since version 3. Ever since TI started using Eclipse as the base for CCS things have been getting better. Out of all the IDE's I've used over the past 5 years CCS is my favorite.

> Embedded development requires very precise control and knowledge about what you're doing, and IDEs more often than not get in the way of doing that.

Embedded development requires precise control and knowledge about what you're doing, and that's precisely why you would want to use the manufacturer's recommended IDE. Have you ever tried managing development with an RTOS? Or streaming data out of RAM while your code was running? Or fiddling with the processor registers when debugging? IDE's make all that much simpler, you may want to give CCS an other chance, it's a really powerful IDE.

Re:How to run C programs on the BeagleBone's PRU microcontro... by AceJohnny2 on Tuesday September 20, 2016 @02:20PM (#12541890)
> Have you ever tried managing development with an RTOS? Or streaming data out of RAM while your code was running? Or fiddling with the processor registers when debugging?

Yes to all of the above, and had to script it too, which I couldn't do with an IDE at the time.

I indeed haven't used CCS-Eclipse in years. Has it finally eliminated its lag and RAM usage? I was always amazed how it managed to continuously stay just ahead of Moore's Law in terms of resource usage.

Re:How to run C programs on the BeagleBone's PRU microcontro... by NwtnsMthd on Tuesday September 20, 2016 @02:51PM (#12542168)
> I indeed haven't used CCS-Eclipse in years. Has it finally eliminated its lag and RAM usage? I was always amazed how it managed to continuously stay just ahead of Moore's Law in terms of resource usage.

You're right, the lag was bad. Recently I haven't noticed it much, maybe I got used to it, or maybe it's been improved. Currently my instance of CCS 6.0.1 uses around 286MB of RAM, CCS 6.1.0 uses about 480MB of RAM. In comparison PyCharm (2016.1.4) is using 927MB of RAM :(

How did you debug code running on the hardware without an IDE? Is there an easy-ish way to do that?

Re:How to run C programs on the BeagleBone's PRU microcontro... by AceJohnny2 on Tuesday September 20, 2016 @05:13PM (#12543481)
> How did you debug code running on the hardware without an IDE? Is there an easy-ish way to do that?

gdb :)

Most in-system-debuggers expose a gdb-server interface, that a client gdb can then connect to. GDB is very scriptable.

Re:How to run C programs on the BeagleBone's PRU microcontro... by ArkyBeagle on Tuesday September 20, 2016 @04:31PM (#12543099)
What you don't want is a bunch of opaque gnosis in the IDE itself. You want the process to be transparent, in an SEI Level 2 sort of way.

I used to use ObjecTime, and it added random stuff to its C++/'C' code generation process that meant you were never fully SEI Level 2. We had to keep a Golden Build machine alive because of it.

Re:How to run C programs on the BeagleBone's PRU microcontro... by jotux on Tuesday September 20, 2016 @11:12PM (#12545130)
I worked on a project about a year ago on a TI TMS470M using CCS and thought it was pretty nice. It had live RAM view which was really useful for the project I was working on at the time and it was stable.