Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Command-line tool for downloading new firmware to the PIC18FXXK80 family microcontrollers

License

NotificationsYou must be signed in to change notification settings

qnx425/mpcanflash

Repository files navigation

This is a fork of themphidflash utility adapted to use withCAN Bootloader. There are no functional but technical changes only.

It is assumed that target PIC18FXXK80 MCU has pre-installedCAN Bootloader firmware and works as a CAN-bus node.

To download a new program to your MCU, you must connect your PC to CAN bus withUSBtin,CAN232 orCANUSB device. And evenELM327SLCAN.

Building and Installing

To build mpcanflash for Windows, you can use mingw32 compiler. In the Windows commmand line window type:

mingw32-make

This will create a mpcanflash.exe in the bin sub-directory, which can be called from the Windows commmand line. You should copy this file somewhere on your executable path.

Usage

For a description of all available options type: mpcanflash -h

For comprehensive information about the device operation read carefully 'Device - Boot Loader - HID' chapter in 'help_mla_usb' document fromMicrochip Libraries for Applications collection.

Examples

First you can try to download some piece of firmware for test purposes, without signing. This allows MCU firmware to stay in boot mode and return some information.
For example, downloadtest1.hex ortest2.hex as shown below.

After typing 'g' command inTermite window you get response:


or

Later you can download real workingfirmware, sign it ...

... and watch thatit works.

About

Command-line tool for downloading new firmware to the PIC18FXXK80 family microcontrollers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp