Hi Dialog,
I recently updated smartsnipets studio v1.6.3 and was trying to use command line interface to erase/burn spi flash memory of da14585 using com-uart.
l have 20 DUTs and every DUT configured to different COM port . It is no problem to erase or burn one DUT at one time. But "COM is in use" would happened randomly at some DUTs when multiple DUTs run at the same time .Command line message shows connected COM port failed, COM is in use . Re-try or more re- try may passed.
logs:
C:\DiaSemi\SmartSnippetsStudio\Toolbox5\SmartSnippetsToolbox5.exe -type spi -chip DA14585-00 -com_port 9 -cmd erase -firmware C:\DiaSemi\SmartSnippetsStudio\Toolbox5\common_resources\flash_programmer_585.bin
Launching SmartSnippets Toolbox v 4.8.3.1804
Using default TxRx pair: P0_4, P0_5.
Connection to COM9 port has successfully opened.
开始download procedure...
***
Please press the hardware reset button on the board to start the download process.
Reset detected
***
***
***
Successfully disconnected from port COM9.
Successfully downloaded firmware file to the board.
Using default baudrate: 57600 Bd.
Connection to COM9 port has successfully opened.
Successfully disconnected from port COM9.
Successfully set SPI Flash gpios: CLK=P0_0, CS=P0_3, MISO=P0_5, MOSI=P0_6.
COM9 is in use. Please replug the board and try again.
Failed connecting to port COM9.
SPI Flash memory erasing failed.
Could you confirm my conclusion, that it is related to SmartSnippet or others ? How can I fixe it.
Best Regard!
Louis Wang
嗨,路易王,
Could you please provide more information about the E-schematic with the connections?
Also, which CLI-commands are you using? It would be useful if you could provide an example of the CLI-command.
Thanks, PM_Dialog
嗨,对话框
l think this issue related to SmartSnippet , because we have project using DA14580 and use old version SmartSnippet (win32 ,v3.9) CLI to flash programming., it doesn't not has this issue. multiple DUTs (16) can run at the same time.
but using new SmartSnippet studio v1.6.3 CLI , "COM PORT is in use" would happened when multiple DUTs run at the same time.
嗨,路易王,
Could you please let me know what you exactly mean “at the same time” and what procedure you want to do in order to replicate your issue? Could you please provide more information about the connection diagram?
Thanks, PM_Dialog