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.

TMS320F280049: How to change EMU-BOOTPIN-CONFIG

Part Number: TMS320F280049

Hi,

I want to debug my code after performing a reboot. But the EMU-BOOTPIN-CONFIG seems to be bad, so he stays in WAIT_BOOT.

How can I change the EMU-BOOTPIN-CONFIG, so that I can force FLASH_BOOT or standalone mode?

Best regards,

Stefan

  • Stefan,

    Please check 4.6.1 Boot ROM Registers and 4.3.1 Configuring Alternate Boot Mode Pins in TRM (https://www.ti.com/lit/ug/sprui33b/sprui33b.pdf)

    Figure 4-2. Emulation Boot Flow describes the flow for emulation boot.  You can emulate standalone boot by configuring EMU_BOOTPIN_CONFIG_KEY as 0xA5.

    Let us know if you need further details.

    Thanks and regards,
    Vamsi

  • Hi Vamsi,

    thanks for your reply. My problem was that I did not know how to change those registers. I tried using #pragma DATA_SECTION, but that did not work for me.

    But I realized I could just set all nibbles in EmuKey and EmuBMode to 0xA5. 

    Best regards,

    Stefan

  • Hi Stefan,

    We have predefined function in Gel file also which you can use to set the emulation boot mode. You can access these function by clicking on "Scripts -> EMU Boot Mode Select -> EMU_BOOT_FLASH" in CCS after connecting to target.

    Regards,

    Vivek Singh