-
Hello, I recently bought one of Adafruit's new Sparkle Motion Mini boards (based on the ESP32-MINI-1), and have so far been unable to flash anything to it. I haven't found any results for anyone running into issues or offering advice on running Rust on this particular chip so far. I get a MemData error without specifying Is the ESP32-MINI-1 different enough from a "normal" ESP32 to require its own implementation or could I just be getting some configs wrong? I'm still new to embedded programming (and Rust in general; my background is primarily C++ applications). I found on Adafruit's YouTube channel mentioned that they discovered that GPIO 9 and 10 were not available because the ESP32-Mini module [they're] using has slightly different pin availability. They needed to make a change to the WLED project because of this. I've looked around the code here, but there's a lot that's much lower level than my knowledge goes (and a lot of magic numbers as well).
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
A few ideas:
|
Beta Was this translation helpful? Give feedback.
-
Using the latest espflash only resulted in better formatted FlashDeflData (all hex values, so it aligned nicely). esptool didn't give any errors for flash_id:
but it would fail during write_flash (not even sure I'm doing this right)"
I was using a USB-C-to-C cable that either came with one of my Apple device or Pixel phones, so I would expect it to be of good quality, but I tried a couple other USB cables I had and all had the same result. |
Beta Was this translation helpful? Give feedback.
-
I forgot to add, I'm using a MacBook Pro with an Apple M3 Pro. |
Beta Was this translation helpful? Give feedback.
-
To me, it looks like a hw thing as both |
Beta Was this translation helpful? Give feedback.
-
It ended up being a driver issue 🤦♂️. I was able to flash my board using the solution from here, with the drivers from here. Thank you for taking the time to look into this though! Just in case it ends up being helpful in the future, I dug through ladyada's commits a little more and found this PR to the arduino-esp32 project which contains definitions that may be useful for supporting the ESP32-Mini-1 (Sparkle Motion Mini in the PR). |
Beta Was this translation helpful? Give feedback.
It ended up being a driver issue 🤦♂️. I was able to flash my board using the solution from here, with the drivers from here. Thank you for taking the time to look into this though!
Just in case it ends up being helpful in the future, I dug through ladyada's commits a little more and found this PR to the arduino-esp32 project which contains definitions that may be useful for supporting the ESP32-Mini-1 (Sparkle Motion Mini in the PR).