@uwe.fetzer
If you only need AIP SHELL because you have bricked your Wio Terminal and have to delete the boot.py, there is another workaround for this.
You could erase the flash by running the following in the Wio Terminal.
#include <sfud.h>
#define SFUD_DEMO_TEST_BUFFER_SIZE 1024
static uint8_t sfud_demo_test_buf[SFUD_DEMO_TEST_BUFFER_SIZE];
static void sfud_demo(uint32_t addr, size_t size, uint8_t *data);
#define SERIAL Serial
void setup()
{
SERIAL.begin(115200);
while(!SERIAL) {};
while(!(sfud_init() == SFUD_SUCCESS));
/* erase test */
const sfud_flash *flash = sfud_get_device_table() + 0;
uint32_t addr = 0;
size_t size = sizeof(sfud_demo_test_buf);
uint8_t result = sfud_erase(flash, addr, size);
if (result == SFUD_SUCCESS) {
SERIAL.println("Erase the flash data finish");
} else {
SERIAL.println("Erase flash data failed");
}
}
void loop()
{
}
Open serial monitor inside Arduino IDE after the code is successfully uploaded.
Make sure to install the following libraries beforehand:
Seeed_Arduino_SFUD
Seeed_Arduino_FS
Best Regards,
Lakshantha