2025-06-20 3:27 AM
Hi;
In order to determine exactly the chip type I'd like to read the DBGMCU_IDCODE register. When I try to do this the bootloader hangs. RM0410 44.6.1 says "Only 32 bit access support". I guess the bootloader uses byte access.
Is there a workaround?
Reading UID and FLASHSIZE works just fine.
2025-06-20 3:28 AM
Which bootloader are you referring to?
2025-06-20 3:51 AM
the internal ROM bootloader
2025-06-20 4:16 AM
But that's fixed code, which you can't modify - so how does you reading DBGMCU_IDCODE relate to that?
Perhaps you show a minimum but complete example which illustrates the issue.