sbs api vs hal ver 01-10
DESCRIPTION
SBS API vs HAL ver 01-10. SBS Radiation Test. Runs in infinite loop issuing PIO and DMA read/write commands to 8MB memory board At beginning of program the driver is configured using SBS API functions to:. Use 16-bit data transfers Set DMA threshold to 25 bytes Use Address Modifier 0x39 - PowerPoint PPT PresentationTRANSCRIPT
March 13, 2003Gregory Pawloski
SBS API vs HAL ver 01-10
March 13, 2003Gregory Pawloski
Runs in infinite loop issuing PIO and DMA read/write commands to 8MB memory board
At beginning of program the driver is configured using SBS API functions to:
SBS Radiation Test
1) Use 16-bit data transfers
2) Set DMA threshold to 25 bytes
3) Use Address Modifier 0x39
4) Not to do byte swapping of words
March 13, 2003Gregory Pawloski
During one iteration:PIO Access Step 1
SBS Radiation Test
8MBRandom16-bits
0x???? bt_write()
DriverReports Error
Specific ErrorReported to Screen& Log Every 200Iterations
Every Error Increments PIOWrite Error Counter
March 13, 2003Gregory Pawloski
PIO Access Step 2
SBS Radiation Test
8MB16-bits
Read Back0x????
DriverReports Error
Specific ErrorReported to Screen& Log Every 200Iterations
Every Error Increments PIORead Error Counter
bt_read()
March 13, 2003Gregory Pawloski
PIO Access Step 3
SBS Radiation Test
InitialRandom16-bits
0x????
DataCorruption
Error Reported toScreen & Log Every200 Iterations
Every Byte ErrorIncrements PIOData CorruptionCounter
Final16-bits
Read Back0x????Compares
March 13, 2003Gregory Pawloski
DMA Access: SAME as PIO with 100 Bytes (over 25 Byte Threshold)
SBS Radiation Test
InitialRandom
100 Bytes
0x???? ..
0x????
DataCorruption
Error Reported toScreen & Log Every200 Iterations
Every Byte ErrorIncrements DMAData CorruptionCounter
Final100 BytesRead Back
0x???? ..
0x????
Compares
8MB100 BytesRead Back
0x???? ..
0x????
DriverReports Error
Specific ErrorReported to Screen& Log Every 200Iterations
Every Error Increments DMARead Error Counter
bt_read()8MB
InitialRandom
100 Bytes
0x???? ..
0x????
bt_write()
DriverReports Error
Specific ErrorReported to Screen& Log Every 200Iterations
Every Error Increments DMAWrite Error Counter
March 13, 2003Gregory Pawloski
Every 200 Iterations, a summary is displayed on Screen & Log w/: The amount of time the program has been running
The amount of time until the 1st PIO Error occurred
The amount of time until the 1st DMA Error occurred
A running sum of the number of PIO Write Errors
A running sum of the number of PIO Read Errors
A running sum of the number of PIO Data Corruption Errors
A running sum of the number of DMA Write Errors
A running sum of the number of DMA Read Errors
A running sum of the number of DMA Data Corruption Errors
SBS Radiation Test