??? 11/03/09 05:46 Read: times |
#170375 - C2 debugger interface resets when ground pin is touched |
In one of our new boards with 8051F340, when C2 interface is connected to run the code, code always jumps to ?C_STARTUP point whenever the ground or 5 V supply point of the card is touched with hand. But when single stepped once, then it jumps to some point where it is it not supposed to. The instruction is an LJUMP, but it jumps to a different point! C2/CK point of debugger is directly connected to RST of the chip, and the same point is pulled up to Vcc. Without using the debugger, board works fine. Vcc of the chip is decoupled behind the chip itself with a 0.1. Supply point is decoupled at source with 3.3 tantallum and 0.1. Ferrite bead is used after the regulator (LM317 for 3.3ing from 5volt source). Source is a linear regulator with 5 volts DC output. Board has just the chip + optoed I/Os + one MAX 232 which is used to connect to a GSM modem. The 50 Hz noise from body seems to be affecting C2 debugger in debug mode.
Kindly comment.. |