bootloader does not work..


Closed Thread
Results 1 to 23 of 23

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default Re: bootloader does not work..

    Thanks Sylvio,

    It looks like TX pin 11 of the Max232 chip (red wire) is going to the RX pin of the PIC chip. In this case RX should go to RX and TX should go to TX.

    Name:  max232.gif
Views: 32001
Size:  6.3 KB
    http://www.scalerobotics.com

  2. #2
    Join Date
    Oct 2011
    Posts
    5


    Did you find this post helpful? Yes | No

    Default Re: bootloader does not work..

    Quote Originally Posted by ScaleRobotics View Post
    Thanks Sylvio,

    It looks like TX pin 11 of the Max232 chip (red wire) is going to the RX pin of the PIC chip. In this case RX should go to RX and TX should go to TX.

    Attachment 6059

    ya,I changed the connection.but now the bootloader show this when i tried to write flash


    Connected to \\.\COM4 at 9600
    HEX: 3052 days old, INHX8M,16Fcode+cfg, total=200 bytes.
    Searching for PIC ...Not found,
    ERROR!


    so what can i do with this?thank you

  3. #3
    Join Date
    Oct 2010
    Posts
    5


    Did you find this post helpful? Yes | No

    Default Re: bootloader does not work..

    bmmilk,
    Can you check the following things

    1. You are supposed to use the programmer to download the tinybld_xxxxx.hex file. Once it is done the chip will learn how to talk with tiny bootloader using serial port. After that you should be able to use serial port to download your own program (try with some blinky program).

    2. If you are using electrolytic capacitor for MAX232 check the polarity of the caps. A single reverse caps can create those problems.

    3. PIN 11 of MAX232 should go to RC6 and PIN 12 to RC7 of uC.

    4. PIN 13 and 14 of MAX232 should go to Tx (pin 3) and Rx (pin 2) of serial port (DB9).

    5. Make sure you have the right baud rate. It should be defined in the .asm file.

Similar Threads

  1. PIC18F4680 bootloader
    By vinyl_theif in forum General
    Replies: 1
    Last Post: - 29th January 2009, 17:45
  2. 18F4550 Bootloader enter via eeprom setting
    By bradb in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 22nd November 2008, 23:51
  3. USBDemo with Bootloader
    By vacpress in forum USB
    Replies: 4
    Last Post: - 25th January 2007, 22:29
  4. Bootloader Problems
    By rossfree in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 11th February 2005, 17:51
  5. Pin RA4 doesn't work
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 0
    Last Post: - 15th July 2004, 12:03

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