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.

Hercules Safety MCU Demo software for Launchpad TMS570LC43

Other Parts Discussed in Thread: HALCOGEN

I have gone to the threads for the software and none of them solve the problem.

The program starts fine. When you select a demo function, you get an error saying can't connect to micro and to due a PORST. It doesn't work.

I have restarted the program, still doesn't work.

I am using Code composer 6.1.3.00033, Halcogen 04.05.02 released 02.Mar.2016.

Hercules Launchpad TMS570LC43 is load with Proj1 launchxl2 rm57l 570lc43 and works fine.

  • Hi Keith,

    I actually have a different error when I tried to run the demo. Looks like you are at least to bring up the PC side GUI. if you go to the below wiki page it says to close the Safety Demo GUI application and relaunch it if you see the error that says 'connection to the microcontroller has been lost, please hit the PORST reset button and try again.'. Please give a try and see if it helps.

    processors.wiki.ti.com/.../Hercules_LaunchPad:_Safety_Demo
  • I have tried all the different solution that have been suggested in the different threads for the similar problem. None of them work.
  • HI Keith,

    When you got the launchpad out of the box, did it work the first time with the demo?

    I think it might have something to do with the emulation driver. I tried the same demo on a different LaunchPad like RM42x and LS04x and it works. It is able to detect the device and download the new demo software to the MCU. These launchpad have XDS100 emulator in it rather than the XDS110 as in LC43x. I will need to have our software team take a look to understand the problem.

    In the meantime if you are looking for examples to start your development, there are many examples provided by the HalCoGen. Hope they will help you get started.
  • Yes, the Launchpad worked right out of the box. I can load and run both demo project0 and project1.

    Unfortunately, I have tried using the video examples such as PWM with HET timer without any success. I realized the video was for a different Launchpad.

    Not much help if you can't find good examples for the TI devices you are using.

    Best regards,

    Keith Pant

  • Hi Keith,

      HalCoGen is a great tool to get you started. Please go to HalCoGen->Help->Help Topics->Examples. You will find quite a few examples for you to get acquainted with the device and its features. Just click on any one of the examples it will show you step by step how to configure the device and generate the code. Below is a screenshot of the HalCoGen examples page. For PWM generation using HET please try by clicking the example_hetPwm.c.

      

  • The HalCoGen might be a good tool but the examples are not.

    I have tried three different examples and none of them gave me a output. By the way it would be nice if the examples gave a pinout on the Launchpad board to monitor.

    Best regards,

    Keith Pant

  • HI Keith,
    Can you please tell me which examples did not give you an output and what type of outputs are you looking for?
  • Example hetPwm: expect to see 50% duty cycle waveform at N2HET1_8.
    Example rtiBlinky: expect to see a waveform at N2HET1_1.
  • Hi Keith,

     The NHET1_8 and NHET1_1 are not connected to the LED on the launchpad. If you have a scope you can probe them. For example, the NHET1_8 is available in the J8 connector.

     I modified the rtiBlinky example to toggle the gioB_7 pin which is connected to the LED on the launchpad. Run it and you should see the LED3 blinking.

    5432.LC4357_LP_LED3_Blinking.zip

  • Thanks for the file.

    I was monitoring the outputs with a scope.

    Best regards,

    Keith Pant

  • Hi Charles

    I managed to run the program u uploaded but my question is: How did u know that gioB_7 is connected to a LED on the board? I couldn't find any pin diagram or schematic of the board

    thank you
  • Hi Moud,

     If you look at the LaunchPad board and look at the text right under the LED3 you will see GioB_7. Of course you can find the same in the schematic.  Please see below. The schematic can be found at: http://processors.wiki.ti.com/images/c/ca/LAUNCHXL2_570LC43_RM57L_SCHEMATICS.pdf.

  • Hi Charles

    Thank you very much, that what I was looking for