Hi friends,
Can I use TMS570LS1224 launchpad without HERCULIES tool. If yes How??
I tried but getting wornning some init() and startup is not there...
Regards,
Arvind.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi friends,
Can I use TMS570LS1224 launchpad without HERCULIES tool. If yes How??
I tried but getting wornning some init() and startup is not there...
Regards,
Arvind.
Hercules doesn't do magic.
It creates c and assembler source files, and a linker command file. All in readable (and compilable) format.
When you are not using the tool, you will have to do the initialisation (and write driver code) yourself.
(It's not impossible though, so don't get demotivated by my reply :) . There's someone who is working on ADA development for the Hercules. He has also started from nothing
source: github.com/.../gnat2015
)
I think the issue is that the default linker command files in CCS for Hercules devices are missing the SECTION definitions for the sections which are expected by the compiler.Arvind Upadhyay said:Can you help me how to solve out this issues.
I did query this in the past, and the response was that HALCoGen was expected to be used to create projects for Hercules devices - see Sections missing TMS570LS202x6SFlashLnk.cmd in CCS 5.1
You need to remove the "creating output section "<section_name>" without a SECTIONS specification" warnings by adding sections to the linker command file, as otherwise the linker can assign sections to arbitrary memory regions which causes the program to fail at run time.
See Linker Command File Primer for some background information.