Two Laptop Bag*
The moose likes Arduino and the fly likes Another devboard arrived: Texas instruments LaunchPad hercules is not an Arduino :) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » Arduino
Bookmark "Another devboard arrived: Texas instruments LaunchPad hercules is not an Arduino :)" Watch "Another devboard arrived: Texas instruments LaunchPad hercules is not an Arduino :)" New topic
Author

Another devboard arrived: Texas instruments LaunchPad hercules is not an Arduino :)

Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2497
    
    8

I ordered a Texas Instruments launchPad last month, and it arrived today.
This one has a ARM cortex controler.
Specialy targeted to safety and automotive/aircrft applications
I managed to run the safety demo and the first two examples. Not easy, but fun



OCUP UML fundamental and ITIL foundation
youtube channel
Richard Tookey
Ranch Hand

Joined: Aug 27, 2012
Posts: 1050
    
  10

Very interesting. I have contemplated buying a Lauchpad but because I already have several ongoing projects I cannot really justify adding another. Even so, the TI Launchpads are very cheap so I might treat myself to an early Christmas present .

Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2497
    
    8

I got it for free including shipping. I had a 25$ coupon that TI released to celebrate 1 year National Semiconductor.
I invested it into this board.
Shipping seems to be free in most cases @TI.

Meanwhile I have all demo’s working.
You can't run the whole software stack on Ubuntu. The development environment works nicely but several of the additional tools are Windows and don't behave well under Wine emulator.
So I'm switching between my old linux pc and the family's windows laptop to cover all situations.
The family complained already ;)
Richard Tookey
Ranch Hand

Joined: Aug 27, 2012
Posts: 1050
    
  10

After I viewed your video I checked at TI and the models I could see are priced at $22 with free shipping. That makes them cheaper than a genuine Arduino Mega2560 !

Your point about needing Windows for the additional tools concerns me. I use Linux for just about everything and have never got on with the Wine emulator ( I last tried to use it about 5 years ago so maybe it has improved since then ). I do have an old Laptop hiding under my bench that runs Windows XP Home but I really don't want to clutter the top of my bench any further (my wife already complains that she can't get to it to clean it ).
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2497
    
    8

So what does not run well on Linux:
HalGoGen, the configurator/code generator utility.
This very neat app allows you to select the options, ports, communication blocks, timers, etc... that you want to use in your appliance.
The utility then generates a code frame that you can use as a startpoint in Eclipse. It is two way integration - you can switch back and forth between the generator and Eclipse. If you do it the right way you can change your assignments later in HalCoGen without losing any development work, even though both tools workon same source files.
Although the native Windows application works under Linux, it's display is not rendered correctly and that causes some grief (see attached printscreen).


The Demo application doesn't want to install under Ubuntu. The installer fails with a memory access violation fault.
I tried to install it on a laptop and then copy the whole chibang over to Linux and run under emulator but no success there.
The movie here under shows how the Demo application looks like. It is quite impressive (specificly the self test and fault detection capabilities are neat).



[Thumbnail for Screenshot from 2013-10-25 21:45:14.png]

Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2497
    
    8

After struggling with the toolset for a while I managed to create an application that generates an interrupt when a pushbutton pulls a GIO input pin high,
an event handler for that input, and reacts by toggling a GIO output pin that has an LED attached to it.
(Yes I know, my house is full of switches that have the same functionality, operate on 220V and don't need a µC and don't take a day to get them working. But you get the point)
 
 
subject: Another devboard arrived: Texas instruments LaunchPad hercules is not an Arduino :)