m5stack / Core2-for-AWS-IoT-Kit

Accompanying code for use with AWS IoT Kit content. Works with PlatformIO and ESP-IDF v4.2.
https://m5stack.com/collections/m5-core/products/m5stack-core2-esp32-iot-development-kit-for-aws-iot-edukit
MIT License
127 stars 66 forks source link

Serial port monitor blocks the registration_helper.py script #27

Closed scarolan closed 3 years ago

scarolan commented 3 years ago

This may be obvious, but if you have the serial port monitor running (for example, if you followed the first part of the tutorial and left it running), the serial port will be blocked, preventing you from running the script to register your device. You might want to mention this in the docs.

rashedtalukder commented 3 years ago

The dilemma is always how much to include since human beings have a tendency to not read thoroughly (myself included). Writing more only exacerbates the problem. The instructions in Getting Started say to close the serial monitor, and then erase the flash before continuing to blinky. Following those instructions would not give you the error that you're seeing.

BTW, by not erasing the flash earlier, you might have issues later on since it uses different partition tables.