New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
X10s not able to power down #5270
Comments
2nd report of this issue |
I have tried 403 pre-built nightly with allowed nightly checked. It is using 403 nightly and SD v11. |
I just ran it again. It never made the call to SdDone(). I tried commenting those below also. It still didn't call. So likely something in the background. } ****************CLI Log *********************
Starting multiple sector read test, reading two sectors at the time Starting multiple sector read test, reading 16 sectors at the time
|
ok I tried again commenting those cotickdelay between.. it went further but till went into emergency mode. Here is the other part of the code. power switch release didn't get call this time. while (pwrPressed()) { pwrOff(); } ***********CLI log *************
|
Tested 405 nightly. Problem disappeared.. |
It came back after I tried to setup the tx. will try to debug it again. |
Same issue on my X10S with nightly build |
I am using the nightly build 2.2.1N416 10/25 on an X10, not an S and also see this problem pretty frequently. I have noticed that when it happens, if I hold the PgU/D and power down or the Select button and power down, it will often stay powered down. File I used is opentx-x10-ppmus-noheli-bindopt-en-2.2.1N416 |
Same here, i have used all versions from 400-409... The problem appears from time, but frequently. The only way sometimes to shut it down is to plug in the usb cable, it the goes into dfu mode... |
Testing on it again.. Really want to get this to work properly. |
similar behavior here. But when it happened on my X10s in the past I was always able to switch off completely with a long power button press while it was in emergency mode. Have not seen the loop in emergency mode yet. Will spend some time today and see if there is a specific pattern to reproduce. My first idea was that it could be related to the press duration of the power button when trying to switch off. |
Just went out to buy an 8Gb slower class 10 SD card. I am able to shutdown on the emergency mode. So in summary, May be a SD card driver issue? |
I just tested again with this bin: |
It happens very frequently for my unit. I can take some video.
…Sent from my iPhone
On 6 Nov 2017, at 9:55 PM, Samuel Au ***@***.***> wrote:
Just went out to buy an 8Gb slower class 10 SD card. I am able to shutdown on the emergency mode.
So in summary,
SanDisk 32GB extreme will fail 100% of the time.
SanDisk 8G Ultra will fail to emergency mode, but will be able to shutdown after....
May be a SD card driver issue?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Did someone try changing SD card? |
https://www.youtube.com/watch?v=-RWGDutTZEg Here is recent source compiled version using an 8G card. I will run the test bin again and test. |
https://www.youtube.com/watch?v=ehN7YDr1Td0 This is using the test bin from Andre. |
Just tried to debug github tree. Getting lots of Not sure if it is relevant. |
Enabled the detailed write trace disk_write 0 0x20003e40 1320498 1 |
Yeah those are normal My guess is the issue is with the hardware, a cap out of tolerance or something that casues power down sequence not to be clean and to cause a watchdog reset... |
I just saw this thread just opened a new issue for this as well for n433 Mine goes in to cycle and only way to get it to stay off is long press in emergency while plugged into pc or it will just keep cycling Issue #5348 |
Changed to dark bmue theme and issue seemed to go away if i switch back to defualt theme it returns |
Confirmed, changing theme made shutting down worth 9/10 times. I did get one emergency during my test. Will try to cut out some animations to see if that's the problem. |
9/10 is still an issue, but something we can look at for clues |
does the flag "Check Rssi on Shutdown" change anything to this issue? |
Will check
… On 12 Nov 2017, at 10:05 PM, Bertrand Songis ***@***.***> wrote:
does the flag "Check Rssi on Shutdown" change anything to this issue?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Just tested. It still goes into emergency mode, but seems like I am getting more successful shutdown with the rssi check off and removing the sleep bmp. like 2/10 fails. Much better than before. |
Strangely, I had the issue right after installing OTX on a brand new X10. After a couple of power up/down, the issue was gone. |
If I understand well @buzzsam can build firmware, can you try my branch |
Yes will test
…Sent from my iPhone
On 13 Nov 2017, at 4:47 PM, Andre Bernet ***@***.***> wrote:
If I understand well @buzzsam can build firmware, can you try my branch kilrah/5270_wdt_test?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Tested, still cannot shutdown 100%. |
Same here. I tested Sandisk Ultra 32BG, 16Gb, 8Gb, noname 2Gb. Still sporadic emergency mode. I can't seem to shutdown from "Em" eather... |
Are all reports here with the X10s, or some with X10 as well? |
@kilrah I had the issue a couple of times right after first install on a X10, and since then, nothing. Maybe something with the default settings, that get overwritten once you've played a bit with the TX. |
Mine is X10S |
May be someone can teach me how to link up the debugging on it. I can do a step trace after powering down. |
I have been seeing this since I got my X10. Not an S. I have updated the firmware several times with no change. I can usually get it to shutdown from the emergency screen if I hold down the selector PgUp/Dn button while powering down. Sometimes it takes several attempts. The longer I leave it on and more I do the more likely it is to go into emergency mode. |
Can a few people with the problem try this bin? http://www.andrebernet.ch/divers/opentx/opentx-x10-shutdowntest1.bin |
Just tested 10 times 10/10 shuts down properly. Amazing job !! |
I hope it's not too early, but, same here! 👍 Also noticed, that to power the TX on, you have press and hold the power button for, lets say 100-200ms, before this bin it was instantaneous. |
Nice that the reason is confirmed, not nice that it means we'll have to remove the safety mechanism that allowed to catch ESD-related resets and reboot to emergency instead of shutting down for good. |
Can someone with the problem test the hopefully final fix? http://www.andrebernet.ch/divers/opentx/opentx-x10-shutdowntest2.bin |
10/10 successful shutdown with my X10S...woohoo :) 👍 |
Been running it for a few hours now with no hangups on my X10. I noticed the delay at startup as reported before. Not an issue, just different. Nice work, good progress! |
working! |
Same issue here. Though not only does it enter emergency after turning off (and it reboots), I can hear the trim sound when holding the power button to power it down. Tried reflashing firmware, changing SD card, stock SD card content, etc. Nothing helps. Only way to boot normally is to unplug the battery and plug it back in, or to have the USB cable plugged into the radio while shutting down and it enters DFU, then unplug the USB and turn it on. I even tried kilrah's "shutdowntest2.bin" build from 2017 and it still does it. I have a feeling it's a bad power button board? But it looks like that board is not available for purchase... |
Powering down will lead to getting stuck contineously in emergency mode.
I would need to plug a usb cable in and fool it back to bootloader mode. After that it can boot in properly. But will still have the power down issue.
Tested with 403 nightly. SD card v11 on a X10s final production unit.
The text was updated successfully, but these errors were encountered: