We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 807c7d9 commit 7f6773dCopy full SHA for 7f6773d
tools/ambiq/ambiq_bin2board.py
@@ -426,6 +426,8 @@ def upload(args, verboseprint):
426
#Give bootloader a chance to run and check bootload pin before communication begins. But must initiate com before bootloader timeout of 250ms.
427
time.sleep(0.100) #100ms works well
428
429
+ ser.reset_input_buffer() # reset the input bufer to discard any UART traffic that the device may have generated
430
+
431
connect_device(ser, args, verboseprint)
432
433
if(loadSuccess == True):
0 commit comments