@funkyfab : had to flash with DIO mode once.
Posts made by FunkyFab
-
RE: M5Atom Matrix crashing: can't use
-
RE: M5Atom Matrix crashing: can't use
@m5stack: thanks. According to the Arduino IDE, it's flashed. However, despite the fact that I use a very simple sketch from the examples (WifiScan), it's still crashing.
My Board is correct (M5StackCore-ESP32), my upload speed is 115200, flash frequence 80 MHz, flash mode QIO, partition scheme Default (also tried NO OTA).
The serial monitor shows some output from the board, but unintelligible (I've tried all the possible baud values).
Is there any option that I've missed ?
Regards -
M5Atom Matrix crashing: can't use
Dear all,
I have a M5Atom Matrix, and using Arduino IDE to program it.
Last sketch I wrote was faulty, and now, the M5Atom Matrix is crashing as soon as its plugged in.
As a consequence, the serial port opens, and closes immediately, which makes it impossible to connect to in order to load a different sketch.
How can I deal with that? -
RE: USB driver for Raspberry Pi
I'll answer myself ;-)
I copied the /lib/udev/rules.d/69-libmtp.rules to /etc/udev/rules.d, added the line
ATTR{idVendor}=="0403", ATTR{idProduct}=="6001", GOTO="libmtp_rules_end"
That prevents the M5 devices to be recognized as MTP devices.
Then they're recognized as Serial ports, and Arduino IDE can access them.So we don't need the driver, just a change in udev configuration.
-
USB driver for Raspberry Pi
Hi there,
I'm trying to have the M5Stack products communicating by USB with my Raspberry PI.
I've tried using the source package from https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/drivers/CP210x_VCP_Linux.zip.
I unzip the file, I have a .tar.gz file, I gaip -d it, got a tar. When doing a tar xvf on it, I have some error messages (tar: Ignoring unknown extended header keyword 'SCHILY.dev' for instance).
I have only few files, including a Makefile, but when I run the make command, I have :
make -C /lib/modules/uname -r
/build M=/home/pi/Downloads/toto modules
make[1]: *** /lib/modules/4.19.66-v7+/build: No such file or directory. Stop.
Makefile:7: recipe for target 'all' failed
make: *** [all] Error 2I've also tried directly connected my M5Stack device, but I have the following lines in my /var/log/messages, and there's not serial port available:
Jul 28 08:47:56 raspberrypi kernel: [61085.228222] usb 1-1.2: new full-speed USB device number 11 using dwc_otg
Jul 28 08:47:57 raspberrypi kernel: [61086.098232] usb 1-1.2: new full-speed USB device number 12 using dwc_otg
Jul 28 08:47:57 raspberrypi kernel: [61086.232479] usb 1-1.2: New USB device found, idVendor=0403, idProduct=6001, bcdDevice= 5.00
Jul 28 08:47:57 raspberrypi kernel: [61086.232503] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul 28 08:47:57 raspberrypi kernel: [61086.232516] usb 1-1.2: Product: M5stack
Jul 28 08:47:57 raspberrypi kernel: [61086.232528] usb 1-1.2: Manufacturer: Hades2001
Jul 28 08:47:57 raspberrypi kernel: [61086.232539] usb 1-1.2: SerialNumber: 7152FA2E93
Jul 28 08:47:57 raspberrypi kernel: [61086.234008] ftdi_sio 1-1.2:1.0: FTDI USB Serial Device converter detected
Jul 28 08:47:57 raspberrypi kernel: [61086.234353] usb 1-1.2: Detected FT232BM
Jul 28 08:47:57 raspberrypi kernel: [61086.235408] usb 1-1.2: FTDI USB Serial Device converter now attached to ttyUSB0
Jul 28 08:47:57 raspberrypi mtp-probe: checking bus 1, device 12: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2"
Jul 28 08:47:57 raspberrypi mtp-probe: bus: 1, device: 12 was not an MTP device
Jul 28 08:47:58 raspberrypi kernel: [61086.473162] usb 1-1.2: USB disconnect, device number 12
Jul 28 08:47:58 raspberrypi kernel: [61086.474080] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Jul 28 08:47:58 raspberrypi kernel: [61086.474251] ftdi_sio 1-1.2:1.0: device disconnected
How can we have the USB communication working with the Raspberry Pi ?