Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"The four building blocks of the universe are fire, water, gravel and vinyl." -- Dave Barry


devel / comp.arch.embedded / Run-time diagnostics in deliverables

SubjectAuthor
o Run-time diagnostics in deliverablesDon Y

1
Run-time diagnostics in deliverables

<ti9rdl$1s0t7$3@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1066&group=comp.arch.embedded#1066

  copy link   Newsgroups: comp.arch.embedded
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: blockedofcourse@foo.invalid (Don Y)
Newsgroups: comp.arch.embedded
Subject: Run-time diagnostics in deliverables
Date: Thu, 13 Oct 2022 13:11:25 -0700
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <ti9rdl$1s0t7$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 13 Oct 2022 20:11:33 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="6729c75a4df3839f0371e6d09bfec8c6";
logging-data="1967015"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/T/rDZ4r+T1+7tREBRQ4ba"
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.2.2
Cancel-Lock: sha1:Il++Xo7AMRjNqZbkPdkYS1r/v84=
Content-Language: en-US
 by: Don Y - Thu, 13 Oct 2022 20:11 UTC

I design with a real-time, live "monitor" in my projects.
It gives me low level access to everything happening in
the device AS it is happening. I can attach to a particular
process and examine/alter objects in its address space,
pause/resume, stop/restart, etc. It's a poor-man's ICE
with limited footprint (unlike supporting a full debugger
in the release).

For certain classes of projects (esp industrial), I *ship*
the production code with this still in place. So, I (or
my agent) can examine a running system to try to understand
unexpected behavior(s) without having to stop and then
restart the system after affixing external diagnostic tools
(which can possibly alter that behavior).

I see many consumer devices deployed with accessible shells
*if* the user can gain physical access to the interface
(e.g., a 5V-only UART). But, this typically only happens in
UN*X based products where there is already a fair bit of
bloat present (if you can afford the binaries for a full
shell vs. my tiny monitor) and the development effort to add
that capability is pretty small (the shell is already written!).

Of course, this doesn't usually give access to the same
level of detail that is available to a (privileged) monitor.

Ignoring such shell deployments, how often do folks include
diagnostic code of this fine granularity in their releases?

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor