CCII HSS8 Flash Programming for version 1.5.0: ============================================== Load the current host driver on your SVME/DMV 181 or X86 host: i.e. if you are running HSS version 1.0.0, then load ccHss8LibDY4PPCV100.a and ccHss8FlashDY4PPCV100.a on your SVME/DMV 181 host or load ccHss8LibX86V100.a and ccHss8FlashX86V100.a on your X86 host. This contains the HSS8 driver and flash programming code. NOTE: Only load the driver from the current version in use. Run hss8Create_device(1,0) followed by hss8Version_print(1,0) to verify the current firmware and host driver version. They should be identical for flash programming purposes. Alternatively, run hss8Firmware_version(0, &version) to get the current HSS8 card firmware version. Flash programming: ------------------ NOTE: Do NOT remove power from the card during this procedure! 1) Verify that the correct s-record file is in the present working directory: -> ls ccHss8EmbV150.hex value = 0 = 0x0 2) Validate the s-record file: -> hss8Validate_srecord_file("ccHss8EmbV150.hex") value = 0 = 0x0 NOTE: If the return value is not HSS8_OK (value = 0), stop the procedure. Get an uncorrupted file from CCII Systems (Pty) Ltd. 3) Create a handle to the HSS8 device: -> hss8Create_device(1,0) value = 0 = 0x0 4) Get a copy of the current flash content for backup: -> hss8Flash_get_image("backup.bin", hss8Get_p_flash(0), 0x200000) value = 0 = 0x0 5) Verify that the backup exists in the present working directory: -> ls backup.bin ccHss8EmbV150.hex value = 0 = 0x0 6) Erase the flash: NOTE: Do NOT remove power from the card after the erase! -> hss8Flash_chip_erase(hss8Get_p_flash(0)) value = 0 = 0x0 7) Verify that the chip erase was successful: -> hss8Flash_verify_erase(hss8Get_p_flash(0), 0x200000) value = 0 = 0x0 8) Program the flash: -> hss8Flash_prog_srecord("ccHss8EmbV150.hex", hss8Get_p_flash(0)) value = 0 = 0x0 9) Re-boot the card and host. Verify that LEDs D2 - D4 are off and LED D1 is flashing. NOTE: A HSS8 Power-On-Self-Test (POST) message may be flashed via LEDs D1 - D3. Consult the HSS8 software user manual for further information. The HSS8 card will boot up correctly the second time around. 10) Run the test procedure (hss8Test.txt) to verify that the image is working.