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.

TMS320F28388D: Entry point at Device Boot mode

Part Number: TMS320F28388D

HI Team,

 

Is it possible to change the entry point at Device Boot mode?

The customer wants to change the entry point to 0x0A8000.at Device Boot mode.

Do they only need to changed 2838x_FLASH_lnk_cpu1.cmd file as below?

   BEGIN           : origin = 0x0A8000, length = 0x000002

   :

   FLASH8           : origin = 0x0A8002, length = 0x007FFE /* on-chip Flash */

 

Is there any limitation for brunch address from the entry point?

 

Thanks and Best regards,

Kuerbis

  • are you using flash boot mode ? only selected addresses are allowed as entry point in flash boot.

    Yes you need to change the linker command file. And also configure custom boot through OTP for changing the address. Refer TRM for more details on this.

  • Hi Baskaran,

     

    Yes, the customer is using flash boot mode.

    In case of Flash boot with a yellow marker in Table 5-6 and not configure custom boot through OTP, What value is used for entry point?

     

    When BEGIN origin is 0x080000, FLASH boot works,

       BEGIN           : origin = 0x080000, length = 0x000002

       :

       FLASH0           : origin = 0x080002, length = 0x001FFE /* on-chip Flash */

     

    When BEGIN origin is 0x0A8000, FLASH boot doesn’t work.

       BEGIN           : origin = 0x0A8000, length = 0x000002

       :

       FLASH8           : origin = 0x0A8002, length = 0x007FFE /* on-chip Flash */

    Thanks and Best regards,

    Kuerbis

  • Hi,

    In case of Flash boot with a yellow marker in Table 5-6 and not configure custom boot through OTP, What value is used for entry point?

    Address 0x080000 (BEGIN           : origin = 0x080000) is used for entry point.

    As Baskaran mentioned, section "5.7.3 Entry Points" have tables which has detail about different entry point. Below is snapshot for CPU1.

    Since you want to use "Option 2" for entry point instead of default entry point, you need to change the BOOTDEF value as per Table 5-58 .

    Regards,

    Vivek Singh

  • HI Vivek.

     

    Thank you for your reply.

    I understand Address 0x080000 (BEGIN : origin = 0x080000) is used for entry point without configure custom boot through OTP.

     

    Do you mean that I only need to change Z1-BOOTDEF-LOW to 0x43 to use "Option 2 : 0x0A8000"?

    So that 0x0A8000 is set as entry point at yellow marker in Table 5-6. Is my understanding correct?

    I don’t need to change BOOTPINCONFIG register. Correct?

      

    Thanks and Best regards,

    Kuerbis

  • Z1-BOOTDEF-LOW and BOOTPINCONFIG need to be configured together for this scheme to work.

  • Hi Baskaran

     

    Thank you for your reply.

    I understand I need to configure Z1-BOOTDEF-LOW and BOOTPINCONFIG based on the description in 5.4 Device Boot Configurations to change the entry point and the flow is go through at yellow green marker in Table 5-3. Is my understanding correct?

     

    Z1-BOOTDEF-LOW and BOOTPINCONFIG register is OTP register. So those can only be written once.

    So I should to check the function to use EMUBOOTDEF-LOW and EMUBOOTPINCONFIG at Emulation boot flow before I write OTP registers. Right?

     

    Thanks and Best regards,

    Kuerbis

  • yes you are correct.

  • Hi Baskaran

     

    Thanks!

     

    Best regards,

    Kuerbis