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.

TMS320F28376S: Boot Issue

Part Number: TMS320F28376S

Dear Sir ,

  1. We have  prototype board that we recently got and we are doing bring up  testing  , the board include  TMSF28376SZ
  2. The DSP (TMSF28376SZ) is interfacing FGPA Chip via EMIF1  (as Async RAM 16 bit)
  3. We already tested the  connection  between the DSP and FPGA  and software  by using evaluation boards (including the EMIF)
  4. The Issue (still under investigation ) is that the EMIF is using GPIO-72 which affect the boot mode of the DSP (GPIO-84 is not in used but have pull-up to 3.3V)
  1. If we take a board(prototype) without programming the FPGA  (hence GPIO-72  is not affected by the FPGA  and have pullup to 3.3V) the DSP load up normally
  2. If we take a board (prototype) with FPGA already programed (thus the interface EMIF is enabled and may affect GPIO-72) the DSP wont load up normally

                                                              i.      In this scenario I connected JTAG (USB2000 Blackhwak) to the target  (only symbols loading   without programming)

                                                             ii.      In this scenario I connected JTAG (USB2000 Blackhwak) to the target  (only symbols loading   without programming)

                                                           iii.      In CCS set EMU Boot mode  -> EMU_BOOT_FLASH

                                                           iv.      In CCS Reset the CPU  , and click Resume  the DSP Load normally  

                                                             v.      The Only different is that the boot mode is override by  EMU_BOOT_FLASH

 

  1. from all the above we conclude that GPIO0-72  may be affected by the FPGA during power up , and thus cause the DSP to Enter some  boot mode (such as SCI or parallel GPIO)
  2. in order to solve this the only solution visible solution I can see is FLASH Z1-BOOTCTRL    (set KEY =0x5A  and BMODE=0x0B )  - hence force boot to FLASH
  1. is this the  correct solution ?
  2. are there alternative solution ?
  3. can you please instruct how to FLASH  Z1-BOOTCTRL  ( I saw some example blinkey_with_dcsm_cpu  that has the option to FLASH user OTP)
  4. will this affect Debugging ? (e.g. after FLASH Z1-BOOTCTRL  )

  • 1,2 - yes this is the right solution and no better solution than this.

    3. Assign a global variable with required value and map the variable to address corresponding to Z1-BOOTCTRL OTP. You need to update linker command file accordingly. Then you can load the program via CCS. the CCS flash plugin will take care to write to corresponding OTP and instructed in linker command file.

    4. I dont think this will affect debugging.