Pedja - very instructive video!
Since there is an onboard 1Mbit FRAM on the hardware that could be used for the intermediate storage of the serially-uploaded code, I'll give it a try. Thanks for the suggestion and your code - I think I get the general drift of it.
On this thread [URL="http://www.picbasic.co.uk/forum/showthread.php?t=10144 "], BradB suggests setting a flag in EEPROM for bootloader/no bootloader at next reset. That sounds useful too, to avoid having to catch the bootloader in time after reset, which can be timing critical - as per your suggestion, Dave.
And a little too late, a thankyou to DarrelT who in an old thread suggested RTFM and @ RESET...


One way to reset would be to clear the watchdog timer yourself,

Bookmarks