Skip to content
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

STM32G47X FLASH write not working with blackbox_mode=NORMAL #10946

Open
SteveCEvans opened this issue Sep 5, 2021 · 9 comments
Open

STM32G47X FLASH write not working with blackbox_mode=NORMAL #10946

SteveCEvans opened this issue Sep 5, 2021 · 9 comments
Labels
BUG Bugs are excluded from automatically being marked as stale

Comments

@SteveCEvans
Copy link
Member

See #10909 for background.

Using an AIRFLEETG4 V11 FC with NERC-HYBRIDG4 config logging to onboard FLASH works using blackbox_mode=MOTOR_TEST however with blackbox_mode=NORMAL, arming via MSP, only the log header is written as per the attached log. Motor output set to OneShot125 works, so this appears to be an issue specific to DSHOT.

STM32G47X_DSHOT.bbl.zip

@SteveCEvans SteveCEvans added the Template: Bug Set by auto_close_issue. label Sep 5, 2021
@github-actions github-actions bot added the Not following template Set by auto_close_issue. label Sep 5, 2021
@github-actions
Copy link

github-actions bot commented Sep 5, 2021

@SteveCEvans: This issue is being automatically closed because it does not follow the template.

When you open an issue or feature request you are presented with a template. Follow the guidelines.

You can edit your message to fix this and the issue will be automatically reopened.

@github-actions github-actions bot closed this as completed Sep 5, 2021
@DusKing1
Copy link
Contributor

DusKing1 commented Sep 5, 2021

@github-actions fk off

@haslinghuis haslinghuis added BUG Bugs are excluded from automatically being marked as stale and removed Template: Bug Set by auto_close_issue. Not following template Set by auto_close_issue. labels Sep 5, 2021
@haslinghuis haslinghuis reopened this Sep 5, 2021
@haslinghuis haslinghuis added this to Bug Tracker in Finalizing Firmware 4.3 Release via automation Apr 15, 2022
@haslinghuis haslinghuis moved this from Bug Tracker to Firmware in Finalizing Firmware 4.3 Release Apr 19, 2022
@haslinghuis haslinghuis added this to Bug Tracker in Finalizing Firmware 4.3 Release via automation Apr 19, 2022
@SteveCEvans
Copy link
Member Author

From some brief testing it would appear that black box recording stops randomly unless blackbox_sample_rate is set to 1/1. This will require some investigation.

@SteveCEvans
Copy link
Member Author

When debugging I'm seeing that the logging stops due to the following being called in msp.c. The question is why is the configurator disarming if I change tabs? @limonspb ?

image

@limonspb
Copy link
Member

limonspb commented May 31, 2022

When debugging I'm seeing that the logging stops due to the following being called in msp.c. The question is why is the configurator disarming if I change tabs? @limonspb ?

Could you check is that with any receiver and any tab? Or "MSP receiver"? If its with any receiver I can check in a bit when i get home.

@SteveCEvans
Copy link
Member Author

I’ll add an RX this evening and check with that.

@SteveCEvans
Copy link
Member Author

@limonspb I've wired up an ELRS RX and switching between tabs is fine until I select the Motors tab at which point the FC disarms. Otherwise I can't reproduce this issue.

@haslinghuis
Copy link
Member

Is that with motor testing enabled in motors tab?

@SteveCEvans
Copy link
Member Author

Yes

@haslinghuis haslinghuis added this to Needs work in Finalizing Firmware 4.4 Release via automation Jul 20, 2022
@haslinghuis haslinghuis added this to the 4.4 milestone Jul 20, 2022
@haslinghuis haslinghuis removed this from Needs work in Finalizing Firmware 4.4 Release Jul 20, 2022
@haslinghuis haslinghuis removed this from the 4.4 milestone Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG Bugs are excluded from automatically being marked as stale
Projects
None yet
Development

No branches or pull requests

4 participants