Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

Project Request

Return
Mel Hooper
hooper

posted on 2015/05/13 08:10:01 PM CEST

Bootloaders

USB Boot Loader

hi,

Looking for a boot loader that will work as following:
I will copy a hex file to a USB stick.
Then The USB stick will be attached to the USB host connector of my board.
On power up the boot loader will detect the existence of the hex file on the USB stick and will program it to the MCU.
if no hex file found the boot loader will switch and run the existing application.

comments:
1. MCU: PIC32MX7xx
2. Since the application switches ( application settings) could not be changed in the program, it should match the switches of the boot loader code.Thus, source of such a boot loader will be very appreciated.
3. it is OK to assume that only a single hex file is on the USB stick and that it is located in the root directory. it is also OK to assume that the file name format is 8.3 (DOS naming format) and if needed you can assume that the hex file will be always named App.hex

Thanks,
M. Hooper

USER Comments

Mel Hooper
hooper

posted on 2015/05/13 08:15:38 PM CEST

Forgot to mention.
It will be nice if the source code will be in MikroC

  • Rating:
0
No Abuse Reported

Do you want to report abuse comment ID: 1455 in "USB Boot Loader" request.