This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Code only works with Debug adapter

Dear All,

I am using Silabs 8051F340 micro controller and USB debug adapter to download the code to my target CPU.

The problem i am facing is my code works fine when i reset the system using my debug adapter by keeping adapter connected to target CPU. But once i remove the debug adapter from system and switch on system on independent power supply; it shows erratic behavior and doesn't work properly.

Note: My system doesn't have RESET switch. But i feel power on RESET is okay..

Kindly suggest me.

Thank you,
Ameya

Parents
  • "Code only works with Debug adapter"

    With these key words, I remember these causes and solutions.

    a) Noise to the reset (C2CK) and/or C2D pins - pull up both pins.
    b) Slowly-rising power supply - solved by an external supervisor chip to the reset pin.
    c) Broken GND connection - just the debug adapter gives GND connection to PC

    Tsuneo

Reply
  • "Code only works with Debug adapter"

    With these key words, I remember these causes and solutions.

    a) Noise to the reset (C2CK) and/or C2D pins - pull up both pins.
    b) Slowly-rising power supply - solved by an external supervisor chip to the reset pin.
    c) Broken GND connection - just the debug adapter gives GND connection to PC

    Tsuneo

Children
No data