| поискавой системы для электроныых деталей |
|
AX88796BLF датащи(PDF) 23 Page - ASIX Electronics Corporation |
|
|
|||||||||||||||||||||||||||||
AX88796BLF датащи(HTML) 23 Page - ASIX Electronics Corporation |
|
23 / 82 page ![]() ASIX ELECTRONICS CORPORATION 23 AX88796BLF / AX88796BLI 4.2.5 Other Useful Operations Memory Diagnostics Memory diagnostics can be achieved by Remote Write/Read DMA operations. The following is a suggested step for memory test and assume the AX88796B has been well initialized. 1. Issue the STOP command to the AX88796B. This is accomplished be setting the STP bit in the AX88796B's Command Register. Writing 21H to the Command Register will stop the AX88796B. 2. Wait for at least 1.5 ms. Since the AX88796B will complete any reception that is in progress, it is necessary to time out for the maximum possible duration of an Ethernet reception. This action prevents buffer memory from written data through Local DMA Write. 3. Write data pattern to MUT (memory under test) by Remote DMA write operation. 4. Read data pattern from MUT (memory under test) by Remote DMA read operation. 5. Compare the read data pattern with original write data pattern and check if it is equal. 6. Repeat step 3 to step 5 with various data pattern. Loop-back Diagnostics 1. Issue the STOP command to the AX88796B. This is accomplished be setting the STP bit in the AX88796B's Command Register. Writing 21h to the Command Register will stop the AX88796B. 2. Wait for at least 1.5 ms. Since the AX88796B will complete any reception that is in progress, it is necessary to time out for the maximum possible duration of an Ethernet reception. This action prevents buffer memory from written data through Local DMA Write. 3. Place the AX88796B in mode 1 loop-back. (MAC internal loop-back) This can be accomplished by setting LB1 and LB0, of the Transmit Configuration Register to ``0,1''. 4. Issue the START command to the AX88796B. This can be accomplished by writing 22h to the Command Register. This is necessary to activate the AX88796B's Remote DMA channel. 5. Write data that want to transmit to transmit buffer by Remote DMA write operation. 6. Issue the TXP command to the AX88796B. This can be accomplished by writing 26h to the Command Register. 7. Read data current receive buffer by Remote DMA read operation. 8. Compare the received data with original transmit data and check if it is equal. 9. Repeat step 5 to step 8 for more packets test. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |