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.

Taking TMS320F28335 out of reset

Other Parts Discussed in Thread: TMS320F28335, CONTROLSUITE

Hi 

I am trying to run some code into TMS320F28335 using F28335 and C2000 and Code Composer Studio. But whenever I try to debug, , the following error shows up:

C28xx: Failed Software Reset: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 5.0.872.0) 

Any suggesion will be highly appreciated. I am new to TMS320F28335. 

  • Hi Fahad!

    Fahad Hossain said:

    I am trying to run some code into TMS320F28335 

    1 What is your some code? Is this some example from controlSUITE or something else?
    2 What about watchdog timer? Did you disable it? :
    EALLOW ;Enable EALLOW protected register access

    MOVZ DP, #7029h>>6 ;Set data page for WDCR register
    MOV @7029h, #0068h ;Set WDDIS bit in WDCR to disable WD
    EDIS ;Disable EALLOW protected register access

    3 Do you use RAM configuration or Flash configuration for your CCS project?

    Regards,

    Igor

  • 1. Yes ... it is the controlSuite SCI_echoback example

    2. The code calls a function which disables watchdog timer and EALLOW. The name of the function is disableDog()

    3. I am using Flash configuration: The option I selected from CCS is:  Erase, Program, Verify

    My understanding is very little in this topic. I really appreciate your help. 

  • Hi Fahad!

    What about this manual 3362.TI_Running_from_Flash_spra958l.pdf? Did you go through it already?

    Regards,

    Igor

  • Hi Fahad,

    If its the sample SCI_echoback example then, it would be RAM based and not flash based. If you've replaced the RAM based cmd file with a Flash based one then as Igor has mentioned go through the above doc. Unless you configure your flash properly you'll not be able to execute the code.

    Regards,

    Gautam