-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
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
[BUG] Rumba32 (STM32F446) Reboot Loop #16650
Comments
If this builds using HAL_STM32, those timers aren't firing correctly, which means if the watchdog is enabled, it's probably rebooting when the temp ISR doesn't work. You can test by disabling the watchdog in config and seeing if it stops rebooting. (I don't have a fix, and am under deadline, but I do know the ISR isn't firing). |
Is the timer issue you mention specific to the Rumba32, or other boards as well? |
I’ve seen it on two (Chitu and Malyan) and it repros when I debug on a bluepill. Are you seeing it on others?
… On Jan 22, 2020, at 8:53 PM, Jason Smith ***@***.***> wrote:
(I don't have a fix, and am under deadline, but I do know the ISR isn't firing).
Is the timer issue you mention specific to the Rumba32, or other boards as well?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#16650?email_source=notifications&email_token=AHVGS4ME42W4MODMR2F43U3Q7EPFRA5CNFSM4KKGYVU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJV77WI#issuecomment-577503193>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AHVGS4O2X7IDSPGHCHAYKOLQ7EPFRANCNFSM4KKGYVUQ>.
|
No, I have not, but I haven't been actively working with any STM32 boards for a while. Aren't the Chitu and Malyan boards supposed to be using the Maple-based STM32F1 HAL? |
Malyan V2 and M300 is 070 based, so…no STM32DUINO F1/F4 hal for them.
… On Jan 22, 2020, at 9:54 PM, Jason Smith ***@***.***> wrote:
No, I have not, but I haven't been actively working with any STM32 boards for a while. Aren't the Chitu and Malyan boards supposed to be using the Maple-based STM32F1 HAL?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#16650?email_source=notifications&email_token=AHVGS4LPMRXI3U46ROAANX3Q7EWIJA5CNFSM4KKGYVU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJWDMGY#issuecomment-577517083>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AHVGS4MPXENZEJUGK45H3W3Q7EWIJANCNFSM4KKGYVUQ>.
|
Disabling the watchdog completely in configuration_adv works, the firmware now runs smoothly. I hope this get's fixed soon because I would feel better with the watchdog running like it should. |
Disabling the watchdog is NOT a fix - it's a way to identify that yes, the watchdog is triggering because the temp ISR isn't running. Please don't run anything real without the watchdog. |
has anyone been able to reproduce this problem? |
Yes. It happens on a blue pill.
… On Jan 26, 2020, at 12:31 PM, Bo Herrmannsen ***@***.***> wrote:
has anyone been able to reproduce this problem?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
marlin on a blue pill? thought i have seen it all but oh well :-D |
Malyan, Chitu, and Lerdge (the three boards I've been working most with)
aren't terribly friendly or helpful in terms of giving nice SWD connectors.
The bluepill does, and I've wired them up to RAMPS boards before. For this
particular problem, because it's something to do with the ISRs, there's no
need to have an actual printer attached - you can set a breakpoint on the
ISR and see it never fires (alternately, just put a bkpt block in the ISR
and watch it never get hit)
…On Sun, Jan 26, 2020 at 3:56 PM Bo Herrmannsen ***@***.***> wrote:
marlin on a blue pill? thought i have seen it all but oh well :-D
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#16650?email_source=notifications&email_token=AHVGS4NRYJXLLJK3LWUXLG3Q7YPJ3A5CNFSM4KKGYVU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJ6BD4Y#issuecomment-578556403>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHVGS4MWETWJKVV54RNF5L3Q7YPJ3ANCNFSM4KKGYVUQ>
.
|
I pulled the latest Arduino Core, and there's a fix for this issue - |
would vs code not have done that anyway? |
PIO downloads releases that have been added to the manifests. On my computer i have my github repo for STM’s core symlinked so it takes the place of Arduino’s package. I pulled the most recent (not in a release that I know of yet) version and was pleased to find that the timers behave better now.
… On Jan 27, 2020, at 4:00 AM, Bo Herrmannsen ***@***.***> wrote:
I pulled the latest Arduino Core
would vs code not have done that anyway?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#16650?email_source=notifications&email_token=AHVGS4LU6Q3J7JQJSIDN22DQ73EGBA5CNFSM4KKGYVU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJ7IEAQ#issuecomment-578716162>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AHVGS4OHTFHEWXN3P2UXZMLQ73EGBANCNFSM4KKGYVUQ>.
|
but is it safe to say that this one if kind of confirmed and also what the fix is? |
I followed your advice and downloaded the newest version of the Arduino STM Core directly from github, following this guide. And it works! The watchdog works, the steppers running well (had problems with that as well, probably because of the same timer-issue?) - so everything seems fine so far. From my side, this topic can be closed. Thank you for your help, much appreciated! |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hey Guys,
I got two new Rumba32-Boards and I want to get it up and running with Marlin, but after flashing the firmware the board seems to hang in a reboot-loop.
Setup
My Configurations
Behaviour
DUMMY_THERMISTOR_998_VALUE
(default 25) but not 0Flashing Problems
At the beginning I could not even flash Marlin because the file name or extension were too long. I tried a lot like choosing short paths, editing the build.path in the Arduino-preferences, etc. but nothing helped. It seems that the lcd-sources can lead to quite long paths so I removed the folder extension-ui in
\src\lcd
. After that, flashing was not a problem any more. I just mention this here in case, this might be important again.The following is an excerpt of Arduino's flash log. Just in case if this is of any relevance.
What I have tried so far
#define WATCHDOG_RESET_MANUAL
Nothing changed, the boards still reboot
I really don't know what else I can try so I would appreciate any help or hint to overcome this issue.
Best regards in advance,
ro-ct
config.zip
The text was updated successfully, but these errors were encountered: