AVR079
3.9 CMD_CHECK_TARGET_CONNECTION
Table 3-20. Command format.
Field
Command ID
Size
1 byte
Values
CMD_CHECK_TARGET_CONNECTION
Description
Command id
Table 3-21. Answer format.
Field
Answer ID
Answer value
Status
Size
1 byte
1 byte
1 byte
Values
CMD_LOAD_EC_ID_TABLE
Se table below.
STATUS_CMD_OK
Description
Answer id
Status of target connection
This command runs a target connection check and returns the status of the target
connection.
The value is 6bits, where bit 0-2 indicates the status of the short circuit protection
system and bit 4-5 indicates if the ISP is connected correctly to the target system.
Bit 4-5 will only indicate correct target connection if the target is powered.
Bit 3 is “Don’t care”.
Table 3-22. bit descriptions.
Bit #
0
1
2
4
5
Status
STATUS_CONN_FAIL_MOSI
STATUS_CONN_FAIL_RST
STATUS_CONN_FAIL_SCK
STATUS_ISP_READY
STATUS_TGT_REVERSE_INSERTED
The corresponding bit will be set ‘1’ to indicate an error.
That is, if a line is short circuited, if target is not detected or the plug is inserted with a
reverse orientation.
If the value 0x00 is returned it means the connection is ok.
The parameter should be checked before starting a programming sequence to check
if target connection is correct (bit 4-5).
It should also be checked after a programming sequence if the command failed, to
check if the operation failed because of a short circuit.
A short circuit can only be detected after the command Enter Progmode has been
issued, because the control circuits of the STK600 is isolated via switches when the
STK600 is in idle mode.
4 ISP Programming Commands
These commands handles FLASH, EEPROM, fuse bytes, lock bits, signature and
oscillator calibration programming in ISP mode.
7
8133A-AVR-04/08
相关PDF资料
ATXMEGAB1-XPLD KIT EVAL FOR ATXMEGAB1
AUIR2085S IC DVR HALF-BRDG SELF OSC 8SOIC
AUIRS2003S IC DRVIER HALF-BRIDGE 8SOIC
AUIRS2004S IC DRVIER HALF-BRIDGE 8SOIC
AUIRS2112S IC DRIVER HIGH/LOW SIDE 16SOIC
AUIRS2113S IC DRIVER HIGH/LOW SIDE 16SOIC
AUIRS2118S IC DRIVER HIGH SIDE SGL 8SOIC
AUIRS2123S IC DRIVER HIGH SIDE 600V 8SOIC
相关代理商/技术参数
ATSTK600-ATMEGA2560 功能描述:插座和适配器 STK600 DEVICECARD ATMEGA2560 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
ATSTK600-ATTINY10 功能描述:插座和适配器 STK600 adaptercard for ATtiny10 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
ATSTK600-DIP40 功能描述:插座和适配器 SOCKET ADAPTER CARD FOR ATSTK600 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
ATSTK600-LCD160 功能描述:子卡和OEM板 STK600 LCD EXTENSION CARD FOR megaAVR RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
ATSTK600-LCDX 功能描述:子卡和OEM板 STK600 LCD FOR XMEGAB RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
ATSTK600-RC01 功能描述:插座和适配器 STK600 ROUTINGCARD RC020T-1 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
ATSTK600-RC02 功能描述:插座和适配器 STK600 ROUTINGCARD RC008T-2 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
ATSTK600-RC03 功能描述:插座和适配器 STK600 ROUTINGCARD PDIP28 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x