Sei sulla pagina 1di 5

3

Appendix

3.1

Establish serial connection with


subsystems

3.1.1

Connect serial wire to the PBA

The download of new program is performed using the serial port (J1). Connect the 3-terminal 2.54 mm
connector to J1 on the PBA. The ground pin is located closest to the heat sink.

GND

Figure 1 Serial port (J1) with GND pin closest to the heat sink

3.1.2

Establish communication

Start Hyper Terminal on the PC. Choose the port to which you have connected the wire (Figure 2).

Rev: 2009E

Title: Troubleshooting Manual

18/29

Figure 2 Choose COM port for serial communication


Enter the communication settings in the pop up dialog window according to Figure 3.
The Ship Sensors Boards are using the baud-rate of 4800 baud, 8 databits, 1 stopbit.
The Axis Controllers and the Tracking Device Unit are using 9600 baud, 8 databits and 1 stopbit.

Figure 3 Communication settings


Go to File -> Properties, choose the Settings tab and enter the settings according to Figure 4.

Rev: 2009E

Title: Troubleshooting Manual

19/29

Figure 4 Emulation settings


Press the ASCII settings button and enter the settings according to Figure 5.

Figure 5 ASCII settings

Rev: 2009E

Title: Troubleshooting Manual

20/29

3.2

Upgrading the subsystem firmware

3.2.1

Establish serial connection

Establish a serial connection with the subsystem according to the instructions in chapter 3.1.

3.2.2

Enter program mode

To be able to program the micro processor the PBA has to be in program mode. The PBA is set in
program mode in 3 steps (Figure 6):
Short circuit J4, keep it short circuited
Short circuit J2 and release it
Wait for a couple of seconds , then release J4

J2
J4
Figure 6 Reset jumper (J2) and boot jumper (J4)

3.2.3

LPC2000 Flash Utility

All cards (Ships Sensors Boards, Tracking Device Unit, Axis Controllers), except for the ACU, are
programmed using the Phillips / NXP LPC2000 Flash Utility, available at
http://www.nxp.com/products/microcontrollers/support/software_download/lpc2000/index.html.
Make sure Hyper Terminal is closed before starting LPC2000 Flash Utility. When started choose the
COM port used and set Baud Rate (9600).

Rev: 2009E

Title: Troubleshooting Manual

21/29

Figure 7 LPC2000 Flash Utility


Start by clicking Read Device ID to make sure the PBA is connected with the PC. The program
responds with Read Part ID Successfully in the lower left corner.
Click Erase, the program will respond with Erased LPC2000 Flash Successfully.
Choose the file you want to upload and click Upload to Flash. This will take about 1 minute, when
finished File Upload Completed will show in the lower left corner.
Close LPC2000 Flash Utility.

3.2.4

Reset the PBA

Perform a reset by short circuiting J2 on the PBA. Start Hyper Terminal and make sure that you are
able to communicate with the PBA.

Rev: 2009E

Title: Troubleshooting Manual

22/29

Potrebbero piacerti anche