Thumbdrive Boot Loader for Pic32

Post your requests and ideas on the future development of mikroC PRO for PIC32.
Post Reply
Author
Message
woosel
Posts: 2
Joined: 13 Feb 2012 19:37

Thumbdrive Boot Loader for Pic32

#1 Post by woosel » 13 Feb 2012 20:20

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

User avatar
janko.kaljevic
Posts: 3565
Joined: 16 Jun 2011 13:48

Re: Thumbdrive Boot Loader for Pic32

#2 Post by janko.kaljevic » 14 Feb 2012 17:50

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.

woosel
Posts: 2
Joined: 13 Feb 2012 19:37

Re: Thumbdrive Boot Loader for Pic32

#3 Post by woosel » 17 Feb 2012 16:38

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.

User avatar
janko.kaljevic
Posts: 3565
Joined: 16 Jun 2011 13:48

Re: Thumbdrive Boot Loader for Pic32

#4 Post by janko.kaljevic » 20 Feb 2012 15:55

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.

Post Reply

Return to “mikroC PRO for PIC32 Wish List”