commit | 0190e45305fdb7d1947cbef68efba696cfec20db | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@osmocom.org> | Tue Nov 15 22:48:42 2022 +0100 |
committer | laforge <laforge@osmocom.org> | Sat Nov 19 09:02:23 2022 +0000 |
tree | fef0f7b1f5be7cf30d7a423117005b6abc5f564a | |
parent | cfab7c00ce1aee443d2bb7c29e360316ec67f7d5 [diff] |
firmware/sniffer: Log parity errors, just like overruns and framing errors Reading of code + datasheet showed that we did enable parity checking but never actually checked if the USART has the PARE bit in CSR set. Let's change that. Plus also avoid possible race conditions due to multiple status resets via US_CR_RSTSTA. Let's only reset that once per interrupt handler. TODO: actually do something useful at that point. We currently don't report those to the host, nor do we attempt to recover in any way. The data sheet also doesn't tell us what it actually does in such situations; it appears the character is *not* returned from the USART, so we're missing one byte in the stream at that point. Change-Id: I5f012d86c61a2377d355396e7b95d078952bee7c Related: OS#5464
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