Skip to main content
Graduate II
May 13, 2024
Question

Jump to bootloader F04x impossible

  • May 13, 2024
  • 2 replies
  • 1186 views

AN2606 note

MM1_0-1715607542234.png

can ST publish code part and jump adress to fake this limitation? In real world must exist.

 

    This topic has been closed for replies.

    2 replies

    Super User
    May 13, 2024

    The bootloader can be read out/disassembled/debugged.

    JW

    MM..1Author
    Graduate II
    May 13, 2024

    Yes and too can be profesionaly documented or as i ask some years before, provide h file with lib calls into systemloader area. For example can save space and duplicate code etc...

    Graduate II
    May 13, 2024

    Yeah, I understand, but I don't see that happening. The total disinterest in touching this in 15-years sends a pretty strong message, in my opinion.

    Sure, they could have documented it, added entry points like ATMEL-SAMBA, or ROM useful code like TI, but this is a path not taken. Further creating shed-loads of documentation would just tie everyone's hands and create massive and on-going dependencies and regression issues.

    There's very little in these pseudo-ROM loaders that can't be done better via other methods. Stuff that's going to work better for the specifics of your own boards, or the experience your own customers get to enjoy.

    How to erase and replace the system loader might be a better topic to go to bat on..

    Graduate II
    May 13, 2024

    In the real world you'd typically write your own loader, as the system loader is mainly for factory programming or bricked recovery. It's really not designed for an End User Experience

    One could presumably determine secondary entry points, or patch the ROM