- Copy the file
ExtraFile/SIConfig.hpp.exampletoFirmware/ScribitESP/SIConfig.hpp - Copy the file
ExtraFile/Mk4duoVersion.h.exampletoFirmware/MK4Duo/Mk4duoVersion.h - Copy the file
ExtraFile/ScribitVersion.hpp.exampletoFirmware/ScribitESP/ScribitVersion.hpp - Make the necessary configurations and compile
Follow the instruction on the document MBC-W page 38 (Arduino platform manual installation)
To compile correctly, the following steps are required (All files are located in the Extrafile folder):
- Copy the files
8MB_ffat.csvand8MB_spiffs.csvtoArduino/hardware/METECA/mbc-wb/tools/partitions - Copy the
arduino-mqttfolder toArduino/libraries - Copy the
StepperDriverfolder toArduino/libraries - Copy the
SERCOM.cppfile toArduino/hardware/METECA/mbc-wb/cores/samd21
- Connect to the
ScribIt-APAP. - Send a POST request to
http://192.168.240.1:8888. The body must contain a JSON formatted as follows:{ "ssid": "networkSSID", "password": "networkPsk" }. - The device blinks faster and responds:
- 200: The request is correct. The body contains a JSON formatted as follows:
{"ID":"id_device"}. - 400: Error in the request. The body contains details about the error in the format:
{"error":"error", "ID":"id_device"}.
- 200: The request is correct. The body contains a JSON formatted as follows:
- If the connection is successful, the device turns the LEDs green and reboots; otherwise, it turns them red for 2 seconds and waits for a new configuration packet.
To reset the Wi-Fi configuration, press the button for at least 2 seconds. The device will reboot.
- Compile the firmware.
- Connect to the AP and open the OTA tool.
- Connect to
192.168.240.1on port3232without a password. - Follow the document MBC-W
- If you perform an update from a link on SAMD with the serial monitor open, the port may become inaccessible until the first reboot.
- The device reports insufficient space even if the GCODE is much smaller than 5MB:
- Follow SDK Installation and try flashing again.
- Follow the procedure for flashing the partition table, ensuring that this firmware for the ESP does not coexist with the one for the SAMD partition table.
- After downloading, the robot does not move, and the debug shows many serial errors:
- Follow SDK Installation and verify that the
SERCOM.cppfile has been correctly overwritten.
- Follow SDK Installation and verify that the