gloface - 2017-10-03

Hi,

I'm working on a PIC18F65K22 and i've noticed an issue but haven't figured out the cause.
So in normal conditions, everything works out well. I have a reset command in my firmware which can be sent from the app to re-enter the bootloader to rewrite the firmware.
However, if i flashed the bootloader in and left the device idle for a few minutes before writing my firmware, the device will appear frozen in the bootloader sequence even after the Tiny Multi bootloader GUI says transferring successful. A power reset would make everything run normally again.
I am able to tell that my firmware has not run because i have modified the bootloader to light up a LED at the beginning and my firmware will switch it off at its initialization stage.
This problem is not present if i were to write the firmware within a couple of seconds from starting the bootloader.
Also to note that subsequent firmware writing through the reset command all works fine.