Bootloader PC application questions
Posted: 18 Aug 2017 10:12
Hi there,
once more i try to understand the PIC32 USB HID Bootloader because i want to create a Bootloader for live updating my PIC32.
The normal user app should receive the new program which will be stored in an external flash. Then, after a reset, the Bootloader should copy over the firmware from the external flash to its internal program flash.
Since a few days i'am trying to reverse engineer how the PC application of the HID Bootloader is working to better understand which modifications to the hex file need to be made in order to run a user-program uploaded by the bootloader.
So i need some help please:
1. I know mikroe wont provide the full source code of the PC application but can you please tell me which modifications of the user-app are necessary. Or maybe you can provide just that piece of source.
2. The example folder contains a PDF called "PIC32 USB HID BootLoader Memory Layout.pdf" which shows the memory layout. In this file there's an annotation which says: "Application code must have some configuration word settings as bootloader firmware".
What does that mean? What are these configuration word settings?
once more i try to understand the PIC32 USB HID Bootloader because i want to create a Bootloader for live updating my PIC32.
The normal user app should receive the new program which will be stored in an external flash. Then, after a reset, the Bootloader should copy over the firmware from the external flash to its internal program flash.
Since a few days i'am trying to reverse engineer how the PC application of the HID Bootloader is working to better understand which modifications to the hex file need to be made in order to run a user-program uploaded by the bootloader.
So i need some help please:
1. I know mikroe wont provide the full source code of the PC application but can you please tell me which modifications of the user-app are necessary. Or maybe you can provide just that piece of source.
2. The example folder contains a PDF called "PIC32 USB HID BootLoader Memory Layout.pdf" which shows the memory layout. In this file there's an annotation which says: "Application code must have some configuration word settings as bootloader firmware".
What does that mean? What are these configuration word settings?