Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed the week of November 23.

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 Demo App for RM48 not working on arrival?

Other Parts Discussed in Thread: HALCOGEN, RM48L952

Hi,

I have just this past Friday received my Hercules Development Kit for RM48:

(1P) TMDXRM48HDK, (31T) 00264WF5, (1T) 0085043Z9T, (V) 000132

PCB rev E

Installed CS 5.3 and Hercules Apps on my W7 machine. Connected the demo board using USB. The connected USB devices are listed in device list as TI XDS100 Channel A, TI XDS100 Channel B as well as serial port COM10 added. Hercules Demo App and others are already updated to the latest revisions ( Hercules Demo Suite Launcher v 3.01.00 ). The board on power on seems to execute demo, flashing white LEDS in some sequence. I assume the SW is loaded. The Hercules demo app on the PC indicates an error on startup: "Demo software not detected on microcontroller"  suggesting re-flashing it. "No" exits the demo app, "Yes" button reflashes the demo app: "Now programming RM48x_demo_software.out". Flashing ends successfully with request to push the PORRST button on the board and click OK. After that, the demo launchpad is running and I can click on the various tests, however execution any of them fails with error "Connection to microcontroller has been lost, please hit the PORST reset button and try again..."  Why I cannot run the demo out of the box even if I followed the steps to the letter?

I should also mention that after this failure, I tested the CS and it runs and detects the target without any problem.

Even uninstalling everything from my PC and re-installing it didn't fix the problem.

I am puzzled who someone would release/ship product that is not working?

I would appreciate some input to resolve this. Albeit there are similar cases in forum, none of them match my case exactly and responses don't provide adequate help. At least not for my case.

  • Hello Roman,

    I have forwarded your question to one of our experts and they should respond soon.

  • That would appreciated. Thank you John. I'll provide whatever other information is necessary.

    Kind Regards,

    Roman

  • Hello Roman,

    1.The re flashing occurred probably because the version of the demo software in the KIT did not match with version of the demo software which is installed on the KIT.Is this behavior seen every time you connect the board and open the Demo software application?

    2.The serial communication is not happening between the computer and the HDK because of which the demo software is showing that the communication is lost.Can you check whether nerror pin is lit(because of which software is hung in a loop).Can you also make sure that the serial communication is working with the existing cable (You can use the SCI example from the Halcogen).

    3.A thorough testing of the demo software was done on all the variants on which it is supported.We have not observed this issue.I will test this behavior with the demo software version 3.01.0 on the RM48 hdk once I am in office tommorrow.Mean time you can also try to use the demo software version 3.2.0 http://www.ti.com/tool/hercules_safety_mcu_demos and check whether this version works.

    Regards

    Manoj

  • Hi Manoj,

    Apologies for the delay. Here is my info:

    1. The version mismatch and request for re-flashing is understandable, however, it does happen every single time. Whether I power cycle the board, use PORST button or just connect/disconnect the USB cable (I’m trying it all).
    2. OK. On full power cycle, the NERROR LED turns on and stays on after the white LEDs dance. Pushing the PORST button resets, performs white LED dance and NERROR stays OFF. I have imported the SCI_UART_9600_RM48 example project into my CCS, built it and configured debug for connection using “Texas Instruments XDS100v2 USB Emulator” and device RM48L952 (RM48L952 QFP/BGA, 3MB Flash, 256kB RAM, 10/100M Ethernet, USB host and slave) and test the connection with the following result:

    …………..

    [Start]

     

    Execute the command:

     

    %ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -F inform,logfile=yes -S pathlength -S integrity

     

    [Result]

     

     

    -----[Print the board config pathname(s)]------------------------------------

     

    C:\Users\ROMANR~1\AppData\Local\.TI\693494126\

        0\0\BrdDat\testBoard.dat

     

    -----[Print the reset-command software log-file]-----------------------------

     

    This utility has selected a 100- or 510-class product.

    This utility will load the adapter 'jioserdesusb.dll'.

    The library build date was 'Oct  3 2012'.

    The library build time was '21:58:41'.

    The library package version is '5.0.872.0'.

    The library component version is '35.34.40.0'.

    The controller does not use a programmable FPGA.

    The controller has a version number of '4' (0x00000004).

    The controller has an insertion length of '0' (0x00000000).

    This utility will attempt to reset the controller.

    This utility has successfully reset the controller.

     

    -----[Print the reset-command hardware log-file]-----------------------------

     

    The scan-path will be reset by toggling the JTAG TRST signal.

    The controller is the FTDI FT2232 with USB interface.

    The link from controller to target is direct (without cable).

    The software is configured for FTDI FT2232 features.

    The controller cannot monitor the value on the EMU[0] pin.

    The controller cannot monitor the value on the EMU[1] pin.

    The controller cannot control the timing on output pins.

    The controller cannot control the timing on input pins.

    The scan-path link-delay has been set to exactly '0' (0x0000).

     

    -----[The log-file for the JTAG TCLK output generated from the PLL]----------

     

    There is no hardware for programming the JTAG TCLK frequency.

     

    -----[Measure the source and frequency of the final JTAG TCLKR input]--------

     

    There is no hardware for measuring the JTAG TCLK frequency.

     

    -----[Perform the standard path-length test on the JTAG IR and DR]-----------

     

    This path-length test uses blocks of 512 32-bit words.

     

    The test for the JTAG IR instruction path-length succeeded.

    The JTAG IR instruction path-length is 6 bits.

     

    The test for the JTAG DR bypass path-length succeeded.

    The JTAG DR bypass path-length is 1 bits.

     

    -----[Perform the Integrity scan-test on the JTAG IR]------------------------

     

    This test will use blocks of 512 32-bit words.

    This test will be applied just once.

     

    Do a test using 0xFFFFFFFF.

    Scan tests: 1, skipped: 0, failed: 0

    Do a test using 0x00000000.

    Scan tests: 2, skipped: 0, failed: 0

    Do a test using 0xFE03E0E2.

    Scan tests: 3, skipped: 0, failed: 0

    Do a test using 0x01FC1F1D.

    Scan tests: 4, skipped: 0, failed: 0

    Do a test using 0x5533CCAA.

    Scan tests: 5, skipped: 0, failed: 0

    Do a test using 0xAACC3355.

    Scan tests: 6, skipped: 0, failed: 0

    All of the values were scanned correctly.

     

    The JTAG IR Integrity scan-test has succeeded.

     

    -----[Perform the Integrity scan-test on the JTAG DR]------------------------

     

    This test will use blocks of 512 32-bit words.

    This test will be applied just once.

     

    Do a test using 0xFFFFFFFF.

    Scan tests: 1, skipped: 0, failed: 0

    Do a test using 0x00000000.

    Scan tests: 2, skipped: 0, failed: 0

    Do a test using 0xFE03E0E2.

    Scan tests: 3, skipped: 0, failed: 0

    Do a test using 0x01FC1F1D.

    Scan tests: 4, skipped: 0, failed: 0

    Do a test using 0x5533CCAA.

    Scan tests: 5, skipped: 0, failed: 0

    Do a test using 0xAACC3355.

    Scan tests: 6, skipped: 0, failed: 0

    All of the values were scanned correctly.

     

    The JTAG DR Integrity scan-test has succeeded.

     

    [End]

    …………….

     

    Starting Debug fails with programming error:

    CortexR4: GEL Output:   Memory Map Setup for Flash @ Address 0x0CortexR4: Flash algorithm returned an error during Flash programming. Operation cancelled.

    CortexR4: GEL: File: C:\ti\Hercules\HALCoGen\scitest\SCI_UART_9600_RM48\Debug\SCI_UART_9600_RM48.out: Load failed.

     

    So I can’t run the SCI-UART test

     

    1. Clicking on the provided link takes me to  the Hercules Safety MCU Demos download page indicating:

     

    Part Number

    Buy from Texas Instruments or Third Party

    Alert Me

    Status

    Current Version  

    Version Date  

    Description  

    HERCULES_SAFETY_MCU_DEMOS:
    Hercules Safety MCU Demos

    Top of Form

    Bottom of Form

    ACTIVE

    v3.2.0  

    26-Jul-2013  

    Designed to highlight key safety, data acquisition and control features of the Hercules platform of microcontrollers  

     

    However, clicking on the download button downloads spnc034.zip file that contains only “Hercules Safety MCU Demos-v30200.exe”. Where is the 3.20 version?

     

     Thank you for your help,

    Roman

  • Hi Roman,

    Sorry for the delay in responding.

    Regarding the flashing issue being faced(algorithm failure)

    ------------------------------------------------------------

    1.Please check for the updates for the Hercules emulation tools and download the latest emulation tools for hercules.

    2.The flash algorithm may return failure because alignment of the sections in the .out file is improper.align the flash sections in your linker command file as shown in below example and rebuild the project.

    .text : palign(8) {} > FLASH0 | FLASH1

    You should be able to resolve this issue.There are similar queries on the e2e forum you can refer to those also if the above mentioned tips do not resolve your error.

    Demo Software

    ---------------------------

    The latest demo software version is 3.02 i wrongly mentioned it as 3.20.Sorry for creating the confusion on this.

    I am able to run the demo successfully here using the 3.01 version of the demo software.Can you please try to run the demos using a different USB cable.Please Update me if this helps.

    Regards

    Manoj