Menu

Self-writing of bootloader

Dan
2013-11-23
2013-12-13
  • Dan

    Dan - 2013-11-23

    Hi,All

    I will introduce a self-writing program in the bootloader. (PIC10F322)

    1.Write this program in Tiny PIC/AVR Bootloader+.
    2.Turn off the power of the board, to start the Teraterm.
    3.Turn on the power of the board.
    4.The drag-and-drop to TREATERM the HEX file that you want to rewrite.
    5.Complete rewrite, "Rewrite Done" message is displayed.

    Best regards,
    Dan

     

    Last edit: Dan 2013-11-23
  • Dan

    Dan - 2013-11-23

    And this.

     
  • Dan

    Dan - 2013-11-25

    Hi,All

    This is a source program for PIC18F and PIC18F J-Type.

    The usage is the same.

    Because not performed strictly reading process HEX file,

    Placement of the bootloader is the case of greater than 0xFFFF device,

    I can not guarantee operation.

    I have done in the PIC18F25J11 PIC18F14K50 test.

    There is a need to change the number of places the source in case of using other devices.

    I have described in the source.

    Best regards,
    Dan

     
  • Dan

    Dan - 2013-11-27

    Postscript

    Please do the following set of TeraTerm to write with certainty.

    menu->Setup->serial Port...

    Transmit delay = 100 ms/line

     
  • Dan

    Dan - 2013-11-27

    Hi,All

    This is the PIC16F/12F with UART Device version.

    The usage is the same.

    Best regards,
    Dan

     
  • Dan

    Dan - 2013-11-27

    Hi,All

    This is the PIC16F/12F with/without UART Device version.

    There was a bug in the program that was uploaded in the previous thread.

    Discards the program in the previous thread, and will post the new program.

    It has also created a program for the devices that do not turrets the UART.

    I tried in the PIC12F617, process does not catch up to not put the Transmit delay.

    So I will add the following conditions.

    Transmit delay 1msec/char

    2013.11.30 postscript

    I have updated the Image2.jpg

     

    Last edit: Dan 2013-11-30
  • edorul

    edorul - 2013-12-12

    Hello Dan!

    This self writing of the bootloader is meant for update of the bootloader without the need of a PIC programmer?

    If so, do you want we add it in the "tinyBootloader+" PC software?

    Best regards,
    Edorul

     
  • Dan

    Dan - 2013-12-13

    Dear Edorul.

    I think I may if I housed in the utility folder this.

    Tiny_Avr-Pic_Bootloader+ (v0.X.X)
    +docs
    +firmwares
    +sources_soft_PC
    +utility
    +update_bootloader_without_programmer
    +docs
    +PIC10F322
    +PIC12/16F_woUART
    +PIC12/16F_wUART
    +PIC18F_and_PIC18F(K)
    +PIC18F(J)

    Best regards,
    Dan

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.