view target-utils/README @ 137:5fe5559003b7

RV bring-up: RVT "system time" heartbeat messages now get printed every 20 s! The problem was a slight Nucleus API incompatibility between what the RVF code from TCS211 expected and what our FreeNucleus implements: in the TCS211 version of Nucleus it was OK to pass 0 for the initial_time parameter to NU_Create_Timer(), but our version flags such usage as an error. RVF used 0 as the dummy initial_time value when initializing the legacy RV timers with NU_DISABLE_TIMER. Implemented fix: using a dummy value of 1 instead.
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 11 Nov 2013 09:56:23 +0000
parents a2e793f6b8c4
children 4391890bacd9
line wrap: on
line source

Two programs are currently buildable in this target-utils tree: loadagent and
pirexplore.  Loadagent is built to be loaded and run out of the Calypso internal
(on-chip) RAM, and does not depend on any hardware outside of the Calypso chip
itself - thus it should run unchanged on all Calypso targets.  It expects to be
loaded by the Calypso ROM bootloader in the UART download mode, and it reads a
RAM variable left behind by the ROM code that indicates which UART has been used
to perform that download - it then uses that same UART to communicate with the
host, presenting an interactive command prompt.  You can run loadagent "raw" by
loading loadagent.srec with fc-iram, but normally it is used "behind the scenes"
by fc-loadtool and fc-xram.

Pirexplore is built in the same manner as loadagent (also runs out of IRAM,
expects to be loaded with fc-iram, and presents an interactive command prompt
on the autodetected UART), but it automatically performs some hardware (board
level) initialization specific to the Pirelli, and offers additional commands
for exploring the hardware features of this device.