Serial comms / Bootloader


Closed Thread
Results 1 to 15 of 15

Hybrid View

  1. #1

    Default Serial comms / Bootloader

    Good day

    I have setup my circuit to be able to do serial comms as well as bootloader software as described at this thread:
    http://www.picbasic.co.uk/forum/show...ght=bootloader

    And have used Mister_e's code here:
    http://www.picbasic.co.uk/forum/show...1&postcount=11

    But everytime I connect or disconnect using hyperterminal it switch my pic off?
    Any idea why this happens?

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Probe your MCLR pin when you disconnect the RS232 cable.

    What's happen? Should go to GND for XYZ time. Place a pull-down resistor on pin 8 of your MAX232.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3


    Did you find this post helpful? Yes | No

    Default

    Hi Steve

    Thx
    I don't have instrumentation to do a probe on mclr.
    Must I just put a pull down resistor on the max (What size 2k)?

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    let's say <10K should be enough. Also... be sure MCLR is tie to VCC with pull-up too.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    a simple probe... use another PIC.
    Code:
    Start:
        While PICInput=1 : wend
        HIGH LED
        pause 2000
        LOW LED
        goto Start
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  6. #6


    Did you find this post helpful? Yes | No

    Default

    Thank you!

Similar Threads

  1. Serial Comms through TX/RX pair jumbled
    By altech6983 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 28th July 2009, 21:04
  2. Simple Serial Comms.
    By koossa in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 23rd November 2007, 08:12
  3. Serial Comms with PIC micros
    By carlsnilsson in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 21st September 2006, 01:00
  4. Replies: 2
    Last Post: - 23rd July 2006, 08:16
  5. BootLoader with USB to Serial Convertors
    By mike101video in forum General
    Replies: 6
    Last Post: - 10th January 2006, 16:48

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