I’m trying to upload a simple program, the output after building and flashing/uploading via the cloud is:
Scanning dependencies of target main.hex
[100%] Built target main.hex
Build successful. (download HEX ELF)
Programming: error: (invalid bin file)
Rebooting works for one time, but when I try to upload something for the second time I get the invalid bin file error again.
What’s the problem and how do I prevent this error from happening?