D
@robert-hh Thanks for the mention of the -c option! I did not know this, but it works! No more resets needed between commands.
And yes, I understand that I do not need to erase the flash every time I load a new firmware. But my example was trying to show that any 2 commands in a row had the same behaviour, for example:
Run pycom-fwtool-cli -p COM7 lpwan
The correct output is shown, with the SMAC, SID, PAC and LORA REGION
Run pycom-fwtool-cli -p COM7 lpwan once again, without resetting LoPy
The same error occurs: Exception: Failed to connect to ESP32: Timed out waiting for packet header
Now, with the -c option enabled, the procedure above works! Thanks so much!