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.

AWR1843: ApplicationStartupSequence hangs

Part Number: AWR1843
Other Parts Discussed in Thread: UNIFLASH

Hi,

I am implementing the startup sequence referenced in SPRACI4A on a custom board with AWR1843. I am using the referenced code, but I am facing several problems:

  1. After a cold boot, the SOC_unhaltDSS() hangs as  (powerStatus == 0xC0000) is never true. But I can "kickstart" the program if i connect a debugger (without loading a program, just hot-attach)
  2. After a warm reset (e.g. reset via debugger) waitAPLLCalibration is stuck as the MSS_TOPRCM->SPARE0 never transistions. This can not be cured in any way.

I also have tried porting the nonOS OOB Demo to the AWR1843, but this also hangs while unhalting the DSS.

Can you provide help here?

  • Hi Christoph,

    Could you confirm that nonOS OOB demo (without any change) works well with AWR1843? 

    When you say above two problems, you tried flashing the application or trying over JTAG. Please provide the exact steps of the experiment.

    Regards,

    Jitendra

  • Both steps are done after Flashing with UniFlash 5.2. I used a metaImage (created with generateMetaImage.bat) consisting of my MSS application, the DSS of the mmwave SDK example and the RSS of SDK 03.03.00.03

    Creation of meta image:

    C:\ti\mmwave_sdk_03_03_00_03\packages\scripts\windows\generateMetaImage.bat MetaImage.bin 0x00000008 ..\debug\MCAL_Test.out C:\ti\mmwave_sdk_03_03_00_03\firmware\radarss\xwr18xx_radarss_rprc.bin C:\ti\mmwave_sdk_03_03_00_03\packages\ti\demo\xwr18xx\mmw\xwr18xx_mmw_demo_dss.xe674

    The OOB demo uses SDK 2 which doesnt support the AWR1843 so I would not like to invest any more time in this.

  • In the meantime, I have made some progres regarding issue 2.

    As we are using the MCAL, it should not be necessary to unhalt the BSS in our code as this is done within the MCU_Init function, which seems to work fine as it ungates the clock and is doing other housekeeping functionalities. That function also has a waitAPLLCalibration functionality in it.

    Am I correct?

    However, SOC_unhaltDSS still hangs after a cold reset.