Procedures

Compiling HENA Source Code

The HENA source code currently being developed will be located in $HENAHOME/application/software. To compile the code:

cd $HENAHOME/application/software
compile.sh
Two binaries are produced. hena.dld is a version that can be loaded into page 0 RAM and run. henae.dld is a version that can be saved in EEPROM.

Loading and Saving HENA Code into EEPROM

To load the HENA code into EEPROM from GSEOS, first make sure the current binary henae.dld is present on the PC host. Then do the following while viewing the GSEOS development screen:

  1. Power cycle DPU; send Null command before automatic boot completes.
  2. Write enabled load memory: Memory->Write(0,0,0xffff).
  3. Load henae.dld (by opening henae.dld). All address parameters should be zero and through-command mode should be set. Watch command echoes to know when load is complete.
  4. Write enable EEPROM: Memory->Write(9,0,0xffff).
  5. Save code in EEPROM: Memory->Copy(0,0,9,0,0xfff0).
  6. Power cycle DPU and confirm automatic boot of new program.
Note: by saving the code in page 9 we are assuming the existence of the intermediate boot program in page 8.

Releasing a Software Version

To release a software version, first compile it as described above. Then rename the software source code directory and write protect it:

cd $HENAHOME/application
mv software software-VER
chmod -R a-w software-VER
where VER is the software version number

Creating a New Version of the Software

To create a new version of the software for modification, the last version is copied into a new directory using the following procedure:

cd $HENAHOME/application
cp -pr software-VER software
chmod -R ug+w software
where VER is the last version number. Then change the software to report the new version number:
cd software
vi stat-dflt.fr		# change sw-version
vi compile.sh		# change VER


home Go to HENA Project Page. Report problems to John Hayes. mail