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.

IWR6843AOPEVM: Abnormal after load firmware

Part Number: IWR6843AOPEVM
Other Parts Discussed in Thread: MMWAVEICBOOST, UNIFLASH

Hello, I was using the evaluation version of IWR6843AOPEVM today. After normal firmware load, I found that the program did not run. If load again, there was no response to the break signal from serial port, that is, it could not be load.

Specific operations are as follows:

1. EVM was paired with MMWAVEICBOOST baseboard to load my firmware. After burning, I pressed the reset button and found that the program did not print data in the two serial ports, which should have existed.

2, reset twice, still no data.

3. Re-load, it is found that the serial port break signal is not responded.

4. Check the switch status again. All configurations are correct.

5. Remove the EVM board and power it on. The serial port has no data.

6. The EVM board switches to the load mode, and the break signal does not respond.

7, restart the computer, EVM board power off for more than 10 minutes to try again, still not.

  • Hello,

    Are you using CCS Debug and trying to load your own custom binaries (we are unsure what you mean by normal firmware load)? Or are you using a release binary and operating the device in functional mode? What are you trying to do on a higher level? 


    Regards,

    Luke

  • We combined mss and dss build file to a .bin file, and use UniFlash to flashing the EVM in flashing mode.  I'm sure all the switch are in correct position.

    I also tried using CCS . It failed when click "Test Connection" in "Target Configurations". Here is the log

    [Start: Texas Instruments XDS110 USB Debug Probe_0]
    
    Execute the command:
    
    %ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -S integrity
    
    [Result]
    
    
    -----[Print the board config pathname(s)]------------------------------------
    
    C:\Users\ADMINI~1\AppData\Local\TEXASI~1\
        CCS\ccs1200\0\0\BrdDat\testBoard.dat
    
    -----[Print the reset-command software log-file]-----------------------------
    
    This utility has selected a 100/110/510 class product.
    This utility will load the adapter 'jioxds110.dll'.
    The library build date was 'Sep 20 2022'.
    The library build time was '12:28:44'.
    The library package version is '9.9.0.00040'.
    The library component version is '35.35.0.0'.
    The controller does not use a programmable FPGA.
    The controller has a version number of '5' (0x00000005).
    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 XDS110 with USB interface.
    The link from controller to target is direct (without cable).
    The software is configured for XDS110 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).
    
    -----[An error has occurred and this utility has aborted]--------------------
    
    This error is generated by TI's USCIF driver or utilities.
    
    The value is '-233' (0xffffff17).
    The title is 'SC_ERR_PATH_BROKEN'.
    
    The explanation is:
    The JTAG IR and DR scan-paths cannot circulate bits, they may be broken.
    An attempt to scan the JTAG scan-path has failed.
    The target's JTAG scan-path appears to be broken
    with a stuck-at-ones or stuck-at-zero fault.
    
    [End: Texas Instruments XDS110 USB Debug Probe_0]
    

    Also failed if I click debug in CCS directly

    Error connecting to the target:
    (Error -2131 @ 0x0)
    Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK).
    (Emulation package 9.9.0.00040)
    

  • Hi,

    First, we want to make sure that you are actually flashing the device correctly. When using UniFlash with your custom binary you are building, are you seeing a success message in the terminal? And are you resetting the device after flashing and changing the switches?

    Secondly, I would like to point you to the CCS Debug Mode documentation. Double check that you are following all of the correct procedures in the guide. Find that guide here: https://dev.ti.com/tirex/explore/node?a=1AslXXD__1.00.00.26&node=A__AKZl2I1OiS5ssBNGpidsCQ__radar_toolbox__1AslXXD__1.00.00.26

  • Hi Luke,

    1. Yes, the last flashing was finished successfully with a message, and then I changed the switch on MMWAVEICBOOST to functional mode an push the reset button. The procedure has been done more than 50 times which is familiar to me.

    2. I know the debug step described in that page, but the debug session run into abort function almost every time, which I can't figure out the reason. However, I can't flashing the debug firmware now. 

  • Hi

    Were you able to flash the device with the debug firmware without problems in the past? What version of CCS and what version of SDK are you using? If you are following all the steps exactly and now something is going wrong, maybe the device or cable has become damaged. Or maybe you are simply missing a small step, which can always happen.

    Getting the device successfully flashed with the debug firmware is a prerequisite for running your custom binary, so we need to solve that problem first. 

    With the information you've provided me, I can't help beyond pointing you to the CCS Debug Mode guide I linked prior.

     Regards,

    Luke

  • HI

    I'm using CCS 12.1.0.00007 , and mmwave_sdk_03_06_00_00-LTS. The debug firmware used to be flashed successfully.

    Dose it possible that some software bug could make the EVM breakdown? The last flashed firmware had a bug, which let the go wrong. Here is the code

    Pinmux_Set_OverrideCtrl(SOC_XWR68XX_PINB5_PADBU, PINMUX_OUTEN_RETAIN_HW_CTRL, PINMUX_INPEN_RETAIN_HW_CTRL);
    Pinmux_Set_FuncSel(SOC_XWR68XX_PINB5_PADBU, SOC_XWR68XX_PINB5_PADBU_GPIO_46);
    
    // The bug is, I didn't write the line below to config GPIO 46 to output mode
    //GPIO_setConfig (SOC_XWR68XX_GPIO_46, GPIO_CFG_OUTPUT);
    
    GPIO_write(SOC_XWR68XX_GPIO_46, 0U);
    

    As I metioned in the comment, I missed the output mode config. After fix this bug, the program run correctly in our self-designed board.

  • No, an error in the muxing or GPIO writing would not cause harm to the EVM, do not worry there.

    I am glad you were able to find and correct your bug! If I am misunderstanding, and you have further questions relevant to this thread, feel free to ask. If you have another set of questions, open a new thread. 

    Regards,

    Luke

  • No, you misunderstood me. The program ran successfully on our self-designed board, not EVM. The EVM still cannot be flashed.

  • You are using the AOP + MMWAVEICBOOST correct? Can you try following the out of the box guide from the start and see if you can flash with one of our prebuilt binaries? 

    https://dev.ti.com/tirex/explore/node?a=1AslXXD__1.00.00.26&node=A__ADFsv62CVEotGtkwF2Zxlg__radar_toolbox__1AslXXD__1.00.00.26

    We need to determine first if you can flash with any program at all. If so, try following with the "Developer's Guide" part. If you can flash these binaries, then we know your switch settings are correct and your board is okay.

    Regards,

    Luke

  • Yes,  using the AOP + MMWAVEICBOOST. I tried what you say, but still failed. The core problem is, the EVM borad does not answer the break signal  from serial port, which makes the flashing can't work. I think the board may be damaged with some reason, for example, a block with the flash chip.

  • If you cannot flash the board in any form (AOP standalone or AOP + ICBOOST) with our binaries, then you are right, you might have a damaged board. I would contact customer service and see if you can get a return or request a new board.

  • That is good! Thanks.