Working with the BW16 bought through Seeed, I have managed to erase the factory BW16 firmware using the OTA method.
I now see #calibration_ok:[2:19:11] coming out of Log-Tx when I reset, which I think means I’ve managed to push the BLINK application successfully.
I have checked that my USB uart is working in both directions, and is connected to the LogTx/Rx lines - I was able to control the native BW firmware.
I have managed to get the module into upload mode, in that it is chucking out loads of 0x15 characters at 115,200 bit/s
When I use the ‘Upload’ button in Arduino, I see the ‘countdown’, but then get the messages:
Uploading…error: Enter Uart Download Mode
Image tool closed!
Upload Image done.
I have a 'scope on the Rx and Tx lines, and can see no activity whatsoever coming from the PC.
It looks very much as though the upload tool is not successfully receiving the 0x15 characters, and is therefore not attempting to establish further communication.
I can see that the IDE is running upload_image_tool_windows.exe.
Trying to run that outside the IDE, I have discovered that it spawns amebad_image_tool.exe
Running that with the -v flag (guessed!) I can see that the program is trying to read one character from the UART, but receiving none - even though the 0x15 characters are being repeatedly sent by the platform.
If I separately open the COM port e.g. in Arduino Serial Monitor, I can see the characters coming in.
If I try to use the Arduino Upload button when I have my com port open in another application I see the error change to ‘could not open com port’, proving that the Upload button is trying to use the correct COM port.
Any ideas?