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.

TMS320F280025C: Configured Zone 2 OTP Register, but it is booting according to Zone 1 configuration

Part Number: TMS320F280025C

Hello,

I have programmed TMS320F280025C ROM Registers - Z1-OTP-BOOTDEF-LOW and Z1-OTP-BOOTPIN-CONFIG using On Flash Tool in CCS. So, The assigned Boot Pins in Zone 1 were incorrect, So, I configured Z2-OTP-BOOTDEF-LOW and Z2-OTP-BOOTPIN-CONFIG correctly. But the system is still booting based on Zone 1 configuration. I decided to check if the BOOT ROM register was written correctly. Here, is the picture of register values

I cannot find Z2-OTP-BOOTDEF-LOW and Z2-OTP-BOOTPIN-CONFIG here. But, using the memory viewer, I checked at Registers Address Z2-OTP-BOOTPIN-CONFIG-0x0005F048 and Z2-OTP-BOOTDEF-LOW-0x0005F04C. The values are written correctly at these register locations. Can you tell me if I did anything wrong?

  • Hi,

    You have followed correct steps. What is the value you have written in Z1 BOOT locations ? Can you send the memory view snapshot with those value. It is strange that Z2 registers are not shown in register view. I need to check on this and get back to you. 

    Regards,

    Vivek Singh

  • Hello Vivek,

    Thank you for replying. I have attached the image below for you to look at. You can see at the address 0x0005F048 and 0x0005F04C that I have configured Zone 2 Boot ROM registers as per TRM.

  • The Value for Z1 BOOT Location

    Z1_BOOTPIN_CONFIG - BMSP2 - 0xFF(Disabled), BMSP1-0X20 (GPIO 32), BMSP0-0x10 (GPIO16).

    Z1_BOOTDEF_LOW - BOOT_DEF3 - 0x03(Flash (Default)), BOOT_DEF2 - 0x02(CAN (Default)), BOOT_DEF1 - 0x01(SCI (Default)),BOOT_DEF0 - 0x00(Parallel Boot (Default)),

    For Z1 BMSP0, Instead of GPIO 17, I have assigned it to GPIO 16 by mistake. So,I configured Zone 2 as below

    Value for Z2 BOOT Registers are 

    Z2_BOOTPIN_CONFIG - BMSP2 - 0xFF(Disabled), BMSP1-0X20 (GPIO 32), BMSP2-0x11 (GPIO17).

    Z2_BOOTDEF_LOW - BOOT_DEF3 - 0x03(Flash (Default)), BOOT_DEF2 - 0x02(CAN (Default)), BOOT_DEF1 - 0x01(SCI (Default)),BOOT_DEF0 - 0x00(Parallel Boot (Default)).

    After configuring Zone 2, when attempting a standalone Boot, it didn't boot as configured. I decided to check with GPIO16 and it booted as configured which is perplexing.

  • Jacob,

    Thank you for providing the detail. We are looking into it and get back to you before end of this week.

    Regards,

    Vivek Singh

  • Hi Jacob,

    We tried this on our setup and it works fine. Once I program Z2 settings, device boots as per new BOOT pin settings. I would suggest to check the value on BOOT pins on your board. 

    Regards,

    Vivek Singh