Skip to main content
Pzhu.1
Associate II
Sep 15, 2020 9:11 AM UTC
Solved

The reset value of GPIOB register of STM32F401RCT6

When I simulate STM32401RCT6 with IAR,the MCU is on reset state;IAR shows the value of GPIOB register :ODR=0x00000280;but refer to the reference manual ,the reset value of GPIOx_ODR=0x00000000.

Did I do something wrong when simulated?

Thanks very much.

0693W000003RfuzQAC.png0693W000003RfuBQAS.png

This topic has been closed for replies.
waclawek.jan
waclawek.janBest answer
Super User
Sep 15, 2020 9:45 AM UTC

None of those registers should be 0x280, so there is some code which wrote to them, or something is wrong with your IDE.

JW

1 reply

waclawek.jan
waclawek.janBest answer
Super User
Sep 15, 2020 9:45 AM UTC

None of those registers should be 0x280, so there is some code which wrote to them, or something is wrong with your IDE.

JW