Search found 141 matches

by tridge
Sun Sep 26, 2021 2:32 am
Forum: Development and Feedback
Topic: [POLL] Which collaboration tools should we use?
Replies: 5
Views: 2979

Re: [POLL] Which collaboration tools should we use?

audio is important for the ArduPilot project. We used to use mumble for audio and gitter for chat, but we really want them both in one tool. We do two weekly dev calls on discord audio, plus have other meetings on discord many times a week. The audio rooms plus screen sharing is critical. If Matrix ...
by tridge
Wed Sep 22, 2021 6:30 am
Forum: Development and Feedback
Topic: [POLL] Which collaboration tools should we use?
Replies: 5
Views: 2979

Re: [POLL] Which collaboration tools should we use?

we used to use a combination of gitter and mumble for ArduPilot. Our gitter channel is still here, but deprecated: https://gitter.im/ArduPilot we've now switched to discord, and it has been great! Our discord server is here: https://ardupilot.org/discord The key things about discord for the ArduPilo...
by tridge
Tue Aug 24, 2021 11:53 pm
Forum: Bug Reports
Topic: [patch] bug in ADCv4 checks on H7 Topic is solved
Replies: 0
Views: 3226

[patch] bug in ADCv4 checks on H7 Topic is solved

The check for MONEN in ADCv4 for H7 is incorrect. It would have needed to use PWR->CR2 not STM32_PWR_CR2 to work at all and testing on a H743 shows it is not in fact needed at all. I suspect when the reference manual says that it is needed that it is referring to the threshold monitoring in PWR, not...
by tridge
Sun Aug 22, 2021 7:05 am
Forum: STM32 Support
Topic: possible long sleep on H743?
Replies: 11
Views: 4008

Re: possible long sleep on H743?

Thanks Giovanni! I will update 20.3 with the latest changes and make those "official", anyway you should look into your delta setting, increasing delays is not the same thing. You may try a delta of 10 for example. With 32 bits timers you could get 2^32 delays like you suggested if you mis...
by tridge
Sun Aug 22, 2021 5:35 am
Forum: STM32 Support
Topic: possible long sleep on H743?
Replies: 11
Views: 4008

Re: possible long sleep on H743?

thanks Bob! I tried a quick hack to bring trunk vt into 20.3, but no luck getting it to boot yet. I suspect I stuffed up the init of the vtlist somehow
by tridge
Sun Aug 22, 2021 2:46 am
Forum: STM32 Support
Topic: possible long sleep on H743?
Replies: 11
Views: 4008

Re: possible long sleep on H743?

a bit more info ... I tried changing all sleeps in ArduPilot to be in increments of 40us, and I still sometimes see a 65ms sleep. https://github.com/tridge/ardupilot/blob/delay-65ms-debug/libraries/AP_HAL_ChibiOS/Scheduler.cpp#L157 if I raise this to 50us then I have yet to see the problem. So this ...
by tridge
Sun Aug 22, 2021 1:57 am
Forum: STM32 Support
Topic: possible long sleep on H743?
Replies: 11
Views: 4008

Re: possible long sleep on H743?

Hi Bob, Hi Tridge, The overhaul of VT started when the VT Continuous mode capability was implemented. This uncovered some issues that caused us to rework the logic of the DoTick function. Rather than go into detail of the issues I'd suggest going to the revised VT in trunk. copying such critical cod...
by tridge
Sun Aug 22, 2021 12:31 am
Forum: STM32 Support
Topic: possible long sleep on H743?
Replies: 11
Views: 4008

Re: possible long sleep on H743?

I've now got a way to make the bug happen more often in bench tests. I replaced the call to chThdSleep() in our delay_microseconds() call with something that loops calling chThdSleep(2) until the delay condition is met. That means it is doing lots of delays of 2 microseconds, which makes it much mor...
by tridge
Sat Aug 21, 2021 11:48 pm
Forum: STM32 Support
Topic: possible long sleep on H743?
Replies: 11
Views: 4008

Re: possible long sleep on H743?

> Could you try to increase your delta? this is one of the possible causes. yes, will try that, although if this is the problem then it leaves me concerned for the boards that have a 32 bit timer. If we can miss a deadline in a chThdSleep() with a 16 bit counter (causing a 65ms scheduling error) the...
by tridge
Sat Aug 21, 2021 10:41 am
Forum: STM32 Support
Topic: possible long sleep on H743?
Replies: 11
Views: 4008

possible long sleep on H743?

I'm chasing a bug that happens occasionally in ArduPilot on STM32H743. We're using 20.03 release. The bug manifests itself as a long loop in flight. The normal loop time of a copter is 2500us, and we occasionally see a loop that is 65536us longer (to within a few us). This only has been seen on one ...

Go to advanced search