1
µTasker general / Serial Loader Timout - back to Application
« on: January 22, 2021, 06:28:07 AM »
I have everything working with the MSD-device serial loader but have one remaining issue. The application is a full function battery monitor *inside* a line of high capacity lithium batteries (for marine and auto use). Since the system is inside a sealed battery, there is no way to recycle power to the system as it is started at the battery factory and runs forever from there. The concern is that a user or technician can get the system into the serial loader and not have a way to recover.
There is a membrane button switch assembly on the battery to restart the system via a serial connection (among othe things) and if the user holds a specific key while the start-up is in process, the serial loader executes (via FORCE_BOOT). Once in the serial loader. there is no way to return to the application since the serial port no longer exists.
I am looking for a way to have the serial loader timeout and return to the application. I could enable the SREC serial loader in addition to the MSD-device but don't know how to use that to get back to the applicaiont firmware. The concern here is that while the serial loader menu would come up, the user would connect to the system with a PC *after* the menu was sent. I was thinking of how to use the watchdog timer but the timout would have to be maybe 30 seconds but I don't see how to do that.
Any advice on this problem is appreciated!
Thanks
Al
There is a membrane button switch assembly on the battery to restart the system via a serial connection (among othe things) and if the user holds a specific key while the start-up is in process, the serial loader executes (via FORCE_BOOT). Once in the serial loader. there is no way to return to the application since the serial port no longer exists.
I am looking for a way to have the serial loader timeout and return to the application. I could enable the SREC serial loader in addition to the MSD-device but don't know how to use that to get back to the applicaiont firmware. The concern here is that while the serial loader menu would come up, the user would connect to the system with a PC *after* the menu was sent. I was thinking of how to use the watchdog timer but the timout would have to be maybe 30 seconds but I don't see how to do that.
Any advice on this problem is appreciated!
Thanks
Al