$ make deploy
**************************************************************
Programming the ESP32 in MATRIX Voice through the Raspberry PI
**************************************************************
pi@192.168.1.118's password:
-----------------------------------
esptool.py wrapper for MATRIX Voice
-----------------------------------
esptool.py v2.2.1
Connecting........_____....._____....._____....._____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to ESP32: Invalid head of packet ('\x00')
Thanks, AFAIK there shouldn’t be anything else using /dev/ttyS0
Here is the output
pi@raspberrypi:~ $ dpkg -l | grep matrixio
ii libmatrixio-creator-hal:armhf 0.1.4 armhf Hardware Abstraction Layer for MATRIX.
ii libmatrixio-creator-hal-dev 0.1.4 armhf Hardware Abstraction Layer for MATRIX (headers)
ii libmatrixio-malos:armhf 0.1.2 armhf Libraries of MATRIX abstraction layer for MOS
ii libmatrixio-protos:armhf 0.1.1 armhf Protocolbuffers for MATRIX abstraction layer
ii matrixio-creator-init 0.4.0 armhf Install scripts that can program the MATRIX Creator FPGA and SAM3 IMU.
ii matrixio-malos 0.2.2 armhf Allows queries to MATRIX Creator hardware via ZMQ.
ii matrixio-openocd 1.0.1 armhf Open on-chip JTAG debug solution for ARM and MIPS systems
ii matrixio-protobuf 3.4.0 armhf Protocol Buffers - Google's data interchange format. (From GRPC 3.4.0)
ii matrixio-xc3sprog 1.1.1 armhf Spartan3, XCF and CPLD JTAG programmer and other utilities.
The communication between ESP32 and Raspberry PI is with Serial Port. In this case, we are using the /dev/ttyS0, as you show me, the /dev/ttyS0 has not be activated. This activation should be done by the matrixio-creator-init package. Let us review it and test. I will share with you our findings and how to resolve this issue.
Thanks, but unfortunately no success. Upgraded, rebooted and ran commands, but still have the same error. I did notice my output shows esptool.py as v2.2.1 whereas yours shows v2.2