Open pulkin opened 4 years ago
I don't know if this help somehow: I disconnected the usb cable while burning ! after that it appear in device manager as usb device:
I could reproduce the same indeed:
[Sun Sep 20 19:51:46 2020] usb 1-4: new full-speed USB device number 19 using xhci_hcd [Sun Sep 20 19:51:46 2020] usb 1-4: New USB device found, idVendor=1e04, idProduct=0900 [Sun Sep 20 19:51:46 2020] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [Sun Sep 20 19:51:46 2020] usb 1-4: Product: Coolsand [Sun Sep 20 19:51:46 2020] usb 1-4: Manufacturer: Coolsand Technologies [Sun Sep 20 19:51:46 2020] usb 1-4: SerialNumber: Host USB
the official tool be able to flash rom from usb i changed this line in download.ini located in cfg folder
[download]
8955Dnload=1
useCom=1
useUsb=1
enableUSB=1
Warning !!! it seems erase NV data
>>> cellular.get_imei()
'000000000000000'
i don't know how to get something from those lines:
well they seem to be quite interesting, KEYIN_1 is responsable to enable BOOT_MODE_FORCE_MONITOR, indeed if I bridge IO26 (GPIO_26=KEYIN_1) with RST and I plug the usb cable to the computer at least linux is detecting the new usb device! :)
Great news, so is possible now to burn python firmware to the board without USB to TTL !
There are no
csdk
functions available, however, the module seems to support it whileelf
/lod
containshal_Usb*
functions (signatures are here). It would be nice to implement the serial port over USB as a start.