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.

AWR1843BOOST: My code works fine in device when i debug but not working when i flash with uniflash

Part Number: AWR1843BOOST
Other Parts Discussed in Thread: UNIFLASH

Hi,

when i debug my device using CCS(DEBUG MODE), my code works fine, i can able to get data over CAN.

when i flash the generated bin file using UNIFLASH(FLASH MODE) and then i changed device to FUNCTIONAL MODE, in this case my device is not sending any data.

Thanks,

Vimal

  • Hi Vimal,

    It may possible that the application code you have written and built might be falling out of PROG_RAM of MSS. It may cause failure while bootloader loads the image from sFlash to corresponding RAMs.

    First check that after flashing the application does MSS or DSS image is loaded to RAM and initiated or not? 

    1. Connect R4F core from CCS in SOP-4 mode (after application .bin is flashed)
      1. try to write on 0x0 memory. If able to write then MSS application is loaded successfully from bootloader.
      2. If above is yes: check if BSS and DSS is powered on correctly. address 0xFFFFE1EC should have value of 0xF0028 to prove that BSS is unhalted.
      3. Try to connect to DSS core to check if that is un-halted from MSS (soc_init)
    2. Assuming MSS application is loaded then other way to debug here 
      1. Add a conditional infinite while loop to block the MSS execution at the beginning of Main function.
      2. while(waitVariable == 0); /* where waitVariable is global variable and init to zero */ 
      3. connect from CCS and set waitVariable to non-zero to terminate the above while loop.
      4. Do the step debug to find out point of failure in the application.

    And find out while set of code is creating this issue in your edited application.

    Regards,

    Jitendra