FreeCalypso > hg > freecalypso-tools
view Source-dirs @ 497:74610c4f10f7
target-utils: added 10 ms delay at the end of abb_power_off()
The deosmification of the ABB access code (replacement of osmo_delay_ms()
bogus delays with correctly-timed ones, which are significantly shorter)
had one annoying side effect: when executing the poweroff command from
any of the programs, one last '=' prompt character was being sent (and
received by the x86 host) as the Calypso board powers off. With delays
being shorter now, the abb_power_off() function was returning and the
standalone program's main loop was printing its prompt before the Iota chip
fully executed the switch-off sequence!
I thought about inserting an endless tight loop at the end of the
abb_power_off() function, but the implemented solution of a 10 ms delay
is a little nicer IMO because if the DEVOFF operation doesn't happen for
some reason in a manual hacking scenario, there won't be an artificial
blocker in the form of a tight loop keeping us from further poking around.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 25 May 2019 20:44:05 +0000 |
parents | 3ec8ef8b2d37 |
children | 026df5681bd3 |
line wrap: on
line source
ffstools This directory subtree was originally created to hold the source for our TIFFS In Vitro Analyzer tool, but has since been extended to contain various tools that perform static (or "in vitro") transformations on various bits of data that go into the flash file system on our FreeCalypso GSM devices or are contained in other vendors' flash data structures. librftab A library for reading and writing RF parameter tables in our FreeCalypso ASCII format - see doc/RF_tables. libserial All of our host programs that operate on serial ports (the way in which we communicate with GSM device targets) go through libserial, i.e., our serial port handling code has been factored out into a common library. loadtools fc-loadtool, fc-iram, fc-xram and fc-compalram form the part of FC host tools called loadtools, which used to be its own package. fc-buzplay is also built in the loadtools suite because it uses many of the same components. miscutil A few miscellaneous utilities are built here. ringtools Tools for working with ringtone melodies are built here. rvinterf Everything dealing with the RVTMUX interface to running GSM firmwares and everything based on the rvinterf framework is built under rvinterf. The tfc139 utility, which logically belongs with loadtools, is built in the rvinterf subtree because it is built from mostly the same source components as rvtdump and rvinterf. target-utils The source for loadagent and compalstage lives here, along with a few extra target utilities that are of interest only to developers. toolchain Scripts and patches for building the gcc+binutils toolchain targeting ARM7, the CPU core of the Calypso GSM/GPRS baseband processor. You'll need to build and install this toolchain first before you can build target-utils. uptools The User Phone Tools suite is built here - see doc/User-phone-tools.