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.

TMS320F28377S: TMS320F28377SPTP: GPIO72 BOOTLOADER FUNCTION Shield?

Part Number: TMS320F28377S

Hi Sir,

We are using TMS320F28377SPTPT now in our product. and use an Ethercat MICROCHIP LAN9252;

When LAN9252 initialize,  DAT12 Pin(connect to F28377S GPIO72 pin) will drop to low level, keeps several ms;

that will cause DSP to bootloader mode. it's not what we need.

Then, we have change it to some other GPIOs by programming OTP, These details are mentioned in TRM (BOOTROM section).

But, the question is, we can not know if it is successfully programmed. in most situations, we need program  2+ times to changed bootloader pin from default gpio72 to other pin.

Could you give us some advice?  could you give us the operating manual?  whether it is must to use JTAG? Whether it is necessary to shut power down and restart  after programmed OTP?  then only after restart,  we can just programmed application code?

Thanks and wait for you.

Regards.

  • Hi,

    But, the question is, we can not know if it is successfully programmed. in most situations, we need program  2+ times to changed bootloader pin from default gpio72 to other pin.

    How do you know it's not programmed successfully? Are you getting verification error after programming?

    Could you give us some advice?  could you give us the operating manual?  whether it is must to use JTAG? Whether it is necessary to shut power down and restart  after programmed OTP?  then only after restart,  we can just programmed application code?

    It's programmed like any other location in flash. Only difference is it can be programmed only once (can not be erased) and if using security (which I assume is not the case here) then user need to unlock the zone to program these value. To take effect of the new value, user need to reset (not necessary power down) the CPU.

    Can you list down the step you are following and also what tool you are using to program these values and application.

    Regards,

    Vivek Singh

  • 1. We read the register DcsmZ1Regs.Z1_BOOTCTRL.all to verify that the change was successful.

    2. We first burned the program that changed the bootloaderPIN pin, then re-powered and  burned product program

    3. We use C2PROG to connect to the Jtag interface to burn hex files.

  • Hi Cyan Zhou, 

    Have you been able to resolve the issue per recommendation?  Please let us know. 

    Cheers!

    Krishna 

  • Dear Krishna,

    Thanks. Our Customer had add the verify code to cover OP's mistake.