Tiny Bootloader 18F2420


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Location
    GearSweaterMountain, The Netherlands
    Posts
    52

    Default Tiny Bootloader 18F2420

    Hi there,

    I have been trying to get this to work for ages but without any result ...

    I'm trying to use the tiny bootloader, i've searched on the forum, found some information
    but was'nt able to use it ..

    The problem: TinyBld keeps telling
    "Connected to \\.\COM1 at 19200
    Searching for PIC ...Not found,
    ERROR!"

    It's a 18F2420, i used the hex file included tinybld18F2420_int8MHz_19200.HEX
    but that does'nt work. I'm sure the max232 works because when i use the code below
    i receive "test" in a terminal program.

    Does somebody have a working compiled hex for a 18F2420 with internal 8mhz osc lying around ?

    Anyone ?

    Code:
    define OSC 8
    OSCCON = %01111110
    
    DEFINE HSER_RCSTA 90h ' Enable serial port & continuous receive
    DEFINE HSER_TXSTA 20h ' Enable transmit, BRGH = 0
    DEFINE HSER_CLROERR 1 ' Clear overflow automatically
    DEFINE HSER_SPBRG 51  ' 9600 Baud @ 8MHz, 0,16%
    SPBRGH = 0
    BAUDCON.3 = 1         ' Enable 16 bit baudrate generator
    
    ADCON0 = 0
    ADCON1 = %00001111
    TRISA = %00000000
    TRISC = %11000000
    
    START:
    hserout ["test"]             
    pause 1000
    goto start
    
    progend:
    goto progend
    Best Regards,

    UB

  2. #2
    Join Date
    Dec 2009
    Posts
    3


    Did you find this post helpful? Yes | No

    Default Tiny Boot 18F2420

    Did you ever get the tinyboot for 18F2420 working?

  3. #3
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by rinthesun View Post
    Did you ever get the tinyboot for 18F2420 working?
    The original post is over 18 months old... you might not get a response !

  4. #4
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    This is what would worry me...

    tinybld18F2420_int8MHz_19200.HEX

    Are you trying to 'reliably' load a random PIC at 19200 Baud when running an INTERNAL 8MHz Oscillator? Only in your dreams!

  5. #5
    Join Date
    Apr 2006
    Location
    GearSweaterMountain, The Netherlands
    Posts
    52


    Did you find this post helpful? Yes | No

    Default

    Hi there,

    Well i did get it to work, but by using a 16F88 ....
    I could not get the tiny bl to work on the 2420, so i tried a different part to be sure it actually worked, it did work on a 16F88. Reducing the code and adding some extra analogue parts caused that i could stick to 16F88 and so i did ...

    I still have a working 16F88 tiny bootloader hex + flash the led demo for pbp.

    Let me know if you need i it ....

    Best regards,
    Ultiblade

  6. #6
    Join Date
    Dec 2009
    Posts
    3


    Did you find this post helpful? Yes | No

    Default Bootloader 18F2420

    Thanks for your reply. I do have the Tiny Bootloader reliable working with a 16F886 and hoped to get it working with the 18F family. Someone must have it working from the info on the Tiny Bootloader site. I will first try it with a 18F252 and if that works try the 18F2420. If I have any luck I will post it here.

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. Tiny bootloader and 18F4525
    By Najim in forum Off Topic
    Replies: 1
    Last Post: - 11th January 2006, 11:43
  5. Bootloader Problems
    By rossfree in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 11th February 2005, 17:51

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