I found this on another thread hear on HDT.
Diagnostic Codes
Turn Ignition switch to OFF & Run/Stop switch is to Run.
Push odometer reset button in & hold.
Turn ignition switch to Ignition and release odometer reset button. Background lighting should illuminate, speedometer needle should sweep its full range and indicator lamps (battery, security, low fuel, check engine and cruise) should illuminate. The word “diag” should then appear.
Push the odometer reset button once and you will see the selection menu "PSSPtb" with the first P flashing.
Each letter represents an area of the diagnostics module. The module that is flashing is the one you are going to check. To move from one letter (module) to the next, you push the odometer reset button one time. (from P to S to SP to t to b and back to P, etc.)
P --> ECM (Electronic Control Module [EFI])
S --> TSM/TSSM/HFSM (Turn Signal/ Turn Signal Security Module/ Hands-free Security Module)
SP --> speedometer
t --> tachometer
b --> ABS codes
To get the DTC within an area of diagnostics, push and hold the odometer reset button in for 5 seconds and release. If there are any DTCs the code will be displayed or the word “none” will appear if there are no DTCs. Push the odometer reset button again to view additional codes if they exist.
Record the codes.
If DTCs are NOT to be cleared, Press and release the odometer reset button. Part number of module will be displayed.
NOTE: To determine if a code is current or historic, clear the displayed code by pushing in and holding the odometer reset button ( longer than 5 seconds) until 'clear' is displayed. Release the odometer reset button. Turn OFF the ignition switch. Perform a road test then shut your bike down. Recheck the DTC’s again by repeating steps 1 to 7. If the code is current it will reappear. Historic DTCs are stored for 50 ignition cycles before cleared. The security lamp will only indicate the existence of historic DTCs for two ignition cycles.