-
Notifications
You must be signed in to change notification settings - Fork 70
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
Poking DBGMCU_CR in enableSAMD5XTRACE #157
Comments
Yes you are probably right. Its copy paste error and works for me :-) I didnt check every line of copied code. |
Afaik, dbgmcu is stm32 specific, so it looks like a copypasta that so far
has been benign. I'll fix it on main but it just missed the window for
2.2.0 :-(
…On Sat, 21 Sept 2024, 14:55 Michal, ***@***.***> wrote:
Yes you are probably right. Its copy paste error and works for me :-)
I didnt check every line of copied code.
—
Reply to this email directly, view it on GitHub
<#157 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABJTBD5EDA4ZZJLX3CSDOTTZXV3DNAVCNFSM6AAAAABOTSXOF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRVGE4TKOBRGA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
mubes
added a commit
that referenced
this issue
Oct 27, 2024
This is fixed in #7eff039. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#150 added support for setting up tracing on the SAM D5x family. Since I'm currently working on a project that uses such a chip (the SAME53J20A, to be precise) and had a number of strange issues getting tracing to work, this piqued my interest.
Following along, these writes looked unfamiliar:
There is no
DBGMCU_CR
on this chip and it's not a term from the ARM docs either.0xE0042000
-0xe00ff00
maps to the External PPB (see the ARM Cortex-M4 Processor Technical Reference Manual, r0p1, page 3-39). Indeed, the ROM Tables claim that on this chip, this is where the ETB is instantiated (output bypyocd
):While I'm still struggling to find the correct piece of ARM documentation for this particular IP (and the chip has known issues regarding the ROM Table content/access, see Microchip document DS80000748T, section 2.7.2 - though this erratum does not seem to trigger in this case), this is suspect. In particular, various members of STM32 family do have a
DBGMCU_CR
in that particular place, so this might be a copy-paste blooper.Similarly, the same block appears in
enableTM4C123TRACE
, while for example the TM4C123GH6PM datasheet (https://www.ti.com/lit/ds/symlink/tm4c123gh6pm.pdf) claims that the region starting at0xe0042000
is reserved.@robots am I missing something fundamental here? Otherwise those lines should probably be removed since they poke unrelated locations randomly.
The text was updated successfully, but these errors were encountered: