Posts: 13
Registered: ‎03-16-2017

8051f350 reset unwillingly

hi, m attaching my code below. The problem with the code is

  1. when 8-bit debugger is connected and the debugger mode is on, the program runs with no problem.
  2. When the debugger is physically connected but not disconnected from software, the controller resets after certain interval.
  3. When the debugger is not physically connected, the controller doesn't resets but serial communication doesnot work.

please help.