commit | cb655f977438f0bc5a8a0fb50ebfd57a468f283c | [log] [tgz] |
---|---|---|
author | Eric Wild <ewild@sysmocom.de> | Mon Dec 06 21:48:01 2021 +0100 |
committer | laforge <laforge@osmocom.org> | Wed Dec 15 14:04:20 2021 +0000 |
tree | f4e3b2492c0305b8e6161ba0e9961e0a4b774025 | |
parent | f721e69bc1d2adc7228b479a5ebec617469933ff [diff] |
firmware: add crc stub to all dfu apps to ensure reliable loading DFU flashing of apps sometimes aborts, and although rare this leads to broken devices if no boot button or serial/jtag access exists, because the bootloader will keep trying to start a half-flashed app that then crashes at some point. The easiest fix that works with existing bootloaders is to prepend a small 512 byte stub that calculcates the crc and compares it with the crc calculated at build time, and then either starts the actual app, or sets the dfu flag and resets. This ensures we either have a working, running app, or end up in the bootloader, ready to flash again. For obvious reasons this only applies to dfu apps, and not to flash targets like the actual bootloader itself. Change-Id: Id6df0486c8b779889d21800dc2441b3aa9af8a5f
This is the repository for the next-generation SIMtrace devices, providing abilities to trace the communication between (U)SIM card and phone, remote (U)SIM card forward, (U)SIM man-in-the-middle, and more.
NOTE: Nothing in this repository applies to the SIMtrace v1.x hardware or its associated firmware. SIMtrace v1.x is based on a different CPU / microcontroller architecture and uses a completely different software stack and host software.
This repository contains several directory
The host software includes