3DR tech support got back to me this morning:
It is a known problem with the Mission Planer
They recommend to try the 3DR Radio Configurator from here:
But I get the same results .... sync is lost during the firmware upload.
Does anybody else have this issue or a solution?
It happened to me a few times. I just kept retrying it and it went on about the 3rd try. Not sure why it's doing this. None of the other uCs I have flashed ever say anything about syncronization, so I have no idea what sort of "syncronization" the update programs think they need.
"Syncronization" is the bootloader on the chip that allows you to program over the UART (AKA serial connection) VS a dedicated ICSP (In Circuit Serial Programmer) port that requires an external programmer device such as the AVR MK2 or USBtiny or others for PIC devices.
What it's telling you is that it's trying to reset the bootloader and go into "program mode". It's known that this bootloader has a short time window, otherwise it's jumped into the running code.
Well I guess I could try a faster PC and see if that gets around the timeout issue.
Other than that I am stuck with a piece of electronic that lights up red when you plug it in.
The PC has little to do with it other than possibly the USB port. Obviously you really didn't understand what I was saying, it just means the software attempted to reset the hardware and for whatever reason, the device what not in program mode when it was expected to be.
Exactly, and sorry I came off that way. This still sounds like one of two issues. Either the driver and/or hardware USB to serial conversion has a problem (most if not all of the microcontrollers only talk serial port), or it's possible due to the microcontroller being used (actually trying to be used as a serial link between the two radios) it doesn't go into reset and thus bootloader program mode. Worst case, the code is just corrupted so bad on the micro that it needs to be reflashed with a bootlaoder with an AVR (or whatever "brand") of programmer via the In Circuit Serial Programming (ICSP) port.
Once you have the basics of how most microcontrollers work, it's pretty simple. Again, the basic problem is that in order program or flash one via te serial port, the bootloader code on the chip must come up in programming mode right when it first boots, otherwise, the only other way to program is via the ICSP.
Keep trying it several times in a row. I've flashed the radios in both bootloader mode and in the normal fashion. In boot loader mode it threw less errors.
You might try shorting CTS to ground during power up. That should put the device into bootloader mode. Maybe the red light is on for another reason.
If that doesn't work keep trying and posting back. I had some trouble when I first tried. My problem was using an old version of Mission Planner, which I thought was up to date since it kept downloading updates from the internet. So try a reinstall with the latest mission planner and try the bootloader method. If nothing else you can send it back and someone with a SiLabs programmer can probably fix it.
Thanks for your encouragement ....
I did all of the above except for shortening the CTS pin will try that ...as well
I know this is an old issue. But I am dealing with it now! Any final info on it?
Hello again! I know this is an old issue. But I am dealing with it now! Any final info on it?
Hi! Where do you find the ICSP port?