|
|
|
|
|
by joezydeco
2822 days ago
|
|
Let's establish one fact first: when working with the smaller processors and SoCs, there's no such thing as a generic bootloader. The final code for any bootloader will be highly specific to the part. Your request #1 is on the mark: you want to cold-boot the chip and get the various necessary registers in place to accomplish #2, which is set up some of the peripherals to begin working. So you have two choices: 1) Start reading the TRM and writing assembly code to do this, then read the TRM again and understand the boot sequence to figure out how and where to load the code. or... 2) Read existing code to learn from someone else's work, because they did the exact same thing at some earlier point in time. |
|