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

Error when running the rng example on stm32l476rg #3365

Open
Dueesberch opened this issue Sep 23, 2024 · 0 comments
Open

Error when running the rng example on stm32l476rg #3365

Dueesberch opened this issue Sep 23, 2024 · 0 comments

Comments

@Dueesberch
Copy link

Dueesberch commented Sep 23, 2024

When running example/stm32l4/src/bin/rng.rs I get

Error: Failed to attach to RTT
Caused by:
    Error attempting to attach to RTT: RTT control block not found in target memory.
    - Make sure RTT is initialized on the target, AND that there are NO target breakpoints before RTT initialization.
    - For VSCode and probe-rs-debugger users, using 'halt_after_reset:true' in your 'launch.json' file will prevent RTT
    initialization from happening on time.
    - Depending on the target, sleep modes can interfere with RTT.

That error is already described here Issue 2221, but adding config.rcc.clk48_src = Clk48Src::PLL1_Q ends in unknown field for clk48_src and use of undeclared type 'Clk48Src'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant