NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.
Hercules LaunchPad
This wiki is open and can be edited by all! More information available @ www.ti.com/launchpad
|
Looking for datasheet? Go to Hercules TMS570LS04 Microcontroller.
Looking for datasheet? Go to Hercules RM42 Microcontroller.
Contents
- 1 Tutorials
- 2 Hercules Safety MCU Training
- 3 Other Projects
- 4 FAQ
- 4.1 When creating a new project in CCS with RM42 device, the project does not compile and execute properly. It may report an endianness mismatch during “load program”; Or, the program runs to “Undefined instruction abort”.
- 4.2 When creating a new project in CCS with TMS570LS043 device, the project does not compile or execute properly. It may report the run time library does NOT support floating point error during compiling (error #16004-D: file "C:/ti/ccsv5_bk/lib/rtsv7R4_T_be_eabi.lib<auto_init.obj>" has a Tag_ABI_VFP_args attribute value of "1" that is different than one previously seen ("0"); combining incompatible files) or the program runs to “Undefined instruction abort”.
Tutorials[edit]
Note that most tutorials below are based on Code Composer Studio unless otherwise noted.
Getting Started: First Steps with the Hercules LaunchPad[edit]
- A look inside the box A quick unboxing of the Hercules LaunchPad
- Project 0 Getting started with CCS, blinking NHET08 LED on the LaunchPad
- Hercules LaunchPad Schematics (pdf)
- Hercules LaunchPad Schematics & Layout (Eagle Layout)
- Hercules LaunchPad 40 Pin BoosterPack Header Pin-out
- How to import code examples & projects into CCS Here's how to import existing projects into CCSv5
- How to blink an LED and adjust its brightness using HALCoGen and CCS - Kompulsa
- How To Build A PWM Fan Controller Using The Launchpad Hercules RM57L - Kompulsa
Have a tutorial of your own? Add it to the list above!
[edit]
Hercules Safety MCU Training[edit]
Other Projects[edit]
Hercules Safety MCU Demos[edit]
The Hercules Safety MCU Demos are designed to highlight key safety, data acquisition and control features of the Hercules platform of microcontrollers. The demos are designed to be run on a PC in conjunction with either a Hercules USB Development Sick or a Hercules Development Kit (HDK) or a LaunchPad.
Using the MibADC to collect Ambient Light Sensor data percentage[edit]
- Please follow the instructions page 23-32 to create the peripheral drivers and CCS projects.
- CCSv5 Project: Media:Hercules_ADC_CCSv5.3_Project.zip
Example Code for Educational Boosterpack[edit]
- User Guide: Media:Hercules_LaunchPad_EduBoost.pdf
- CCSv5 Project (TMS57004): Media:TMS57004_EduBoost_CCSv5.3_Project.zip
- CCSv5 Project (RM42): Media:RM42_EduBoost_CCSv5.3_Project.zip
- You might get an error message during compile and link:
- To fix this, go to "project properties" Page and input the correct nowECC locations.
3,2" Touch LCD boosterpack SSD1289 (danirebollo)[edit]
Here is the Touch LCD Boosterpack for Tiva, Stellaris and Hercules Launchpad. It works with Texas Instruments Graphics Library and uses SSD1289 LCD Driver for 3,2" 320x240 Screen and analog signals for Touch (TI Graphics Library uses analog signals). The interface are hi speed 16bit color parallel Also, you can use EHA protocol to control it only through 4 wire bus.
You can found example codes and buy it on danirebollo.es website
Info:
Texas Instruments Graphics Library: http://www.ti.com/tool/sw-tm4c-grl?sectionId=625&tabId=2495&familyId=1755
SSD1289 LCD Driver: https://docs.google.com/file/d/0BzJpWEe1yMQvMVpEZm1DNVpLR2s/edit?usp=sharing
and https://docs.google.com/file/d/0BzJpWEe1yMQvR2c5ZEJlU1NhX1E/edit
FAQ[edit]
When creating a new project in CCS with RM42 device, the project does not compile and execute properly. It may report an endianness mismatch during “load program”; Or, the program runs to “Undefined instruction abort”.[edit]
This is likely because CCS project no longer includes the RTS (Run Time Support Library) for the little endian non floating point Cortex-R4 (rtsv7R4_T_le_eabi.lib) as a default. The device xml file - C:\ti\ccsv5\ccs_base\common\targetdb\devices\rm42l432.xml points to a run time library that does not exist.
To solve this issue on an existing project, please select “project properties”:
In the “General” Tab, make sure the “Device endianness” is “little”, “Run time support library” is “<automatic>”.
In the “Build->ARM Compiler->Processor Options” Tab, make sure “Specify floating point support (--float_support)” as blank.
In the “Build->ARM Linker->File Search Path” Tab, make sure "libc.a" is included.
To solve this issue for any project created ever after, please replace the xml file with the attached xml file in the zip file and restart the CCS.
- CCS XML files: Media:Hercules_XML_files.zip
Note: Fix the xml files does NOT fix the pre-existing projects. You have to fix them manually.
After the project properties are changed, the CCS is going select the run-time library automatically. For the 1st time you build the project, CCS compiles the run-time library too. That will take several minutes. After that, for the 2nd, 3rd compile/build, CCS will not rebuild the run-time library unless you change the optimization levels. You can also take advantage of a dual-core or quad-core computer to build the project faster:
In the “Build->Behaviour” Tab, Enable parallel build.
When creating a new project in CCS with TMS570LS043 device, the project does not compile or execute properly. It may report the run time library does NOT support floating point error during compiling (error #16004-D: file "C:/ti/ccsv5_bk/lib/rtsv7R4_T_be_eabi.lib<auto_init.obj>" has a Tag_ABI_VFP_args attribute value of "1" that is different than one previously seen ("0"); combining incompatible files) or the program runs to “Undefined instruction abort”.[edit]
This is likely because the device xml file - C:\ti\ccsv5\ccs_base\common\targetdb\devices\ tms570ls043x.xml does not specify the “floating point support” is “None” and CCS pick the project properties for the previous project filling in the “Specify floating point support” field.
To solve this issue on an existing project, please select “project properties”:
In the “Build->ARM Compiler->Processor Options” Tab, make sure “Specify floating point support (--float_support)” as blank.
To solve this issue for any project created ever after, please replace the xml file with the attached xml file in the zip file and restart the CCS.
- CCS XML files: Media:Hercules_XML_files.zip