Git Product home page Git Product logo

microchip-pic-avr-examples / pic24-dspic-can-canfd-bootloader Goto Github PK

View Code? Open in Web Editor NEW
16.0 6.0 9.0 9.69 MB

CAN and CAN-FD bootloader example using the ISO-15765-2 CAN transport layer for the PIC24 and dsPIC product lines.

Home Page: https://microchip-pic-avr-examples.github.io/pic24-dspic-can-canfd-bootloader/

License: Other

Makefile 1.35% C 76.35% Assembly 15.32% Batchfile 0.40% Shell 0.38% HTML 6.20% CMake 0.01%
can bootloader can-fd

pic24-dspic-can-canfd-bootloader's Introduction

image

DEPRECATION NOTICE: This repo and associated examples are deprecated.

Please refer to the latest examples at:
https://github.com/microchip-pic-avr-examples/dspic33_dsc_bootloader_code_examples

PIC24/dsPIC CAN/CAN-FD Bootloader Demo

Summary

An example bootloader using the 16-bit MCC bootloader and the CAN or CAN-FD peripheral.

Related Documentation

https://www.microchip.com/16-bit-bootloader

Setup And Operation

There are 4 configurations provided in this demo:

  1. Using CAN classic on a device with the CAN-FD module
  2. Using CAN-FD on a device with the CAN-FD module
  3. Using CAN classic on a device with the enhanced CAN controller
  4. Using CAN-FD on a device with the CAN-FD module and using TA100 for external ECDSA verify

The hardware and software setup is different for each of these use cases. There are readme*.html files associated with each folder that describe the required hardware and software as well as how to setup and run each of the corresponding demos.

dspic33ck-can

dspic33ck-canfd

dspic33ep-can2.0b

dspic33ck-canfd-ta100

pic24-dspic-can-canfd-bootloader's People

Contributors

davidflowers avatar harishagari avatar royabean avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

pic24-dspic-can-canfd-bootloader's Issues

CAN message receive issue after flashing over CAN

Hi guys,

I am currently in the process of implementing flashing via CAN for the dsPIC33CK64MP502. Basically, this works wonderfully.
However, I have the following problem: After I have flashed the program via CAN, the dsPIC does not react to any incoming CAN messages afterwards. However, the main programme runs as usual and CAN messages are also sent by the dsPIC. However, when I manually send messages to the dsPIC, they are not read.
If I flash the software without the bootloader application, i.e. manually not over CAN, both sending and receiving CAN messages works.

Does anyone have an idea what this could be?

Cheers!

Can not flash via CAN FD on dsPIC33CK128MP502

First I've tried the CAN FD bootloader with the Explorer 16 board and the dsPIC33CK256MP508 processor board. This flash fine with the Unified Bootloader host app and a Peak CAN to USB adapter.

My own custom board uses the dsPIC33CK128MP502 controller. First I've tried the UART bootloader and Unified Bootloader host app. That flash my custom board fine.

Then I've created a new project to use the CAN FD bootloader. It tries to program the board but it get stuck at the read back verification stage. My board also uses the Application start address of 0x5000.

Does the CAN FD bootloader work on the dsPIC33CK128MP502 ?
Any tips on how to fix this problem ?

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.