Git Product home page Git Product logo

Comments (11)

unmac avatar unmac commented on July 17, 2024

Some source code checks.
I suspect that the crash is caused by a watchdog.
I did not confirm the details.

In the TW8816_GetVideoStandard () or TW8816_SetVideoStandard () function
Delay occurrence is presumed to be the cause of watchdog.
(I2C approach ??)

I do not know if this symptom is only my TX.

Do not call VIDEO_GetStandard / VIDEO_SetStandard periodically in the VIDEO_Update () function,
(to be call only when the value of videosrc changes), the symptom does not occur.

There are three things that I would like to check further.
  - Adjustment of I2C timeout (LONG_TIMEOUT 0x10000, FLAG_TIMEOUT 0x1000)
  - reconfirmation of connection between I2C and LCD
  - Identify the location where the delay occurs

from deviation.

howard0su avatar howard0su commented on July 17, 2024

the analyze make sense to me. I will take a look.

from deviation.

howard0su avatar howard0su commented on July 17, 2024

unfortunately, GetStandard will not immediately return the correct value. We need defer the get/set standard after couple of seconds. will change this.

from deviation.

howard0su avatar howard0su commented on July 17, 2024

Can u test the build?
https://www.deviationtx.com/downloads-new/category/1522-csujun-test-video

I don't have seeing such problem in my f12e. Please report back the result.

from deviation.

unmac avatar unmac commented on July 17, 2024

ok. i will test the firmware.
I will report the result later.

from deviation.

howard0su avatar howard0su commented on July 17, 2024

Also PR is here #573 you can also review the code change.

from deviation.

unmac avatar unmac commented on July 17, 2024

After about 2.5 hours of testing,
The symptom did not occur. (firmware : devof12e-XMS-v5.0.0-b360129)

I will use the test firmware few days

from deviation.

howard0su avatar howard0su commented on July 17, 2024

Thank you for taking time and risk to test.

What's the original repro frequency of the issue? How confidence level you have that it is solved based on this 2.5 hours?

from deviation.

unmac avatar unmac commented on July 17, 2024

Symptoms occurred in about 5 minutes in the short case and in about 30 minutes in the long case.
(Within 7~8 minutes of batterys 3 pack at runtime)

It was operating normally while testing 9 batteries 2 time
(9 * 2 = 18).
Keeps TX on while drone-battery is charging

from deviation.

howard0su avatar howard0su commented on July 17, 2024

I commit the change and you can get it from nightly build then.

from deviation.

unmac avatar unmac commented on July 17, 2024

Thank you. howard0su

from deviation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.