FreeCalypso > hg > freecalypso-tools
view .hgignore @ 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 | 68c7e4edc4da |
children | 2e4ab60919b9 |
line wrap: on
line source
syntax: regexp \.[oa]$ \.elf$ \.bin$ \.srec$ ^ffstools/cal2text/fc-cal2text$ ^ffstools/caltools/c1xx-calextr$ ^ffstools/caltools/fc-bin2rftab$ ^ffstools/caltools/fc-cal2bin$ ^ffstools/caltools/fc-rftab2c$ ^ffstools/newcomp/compile-fc-batt$ ^ffstools/newcomp/compile-fc-chg$ ^ffstools/tiaud/compile$ ^ffstools/tiaud/decomp$ ^ffstools/tiaud/mkvol$ ^ffstools/tiffs-rd/tiffs$ ^ffstools/tiffs-wrappers/mokoffs$ ^ffstools/tiffs-wrappers/pirffs$ ^loadtools/fc-buzplay$ ^loadtools/fc-compalram$ ^loadtools/fc-iram$ ^loadtools/fc-loadtool$ ^loadtools/fc-xram$ ^miscutil/fc-fr2tch$ ^miscutil/fc-gsm2vm$ ^miscutil/fc-rgbconv$ ^miscutil/fc-serterm$ ^miscutil/fc-tch2fr$ ^miscutil/fc-vm2hex$ ^miscutil/imei-luhn$ ^miscutil/mokosrec2bin$ ^ringtools/fc-e1decode$ ^ringtools/fc-e1gen$ ^rvinterf/asyncshell/fc-shell$ ^rvinterf/ctracedec/ctracedec$ ^rvinterf/etmsync/fc-dspapidump$ ^rvinterf/etmsync/fc-fsio$ ^rvinterf/etmsync/fc-memdump$ ^rvinterf/etmsync/fc-readcal$ ^rvinterf/etmsync/fc-tmsync$ ^rvinterf/lowlevel/rvinterf$ ^rvinterf/lowlevel/rvtdump$ ^rvinterf/lowlevel/tfc139$ ^rvinterf/rvtat/fcup-rvtat$ ^rvinterf/tmsh/fc-tmsh$ ^target-utils/.*/crt0\.S$ ^target-utils/tf-breakin/embed\.c$ ^target-utils/tf-breakin/mkembed$ ^toolchain/binutils-2\.21\.1/ ^toolchain/binutils-build/ ^toolchain/gcc-4\.5\.4/ ^toolchain/gcc-build/ ^toolchain/newlib-2\.0\.0/ ^toolchain/newlib-build/ ^uptools/atcmd/fcup-at$ ^uptools/atcmd/fcup-settime$ ^uptools/atcmd/fcup-smdump$ ^uptools/atcmd/fcup-smsend$ ^uptools/atcmd/fcup-smsendmult$ ^uptools/atcmd/fcup-smsendpdu$ ^uptools/atcmd/fcup-smwrite$ ^uptools/atinterf/fcup-atinterf$ ^uptools/sms-pdu-decode/sms-pdu-decode$