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.

TMS320F280033: Code does not run after CPU reset

Part Number: TMS320F280033
Other Parts Discussed in Thread: UNIFLASH

Tool/software:

I tried to follow the steps mentioned by Matthew in this thread, however this again, results in this error: 
No source available for "_system_post_cinit() at C:\Users\10861368\Downloads\003_PHASE_C_final\003_PHASE_C\Debug\003_PHASE_C.out:{3} 0x3fdba4{4}"

Disassembly: 

We tried the configurations with emulation registers wherein it was working. Then after tried using the debug properties to upload to OTP registers. After the first time load into the otp registers it was reading all Highs from 05F008-05F00E. After which controller continuously resets post first reset. Even emulation registers writes are not working & results the same.

Thanks!

  • Hi Sam,

    Are you looking using the memory browser? Seems like the memory map is showing the locations as 0xFFFF or erased- CCS should be able to program these to your values. Are you using the On-Chip Flash tool to try to program the OTP?

    Best Regards,

    Allison

  • hey Allison, 

    Yes, the memory browser shows this:


    In CCs, I went to project properties>Debug>Flash Settings and tried to set these values. 


    Still, I am facing this issue. Do you need any more info? 

    Thanks, 
    Samruddhi 

  • Hi Samruddhi,

    Are you trying to program the GPREG registers? Those registers are read-only; you should be programming the corresponding fields in OTP.

    Also, based on the previous thread, have you already programmed the EMUBOOTCTRL (which you can do if you still don't want to program OTP values yet)?

    Best Regards,

    Allison

  • Hi Allison, 

    1. I am trying to program the OTP fields, as mentioned is in the technical reference manual,

     

    2. I have tried with Emulation mode, but the problem of CPU reset persists. 

    Thanks, 
    Samruddhi 

  • Hi Samruddhi,

    Can you show a screenshot of the memory browser starting at 0x78000 so we can double check that the OTP listed above is being written to?

    What are the EMUBOOTCTRL and EMUBOOTPINCONFIG values when you try emulation boot mode? Can you look at these in the register view? How are you writing to it and what are you doing to test emulation boot mode (procedurally).

    Note that if you want to write to OTP, you should use the on-chip flash tool; contrastingly, if you are trying to carry out emulation boot, you should be writing to the EMU registers using the CCS registers window.

    Best Regards,

    Allison

  • Hello Allison, 
    We tried using uniflash for writing these values, and it worked! 
    Thanks for all your help!