Skip to main content
alextyutyunnik9
Visitor II
August 1, 2011
Question

STM32F. Access to peripheral registers from system bootloader.

  • August 1, 2011
  • 1 reply
  • 604 views
Posted on August 01, 2011 at 11:51

Help me please.

Can any MCU of this family read/write peripheral registers directly from system bootloader? If it is impossible, are there internet's refs to code stub for reading/writing peripheral registers via RAM?

Thanks in advance.

    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    August 1, 2011
    Posted on August 01, 2011 at 17:44

    The system loader protocol is primarily byte based, and address checking code is likely to constrain you to memory outside the peripheral areas. Mainly flash, ram, system and options.

    Such limits could be readily overcome by uploading and executing a small applet in RAM and talking via the already configured USART.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..