![Maxim MAXQ7665 Скачать руководство пользователя страница 9](http://html.mh-extra.com/html/maxim/maxq7665/maxq7665_quick-start-manual_1744399009.webp)
sends a few basic commands to the debug engine and has the MAXQ7665 send all its internal registers. The commands
used are included in the file provided on the Quick Start CD in the MTK directory named
protocol.txt
. Use the following
commands to Get all the registers. Make sure that you are using capitals (CAPs), as MTK is case-sensitive. The comments
are in parentheses.
>I (Initialize the debug engine and press Enter.)
>D (Enter debug background mode and press Enter.)
>E (Enter debug mode and press Enter.)
>G (Get all registers and press Enter.)
If the MAXQ7665 is working correctly it should reply with the register map shown in
Figure 6
. Note that the registers
start with Module 0 Register 0, followed by Module 0 Register 1, etc. Note too that the commands can be combined onto
a single line. For example, >IDEG will yield the same result.
Figure 6. If the MAXQ7665 is configured correctly, the register map should start with Module 0, Register 0.
From the register map above the first register from Module 0 and Index 0 M[00,00] is the Port 0 Output Register (PO0).
The power-on reset (POR) value of this register is 0x3F, which is correct. Also the next two registers are the Port
1 M[01,00] and Port 2 M[02,00] output registers whose POR values are 0xFF, which is also correct.
If you do not get the register map shown in Figure 6 and instead get the register map in
Figure 7
, reset the MAXQ7665
by pressing and releasing SW10. Once this is done, repeat the IDEG commands and you should get the register map in
Figure 6. Note that the register map in Figure 7 is also an acceptable state for the debug engine.
Figure 7. Alternate Get register map.
Page 9 of 12