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.

Device held in reset : F28069

Other Parts Discussed in Thread: CONTROLSUITE

Hello,

I am using the 3V3 pin and the ground pin to power a encoder. When I connect the encoder's ground to the ground on the board I get the following error:

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.747.0)
C28xx: Trouble Reading PC Register: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 5.0.747.0)
C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 5.0.747.0)
C28xx: GEL: Error while executing OnReset(1): target access failed at (ST1&~(0x0100)) [f28069.gel:301] at C28x_Mode() [f28069.gel:32] at OnReset(1) .
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.747.0)
C28xx: Trouble Reading PC Register: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 5.0.747.0)
C28xx: Trouble Reading Register ST1: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 5.0.747.0)
C28xx: GEL: Error while executing OnReset(1): target access failed at (ST1&~(0x0100)) [f28069.gel:301] at C28x_Mode() [f28069.gel:32] at OnReset(1) .
C28xx: Trouble Writing Memory Block at 0x0 on Page 0 of Length 0x2: (Error -1137 @ 0x6) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 5.0.747.0)
C28xx: GEL: File: C:\ti\controlSUITE\device_support\f2806x\v130\F2806x_examples\eqep_pos_speed\Debug\Example_2806xEqep_pos_speed.out: Load failed.

If I remove the ground pin, the program loads perfectly. 

What is the problem and what should I do?

Regards

Abhishek

  • Hello!

    Try connect the encoder's ground to the ground on the board via resistor ~120 Ohm.  If the cable from your encoder have the shielding shell also, you can try to connect this shall to the ground on the board via the capacitor ~ 0,15 uF (NO ELECTROLYTIC!, you can try 1 uF also). Also make sure that the output level of your encoder does not exceed the allowable input level of your board.

    Regards,

    Igor

  • Hello Igor,

    I tried as u said, but the program still gives the same error while loading. I also checked the encoder's output voltage. 

    What might be the problem? What should I do ?

    Regards

    Abhishek

  • Hello!

    I have some questions about your encoder.

    1 What kind of output does have your encoder - unipolar or differercial ?

    2 The encoder cable has the shielded shell or not?

    3 What kind of encoder output signal is - DC or AC?

    At first there is couple schemes for the correct connection of encoder:

     What else?...If you encoder has DC-output (rather it very slowly changing F<5Hz) you can try following:

    Regards,

    Igor


  • Hello Abhishek!

    Sorry! I did not pay the required attention to your sentence: "I am using the 3V3 pin and the ground pin to power a encoder". I think you can not to supply your encoder at this manner. Do you know its power consumption?

    Regards,

    Igor

  • Hello Igor,

    Thanks for reply.

    I got the problem. The XRS pin got short with the QEP pins while soldering. When I de-soldered it, the encoder worked fine.

    Regards

    Abhishek

  • Hello Abhishek!

    Electronics is a science about contacts first! If something does not work then it means that either necessary contact is not present or unnecessary contact is present.

    Good luck,

    Igor