Armmite F4: programming the firmware


Author Message
CaptainBoing

Guru

Joined: 07/09/2016
Location: United Kingdom
Posts: 1043
Posted: 11:57pm 19 May 2019      

EDIT:
I am convinced this is the problem now.

I closed the putty window and reset the module and it started running it's prog which chucks loads of stuff out to the console.

I watched for a minute or two and the restart loop thing started. I connected putty, a whole load of text (everything from my startup message) appeared in the console and the restart loop was broken out of.

the conditions are:
OPTION AUTORUN ON
WATCHDOG <WHATEVER>
OPTION SERIAL CONSOLE OFF (so USB console)
no terminal session open to the console.
PRINT (plenty of) stuff out to the console

Then I see the restart loop cycle start.

To clear the problem:
Attach a terminal to the console (Putty/terraterm to the COM port)
or
OPTION SERIAL CONSOLE ON and reset (I haven't actually tried this but Peter arrived at the same conclusion above)

In a nutshell, it seems that printing to the USB console with no terminal attached is a no-no.



Edited by CaptainBoing 2019-05-21