7065 views|12 replies

13

Posts

0

Resources
The OP

Where is the source code of stm32bootloader? [Copy link]

                                 I accidentally overwrote the BOOTLOADER that was originally embedded in the chip. How can I find the source code? I want to find the code and download it.
This post is from stm32/stm8

Latest reply

Is it OTP? Can't write 1, and can't write 0? It is not a question of writing "1" or "0". For the user, this space is write-only, equivalent to ROM, and the user cannot write anything into it.  Details Published on 2010-4-21 10:55

81

Posts

0

Resources
2
                                 BOOTLOADER is programmed in at the factory and there is no way to write to this area except for the first time.
This post is from stm32/stm8

77

Posts

0

Resources
3
                                 You can find a chip that has not been erased, read its Bootloader, and then write it back to your chip.
This post is from stm32/stm8

64

Posts

0

Resources
4
                                 The stm32 bootloader should not be overwritten by the user, otherwise it will be bad.
This post is from stm32/stm8

65

Posts

0

Resources
5
The bootloader protocol says that the bootloader is placed in the first 2K bytes of RAM (as for why it says it is placed in RAM, I don't clear it, isn't the RAM data lost when power is off???), when I defined the variable of the specified address, I placed it in the first 2K bytes of RAM, and then the bootloader didn't work, that is, the switch could not switch from System Memory mode. So I suspect that the bootloader may have been overwritten,
and is the bootloader really placed in RAM?
It should be placed in ROM, in the RAM mapped at power on, right?
This post is from stm32/stm8

81

Posts

0

Resources
6
The bootloader protocol says that the bootloader is placed in the first 2K bytes of RAM (as for why it says it is placed in RAM and I don't clear it, doesn't RAM lose data when power is off???), when I defined the variable with the specified address, I placed it in the first 2K bytes of RAM, and then the bootloader didn't work, just the switch...
How can the bootloader be placed in RAM? Which bootloader protocol are you looking at? Please indicate the source.
This post is from stm32/stm8

75

Posts

0

Resources
7
                                 2K, probably from LM...
This post is from stm32/stm8

74

Posts

0

Resources
8
                                 I also think it shouldn't be so easy to override, at least users can't override it, otherwise it will be very troublesome
This post is from stm32/stm8

75

Posts

0

Resources
9
                                 good
This post is from stm32/stm8

86

Posts

0

Resources
10
                                 BOOTLOADER should only be set by the manufacturer and should not be modifiable by the user
This post is from stm32/stm8

22

Posts

0

Resources
11
                                 Just like what the moderator said, how did the host write this area?
This post is from stm32/stm8

92

Posts

0

Resources
12
BOOTLOADER is programmed in at the factory and there is no way to write to this area except for the first time.
Is it OTP? Can't write 1, and can't write 0?
This post is from stm32/stm8

77

Posts

0

Resources
13
Is it OTP? Can't write 1, and can't write 0?
It is not a question of writing "1" or "0". For the user, this space is write-only, equivalent to ROM, and the user cannot write anything into it.
This post is from stm32/stm8

Find a datasheet?

EEWorld Datasheet Technical Support

Related articles more>>

    EEWorld
    subscription
    account

    EEWorld
    service
    account

    Automotive
    development
    circle

    Robot
    development
    community

    Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
    快速回复 返回顶部 Return list