Handling multiple Hardware Versions | Embedded System Project Series #13

  Рет қаралды 2,291

Artful Bytes

Artful Bytes

Күн бұрын

Пікірлер: 8
@chipsoft1
@chipsoft1 Жыл бұрын
Another possibility to handle current hardware version is to use the bootloader + OTP area to save the hardware version when it is produced. When updating the firmware of the device through the bootloader, the version number of the hardware for which this software is provided is transmitted along with the firmware. In case of a mismatch, the bootloader simply will not accept the downloaded firmware.
@artfulbytes
@artfulbytes Жыл бұрын
Yes, that's definitely a possibility to consider if you got a dedicated bootloader. Reading this OTP area could also serve as a runtime check in your application code. Burning the hardware version into read-only memory is generally something to consider instead of encoding it with GPIOs/ADC-pin. I don't think my msp430 has any write-protected area for this purpose, but I could perhaps have demonstrated the principle by setting aside a byte in my flash memory, i.e. by modifying my linker script.
@danielnilsson4781
@danielnilsson4781 Жыл бұрын
@artfulbytes
@artfulbytes Жыл бұрын
@olivialinden8699
@olivialinden8699 Жыл бұрын
Bra !
@artfulbytes
@artfulbytes Жыл бұрын
🤗
@nfjeldberg
@nfjeldberg Жыл бұрын
Can you please use comic sans on when you are writing code? Is so much easier to read.
@artfulbytes
@artfulbytes Жыл бұрын
😡
Assert on a Microcontroller | Embedded System Project Series #14
22:37
How to Debug HardFaults on ARM Cortex-M MCUs
57:58
Memfault
Рет қаралды 12 М.
Cool Parenting Gadget Against Mosquitos! 🦟👶
00:21
TheSoul Music Family
Рет қаралды 21 МЛН
How it feels when u walk through first class
00:52
Adam W
Рет қаралды 21 МЛН
How I program GPIOs in C | Embedded System Project Series #12
30:00
How to Board Bring-up | Embedded System Project Series #24
33:09
Artful Bytes
Рет қаралды 4,3 М.
Designing a Software Architecture from Scratch
32:32
Peter and Code
Рет қаралды 12 М.
Microcontroller Interrupts | Embedded System Project Series #17
54:40
My Small Test Functions | Embedded System Project Series #15
11:26
Artful Bytes
Рет қаралды 1,3 М.
Motor Control with PWM in C | Embedded System Project Series #21
57:53
Cool Parenting Gadget Against Mosquitos! 🦟👶
00:21
TheSoul Music Family
Рет қаралды 21 МЛН