Bin mir nicht sicher wo der Beitrag am Besten reinpasst, hoffe hier is es ok.
Ich möchte meinen Wipy mit Expansion Board 3.1 über USB an einen Raspi 3 anschließen. Aber der Wipy wird nicht erkannt, glaub ich zumindest.
Welches dev unter /dev/… sollte das sein?
Direkt nach dem Anstecken einfach mal “dmesg” ausführen:
root@raspberrypi:~# dmesg
[595288.793651] usb 1-1.5: New USB device found, idVendor=04d8, idProduct=ef98
[595288.793670] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[595288.793681] usb 1-1.5: Product: Expansion3
[595288.793693] usb 1-1.5: Manufacturer: Pycom
[595288.793704] usb 1-1.5: SerialNumber: Pyd50392
[595288.801160] cdc_acm 1-1.5:1.0: ttyACM1: USB ACM device
root@raspberrypi:~/hiveeyes-micropython-firmware# make list-serials
USB Serial Device 04d8:ef98 with vendor 'Pycom' serial 'Pyd50392' intf 'Expansion3' found @/dev/ttyACM1
USB Serial Device 0483:5740 with vendor 'STMicroelectronics' serial '3EA5F0C2B81C' found @/dev/ttyACM0
root@raspberrypi:~/hiveeyes-micropython-firmware# export MCU_PORT=/dev/ttyACM1
root@raspberrypi:/hiveeyes-micropython-firmware# make repl
.venv3/bin/rshell --port /dev/ttyACM1 --buffer-size 2048 --timing repl
Using buffer-size of 2048
Connecting to /dev/ttyACM1 (buffer-size 2048)...
Trying to connect to REPL connected
Testing if ubinascii.unhexlify exists ... Y
Retrieving root directories ... /flash/
Setting time ... May 01, 2019 09:50:36
Evaluating board_name ... pyboard
Retrieving time epoch ... Jan 01, 1970
Entering REPL. Use Control-X to exit.
>
Pycom MicroPython 1.20.0.rc9 [v1.9.4-7eeaf3f] on 2019-04-01; WiPy with ESP32
Type "help()" for more information.
>>>
>>>