Git Product home page Git Product logo

hxp2git / pic_serial_bootloader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from loick-geeks/pic_serial_bootloader

0.0 0.0 0.0 132 KB

This repository contains the source for the serial bootloader that is to be installed on a PIC18F MCU. This code was originally developed and deployed on the BART PTE Interface Panel PIC MCU (PIC18F66K22).

Shell 1.02% C++ 9.14% PHP 1.91% Assembly 31.86% Pawn 45.91% Makefile 10.15%

pic_serial_bootloader's Introduction

PIC Serial Bootloader

This is a serial bootloader originally written for the PIC18F66K22 MCU. The base bootloader has been provided by Microchip under the AN1310 engineering application. At the time of writing this, the best set of instructions for how to implement and use the bootloader can be found under the PTE production documentation set. It's critical to note that the application being loaded get an offset of 0x800 to avoid clobbering the bootloader which 'lives' at the beginning of program space. For instructions on how to apply a code offset, see the README file in the repository for the application to be bootloaded.

Architecture

The Panel Interface Processor (PIP) is the PIC18F66K22. Serial communication is achieved via an FTDI Serial-to-USB converter (FT232RL). MCU serial pins utilized are pins 31 (MCU TX), and 32 (MCU RX).

Dependencies

  • IDE and version: MPLAB X v5.10
  • Compiler and version: mpasmx v5.82
  • Linker and version: mplink v5.09
  • PIC18 Bootloader.asm
  • bootconfig.inc
  • devices.inc
  • preprocess.inc

Tagged Versions

"Out of the box", the bootloader was sitting at revision v1.6. Other tagged versions were not thoroughly documented, nor was a revision control system utilized.

  • Revision v2.0 -- Bootload BAUD rate hardcoded at 115200bps. Bootloader size adjusted accordingly. Bootloader resides at the beginning of program space, thus reset/interrupt vectors have been remapped.

  • Revision v2.1 -- .gitignore file was updated. Upgraded project to MPLAB X latest project version (permission requested when launching the project). The latest project version was used and tested when building this bootloader for the PIC18F67K22 (different repository), thus mitigating risk. Changed version number to 2.1 in bootconfig.inc.

pic_serial_bootloader's People

Contributors

cguenther0929 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.