1.5.1 - Board stops responding to MSP when GPS is used
F4 based boar, connected to PC via MSP.
When GPS is not connected everything works perfectly. As soon a GPS is connected and starts sending out data board stops responding to MSP after a while. LEDs keep blinking so seemingly board is alive, although I'm not sure it is flyable.
Correction - this is unrelated to MSP - board just freezes faster.
Board even stops responding to SerialRX - can't ARM it. Looks like the serial system is messed up somehow.
Hm... the bug is very sporadic - sometimes the board works fine, sometimes hangs up after a few seconds. I wonder what causes the bug.
Is this specific to F4?
I have a strong feeling that this is a hardware issue. I've been flying this board today for half an hour without any issues. Also had it sitting connected to PC for quite a while without issue.
Are you using softserial ports? I had freezes like the one you describe when I had two softserial working on MSP simultaneously (one to a MW_OSD and the other one to a Bluetooth serial interface connected to a PC running the GUI). After few seconds of polling statuses the board (SPRacingF3 evo) froze. Happened costantly every time.
I also had this issue a couple of version back on a NAZE32 Rev6 Full version; it would happen if I sit idle once the GPS got a fix; sometime before if is just sits there it would just freeze and not respond I was afraid to fly it feeling that it would freeze while in the air but it seemed that once it was armed the freezing would not take place. I two also think it has something to do with the combination of (GPS + MW_OSD). I was worried and I did not want to take chance so I replace it FC with a SPRacing (Clone I am sure it is) with the built in OSD. If the person above me with the SPRacing F3evo is having the issue the difference is that they are using the (GPS + a external MW_OSD similar to what I was using with my Naze32); maybe the external MW_OSD on soft serial is causing the issue?
Maybe it's related - SPRACINGF3 board in airplane. MSP and OSD (MW-OSD) ar on the same port, UART1. Works fine on USB-only (so GPS and other stuff is not powered on). Works fine on battery-only (so UART1 is used for OSD data) (both cases - ~25min on desk, not flying - but working fine)) Freezes in few seconds with USB+battery connected (MSP over USB + GPS connected). So far, 8 in 8 tries ;-) Can't say if that happens in older versions - just swapped from CC3D controller and flashed new version. Freezes completely - no inputs from RX, OSD is not updating, no servo movement/stabilisation.
MSP is not a bus, you can connect at most one running device at a time, and it's expected that stuff goes bad when you have more tha one device sending data to the same port at once, I don't really thing is related to the bug discussed.
I believe I'm experiencing this issue. My hardware: http://www.readytoflyquads.com/flip-32-f4-omnibus-v2-pro Link to status, bootlog, and dump: https://paste.ee/p/oxbMt Link to build info: https://paste.ee/p/jsayv
My 2 F4 boards were running MSP and GPS yesterday for an hour each. Different UARTs. No problems detected, I'm closing it since it does not seems to be software related