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.

Help with Newbie and RM57 HDK

Other Parts Discussed in Thread: HALCOGEN

Hi,

I am in desperate need of some help with a new RM57 HDK. I bought the kit because I have no experience with Cortex-R processors or with CCS and I wanted a quick way to become familiar. I can't seem to get things going because I don't know what to expect with the work flow and what components I need to build a project. I am new to CCS but not to Eclipse based IDEs.

Are there any Getting Started Guides for this HDK with CCS? I can't seem to find any. Maybe for an RM4 device that might be similar enough to work with?

I created a new CCS HWorld project and it compiled with no errors, and I can run the JTAG Verify command successfully so I am connected. I have a number of questions.

1) Where is the HAL for this device ? Is that created separately? I am used to seeing the HAL or board support package as part of the project in Eclipse

2) If I choose Debug As CCS, the flash is erased and the program is downloaded. Is this really the right process? The flash is erased at every debug session? Is there a way to turn off the flash erase ? I didn't see an option in Debug Config.

3) Even though the Debug Config says stop at main, the Debug session says running and no breakpoint is present. I manually set a BP in the code and the processor does not stop and says it is running

4) If I hit the terminate button, then some small portion of the time the red LED is lighted and will not turn off even if I start a new debug session. To stop the red LED, I have to hit the POR. Is this correct? Is something possibly wrong with the board.

As you can see I have very elementary questions. Any advice or suggested tutorials would be greatly appreciated!

Thanks

Dan

  • Hello Dan,

      Hercules provides HalCoGen tool which provides a graphical interface to setup the device. It generates the drivers and APIs according to your selection. Please take a look at the below video link for introduction. There are various built-in examples provided by HalCoGen that you reference to build your application.  

    http://cdnapi.kaltura.com/index.php/extwidget/openGraph/wid/0_vpxa47p1

      Also various on-line video trainings can be found at the below page to use the Hercules devices.

    http://www.ti.com/lsds/ti/microcontrollers_16-bit_32-bit/c2000_performance/safety/support.page

      For your question #4, is the LED turned on when you connect to the target? Try to see if the LED is turned after you launch the target configuration and then connect to the target? If this what you see then this behavior is known. Please look at the below thread for explanation. What you need to do is the write 0x5 to the ESMEKY register in the ESM module when you see the LED the first time. 

    http://e2e.ti.com/support/microcontrollers/hercules/f/312/t/366644.aspx

  • Thanks Charles. I will take a look at the data you provided and make careful note of the circumstances where I experience the red LED.