Pic reset and following lock up problem


Results 1 to 20 of 20

Threaded View

  1. #14
    Join Date
    Dec 2007
    Posts
    11


    Did you find this post helpful? Yes | No

    Default

    Hi Everyone,

    I use Usb to Serial adaptor to communicate between Pic and PC. I noticed that when I fire the coil without the high tension lead and spark plug (the spark jumps to the secondary earth wire that goes to the battery negative terminal) my Usb to Serial adaptor locks up and I have to reconnect it on the usb side. But if I communicate with stand alone Pic powered from a separate power supply and trigger the coil from my circuit everything works fine.

    I tried to Debug Status and Pcon registers to determine the cause of the reset. When I disconnect power or ground the MCLR pin it doesn’t change the registers. I attached the code. Can someone have a look at it please
    Attached Files Attached Files

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts