It seems if I set the i2c rate to 100Khz this works.
Best posts made by ispybadguys
-
A fatal error occurred: Failed to connect to ESP32: Wrong boot mode detected (0x17)! The chip needs to be in download mode.
My M5STACK CORE started behaving like this. It seems if I hit the power button just after the Arduino IDE starts the "connecting..." dialog then it will upload. This is kind of a pain because the device is in another building and I am remoted in.
Any Ideas?
-
esptool write_flash: error: argument : Address "{upload.erase_cmd}" must be a number
I am having problems with the IDE 2.0 uploading to a M5STACK Paper. I researched this error and found one fix. The first fix said to download the Nightly Build so I did.
The error is:
esptool write_flash: error: argument : Address "{upload.erase_cmd}" must be a number
-
RE: esptool write_flash: error: argument : Address "{upload.erase_cmd}" must be a number
Thanks. I did this and also dug out an old windows laptop running Arduino 1.8.19. I downloaded the M5Stack boards file using https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/arduino/package_m5stack_index.json and then installed the M5STACK libraries and the M5EPD library from GitHub. This setup gives the very same error.
Latest posts made by ispybadguys
-
RE: 'USBSerial' was not declared in this scope
Created a new sketch directory and added libraries one by one and as soon it makes it to the linker it has this same error.
-
'USBSerial' was not declared in this scope
I am compiling a project that was hosted on the CORE device on the AtomS3 and I am getting this error
In member function 'void M5AtomS3::begin(bool, bool, bool, bool)': 'USBSerial' was not declared in this scope.
Thanks
Kurt
-
A fatal error occurred: Failed to connect to ESP32: Wrong boot mode detected (0x17)! The chip needs to be in download mode.
My M5STACK CORE started behaving like this. It seems if I hit the power button just after the Arduino IDE starts the "connecting..." dialog then it will upload. This is kind of a pain because the device is in another building and I am remoted in.
Any Ideas?
-
#defines for different M5STACK Controllers
What are the various defined values that identify the various M5STACK controllers. I would like to automatically change the SDL,SCK.
-
RE: M5Stack Paper I2C Doesn't work
Yes. That looks to be the case that it crashed after one or two Wire1 commands. Usually one period is printed but sometimes two. Also the internal I2C does not work is I call M5.begin but it does if I just call Wire.begin.
-
RE: M5Stack Paper I2C Doesn't work
Felix
Yes. I just tried that. I get the same behavior. I moved the script to a new Windows computer and installed the IDE there. I get
13:10:21.290 -> I2C Scan - Port A
13:10:21.290 -> .M5EPD initializing...OK
13:10:25.790 -> I2C Scan - Port AI can actually scan the internal ports correctly if I don't call M5.begin(); and I just do a Serial.begin() and the wire commands.
BTW the boards.txt has an error in it for the M5-Paper and you cannot upload code from the Arduino IDE. I fixed that and I can upload ok now.
Kurt
-
RE: M5Stack Paper I2C Doesn't work
Felix
Thanks for the code . For scanning the I2C. The code produces the following output:
M5EPD initializing...OK
I2C Scan - internal
.M5EPD initializing...OK
I2C Scan - internal
.M5EPD initializing...OK
I2C Scan - internal
.M5EPD initializing...OK -
RE: M5Stack Paper I2C Doesn't work
Yes. I tested the very code you have here with just to include and M5.begin() and I get M5EPD initializing... followed by a 4 second pause and then the OK