HD6 Flash EEPROM Programming via BDM Procedure

HD6 Flash EEPROM Programming via BDM Procedure Introduction The HD6 has four physical memory partitions allocated within the Flash EEPROM. This docume...
Author: Dora Norris
0 downloads 0 Views 608KB Size
HD6 Flash EEPROM Programming via BDM Procedure Introduction The HD6 has four physical memory partitions allocated within the Flash EEPROM. This document will detail how each of these partitions may be erased and/or programmed individually or as a whole via the Background Debug Mode (BDM) connection. The partitions are as follows: • • • •

Boot firmware (Sectors 0–3) Application firmware (Sectors 4–10) Application user data bank 0 (Sectors 11–14) Αpplication user data bank 1 (Sectors 15–18)

• • • • •

PC running Microsoft®Windows® 9x/ME/NT/2000/XP HD6 – Including power supply and back can board EEE 1284 cable – Parallel cable (25 pin male to 25 pin female) P&E Microcomputer Systems CABLE 32 – Parallel to BDM adapter P&E Microcomputer Systems PROG32Z Flash EEPROM programming software Honeywell HD6 Programming algorithm – Am29_800b_w_honeywell_HD6_1_00.32P

Items needed



Installing software (first time only)

Document D002771 – 11/06 – Rev 1.00

1.

Run the Setup.exe program located on the PROG32Z CD. The default settings can be selected for each item that you are prompted to select.

2.

Once the setup is complete the PC will need to be restarted for all settings to take effect.

Setup Figure 1

Pin Location on CABLE 32

Note Red stripe indicating Pin 1 and location on CABLE 32 header

Rev 1.00

2

Document D002771 11/06

Figure 2

Location on HD6 BDM Header

Note Red stripe indicating Pin 1 and location on HD6 BDM header (J3 on 519541-1020)

Rev 1.00

1.

Connect the BDM cable between the HD6 and CABLE 32 as illustrated in Figures 1 and 2 above.

2.

Connect the parallel cable between CABLE 32 and PC.

3.

Apply power to the HD6.

4.

Start PROG32Z via Start Programs > P&E 683xx Flash Programmer > PROG32Z 683xx Programmer.

3

Document D002771 11/06

5.

A Connection Assistant window will appear. The defaults should work correctly. If not, select the parallel port you’re using and set the remaining itemsas follows in Figure 3. Press OK. Figure 3

Window Requesting Programming Algorithm

6.

A window will appear requesting the programming algorithm you would like to use. Select the Am29_800b_w_honeywell_HD6_1_00.32P file. The following should appear in the Status Window:

7.

Next, you’ll be prompted to enter a Base Address. Enter 0, then click OK.

Erasing the entire Flash EEPROM module If you wish to erase the entire Flash EEPROM prior to programming any firmware the following procedure can be done. This will ensure a clean environment prior to loading new firmware if previous firmware/user data existed thus eliminating incompatibility issues.

WARNING!

Rev 1.00

This will delete all Preset, Tour… and user information stored in the user data banks.

4

Document D002771 11/06

Double-click on EM Erase Module in the Choose Programming Function window. This should take approximately 7 seconds.

Note

Tthe Boot and Application programming functions listed below don’t require their respective erasing steps if the Erasing the entire Flash EEPROM module is done.

Erasing and programming the Boot Firmware only 1.

Double-click on KB Erase Boot code in the Choose Programming Function window (you may need to scroll down to find it). The Boot sectors should erase in approximately 1 second.

2.

Select the Boot Firmware you wish to program by File > Specify S Record, such as 519542-1980_D_036_KD6Flash Boot.S19.

Note

3.

The file is a Motorola S record (typically with *.hex extension), but P&E Microcomputer require the *.S19 extension. The selected path and file should appear in the Configuration window next to ‘S19 file =’.

Next, double-click on PM Program Module in the Choose Programming Function window. The current revision (Rev. D, 21KB) takes approximately 4 seconds to program.

Erasing and programming the Application Firmware only 1.

Double-click on KA Erase Appl code in the Choose Programming Function window (you may need to scroll down to find it). The Application sectors should erase in approximately 3 seconds.

2.

Select the Application Firmware you wish to program by File > Specify S Record, such as 519543-1980_E_037_KD6Flash Application.S19. Note, the file is a Motorola S record (typically with *.hex extension), but P&E Microcomputer require the *.S19 extension. The selected path and file should appear in the Configuration window next to ‘S19 file =’.

3.

Next, double-click on PM Program Module in the Choose Programming Function window. The current revision (Rev. E, 187KB) takes approximately 30 seconds to program.

Erasing the User Data Banks 0 and 1

WARNING!

Rev 1.00

This will delete all Preset, Tour… and user information stored in the user data banks.

5

Document D002771 11/06

Double-click on either K0 Erase Bank 0 or K1 Erase Bank 1 in the Choose Programming Function window (you may need to scroll down to find them) to erase the respective bank of user data. Each bank will take approximately 2 seconds to erase.

Verifying changes and power-down sequence In order to test any erasing and/or programming functions performed the CABLE 32 adapter must be removed from the HD6. Exit the PROG32Z program and remove power to the HD6 prior to removing the CABLE 32 adapter.

www.honeywellvideo.com +1.800.796.CCTV (North America only) [email protected] Document D002771 11/06 Rev 1.00 © 2006 Honeywell International Inc. All rights reserved. No part of this publication may be reproduced by any means without written permission from Honeywell Video Systems. The information in this publication is believed to be accurate in all respects. However, Honeywell Video Systems cannot assume responsibility for any consequences resulting from the use thereof. The information contained herein is subject to change without notice. Revisions or new editions to this publication may be issued to incorporate such changes.