FreeCalypso > hg > freecalypso-tools
view target-utils/simagent/timeout.h @ 992:c4c400c1b10c
fc-loadtool flash: no flash2 ppb-erase-all
All PPBs from across the entire flash chip can only be erased together
as a unit, spanning across both banks on 16 MiB chips - therefore,
we shall disallow 'flash2 ppb-erase-all', and accept 'flash ppb-erase-all'
only.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 03 Dec 2023 04:47:31 +0000 |
parents | 2e16284d5029 |
children |
line wrap: on
line source
/* * This header file defines the loop-count timeout value that should * be passed to the rx_sim_byte() function. By the spec we have to wait * 9600 etu's; at 3.25 MHz SIM clock and the default slow mode (no speed * enhancement) this 9600 etu number translates to about 1.10 s. * * The constant defined here has been calibrated empirically; the measured * timeout is about 1.38 s, giving us reasonable safety margin. */ #define SIM_WAIT_TIMEOUT 6000000