/* Port Status Defines */
#define PSTS_DONE  0	/* done */
#define PSTS_PGM  1		/* programming */
#define PSTS_VFY  2		/* verifying */
#define PSTS_WFP 3		/* waiting for target power */
#define PSTS_VCC_OK 4	/* vcc ok */
#define PSTS_DISABLED 5	/* port disabled */
#define PSTS_READ 6		/* busy waiting for read to complete */
#define PSTS_CKSM 7		/* busy waiting for checksum to complete */

#define PSTS_F_PWR 0x10		/* failed - device power */
#define PSTS_F_TO 0x11		/* failed - device timeout */
#define PSTS_F_VFY 0x12		/* failed - verify error */
#define PSTS_F_ID0x13		/* failed - device ID */
#define PSTS_F_VCC 0x14		/* failed - VCC present in power-on mode */
#define PSTS_F_OCD 0x15		/* failed - can't communicate with OCD (Z8-E!) */
#define PSTS_F_RESET 0x16   /* failed - target reset asserted */

