By scanning and manipulating the STX104 registers one can determine the firmware revision that is installed.
Revision Releases
|
Date |
Revision ROM Label |
Board ID Register Value |
|
July 16, 2004 |
071604 |
Does not exist |
|
February 14, 2008 |
080214H |
0x1008 |
|
April 4, 2008 |
080407H |
0x1008 |
|
January 15, 2009 |
090115H |
0x1009 |
Note:
1. Revision 080214H has been replaced by 080407H including boards in the field effectively eliminating the 080214H revision entirely. Revision 080407H corrects for several minor issues that were discovered in revision 080214H which does not warrant a change to the board ID.
2. Revision 090115H added mapping the 8254 registers through the index register set to improve accessibility by driver software.
/* STX104 Revision Information */ #define STX104_REVISION_071604 0 #define STX104_REVISION_080214 0x1008 #define STX104_REVISION_080407 0x1008 #define STX104_REVISION_090115 0x1009 /***************************************************************** / REVISION DETECTION */ static unsigned int STX104_Revision_Detected( int board ) { unsigned int value; value = 0x55AA; STX104_Set_Bank( board, 1 ); STX104_Write_Indexed_Data_Word( board, STX104_SCRATCH_PAD, value ); value = STX104_Read_Indexed_Data_Word( board, STX104_SCRATCH_PAD ); if ( value == 0x55AA ) value = STX104_Read_Indexed_Data_Word( board, STX104_BOARD_ID ); else value = 0; return( value ); }
|
Copyright © 2009 by Apex Embedded Systems. All rights reserved. Updated on Thursday, October 08, 2009.
|
|
What do you think about this topic? Send feedback!
|