Hi everyone
is it possible to load the microchip bootloader using mplab x IDE and then load the actual program using flowcode?
the idea is as follows
from location 0 to N load microchip bootloader
from location N+ 1 to M load the flowocode program, as in the attached figure.
Is it theoretically possible to do this?
I ask this because the example bootloader of the microchip allows to update the program via usb (and also in other ways)
If this is not possible, are there other ways to update the mcu flash without using the programmer?
the application note of microchip
https://www.microchip.com/wwwAppNotes/A ... e=en554836
bootloader pic32mx
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: bootloader pic32mx
Hello,
Yes this should be possible and we have done so for things like the chipkit devices. There are complications in that you might have to do things like change the address of the linker script so that the project when compiled knows to leave room for the bootloader. e.g. the program starts at 0x1000 instead of 0x0000 based on the size of the bootloader.
The Microchip documentation should hopefully help to get this configured correctly but let us know how you're getting on.
Yes this should be possible and we have done so for things like the chipkit devices. There are complications in that you might have to do things like change the address of the linker script so that the project when compiled knows to leave room for the bootloader. e.g. the program starts at 0x1000 instead of 0x0000 based on the size of the bootloader.
The Microchip documentation should hopefully help to get this configured correctly but let us know how you're getting on.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 143
- Joined: Mon Aug 20, 2018 11:04 am
- Has thanked: 42 times
- Been thanked: 41 times
- Contact:
Re: bootloader pic32mx
Hello
What I'm trying to do right now is to change the sample bootloader and reprogram it for our demo board.
The procedure is not simple because the software is composed of several parts and I have to understand how correctly they work.
Anyway, in the next days I hope to post some progress!
What I'm trying to do right now is to change the sample bootloader and reprogram it for our demo board.
The procedure is not simple because the software is composed of several parts and I have to understand how correctly they work.
Anyway, in the next days I hope to post some progress!
- celebriums
- Posts: 125
- Joined: Sun Sep 25, 2016 3:50 pm
- Has thanked: 71 times
- Been thanked: 33 times
- Contact:
Re: bootloader pic32mx
Dear Ben,
How can I use PIC32MX chips with a simple example?
can you explain?
Thank you
How can I use PIC32MX chips with a simple example?
can you explain?
Thank you
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: bootloader pic32mx
Hello Sadik,
For the PIC32 devices your best bet is probably Microchips Harmony library.
You can download from here: https://www.microchip.com/mplab/mplab-harmony
For the PIC32 devices your best bet is probably Microchips Harmony library.
You can download from here: https://www.microchip.com/mplab/mplab-harmony
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel