I've been looking on your support forum for any way to use the MCHP Bootloader with your compiler, but it seem your default BootStartup routine can't be set to any memory location except the default, and there's no option to disable it. Is there any possiblity that you compiler will support any boot options in the near future?
Thanks
Thumbdrive Boot Loader for Pic32
- janko.kaljevic
- Posts: 3565
- Joined: 16 Jun 2011 13:48
Re: Thumbdrive Boot Loader for Pic32
Hello,
You should be able to use MHCP bootloader with code written in mikroC compiler.
You only need to do orgall to requested address and set interrupts according to bootloader documentation.
Please check Help for details regarding orgall directive.
Best regards.
You should be able to use MHCP bootloader with code written in mikroC compiler.
You only need to do orgall to requested address and set interrupts according to bootloader documentation.
Please check Help for details regarding orgall directive.
Best regards.
Re: Thumbdrive Boot Loader for Pic32
I started with the orgall command, but, if you view the functions sorted by address after you compile the __BootStartup is allways at 0xBFC000000 which is the not where the start address should be for the new flashed program - that's where the bootloader resides.
- janko.kaljevic
- Posts: 3565
- Joined: 16 Jun 2011 13:48
Re: Thumbdrive Boot Loader for Pic32
Hello,
Yes you are right regarding this matter.
At the moment BootStartUp will always be on 0xBFC000000 address, and you will not be able to use it with MHCP bootloader.
This will be fixed for the next release of the compiler.
Thanks for your patience.
Best regards.
Yes you are right regarding this matter.
At the moment BootStartUp will always be on 0xBFC000000 address, and you will not be able to use it with MHCP bootloader.
This will be fixed for the next release of the compiler.
Thanks for your patience.
Best regards.