Atmel Software Framework

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Definitions for FLIP Protocol version 1

Note: Used by Mega parts.

Data Structures

struct  flip_msg_v1_t
 FLIP message structure. More...
 

Macros

#define FLIP_V1_BUF_TRANS_SIZE   1024
 Size of buffer used by FLIP to receive or send data. More...
 

FLIP commands

#define FLIP_V1_CMD_PROG_START   0x01
 
#define FLIP_V1_CMD_READ   0x03
 
#define FLIP_V1_CMD_WRITE   0x04
 
#define FLIP_V1_CMD_READ_ID   0x05
 
#define FLIP_V1_CMD_CHANGE_BASE_ADDR   0x06
 

FLIP_V1_CMD_PROG_START first argument

#define FLIP_V1_CMD_PROG_START_ARG_FLASH   0x00
 
#define FLIP_V1_CMD_PROG_START_ARG_EEPROM   0x01
 
#define FLIP_V1_CMD_PROG_START_ARG_CUSTOM   0x08
 

FLIP_V1_CMD_READ first argument

#define FLIP_V1_CMD_READ_ARG_FLASH   0x00
 
#define FLIP_V1_CMD_READ_ARG_FLASHCHECK   0x01
 
#define FLIP_V1_CMD_READ_ARG_EEPROM   0x02
 
#define FLIP_V1_CMD_READ_ARG_CUSTOM   0x03
 

FLIP_V1_CMD_WRITE first argument

#define FLIP_V1_CMD_WRITE_ARG_ERASE   0x00
 
#define FLIP_V1_CMD_WRITE_ARG_RST   0x03
 

FLIP_V1_CMD_WRITE_ARG_ERASE following argument

#define FLIP_V1_CMD_WRITE_ARG_ERASE_CHIP   0xFF
 

FLIP_V1_CMD_WRITE_ARG_RST following arguments

#define FLIP_V1_CMD_WRITE_ARG_RST_HW   0x00
 
#define FLIP_V1_CMD_WRITE_ARG_RST_SF   0x01
 

#define FLIP_V1_BUF_TRANS_SIZE   1024

Size of buffer used by FLIP to receive or send data.

#define FLIP_V1_CMD_CHANGE_BASE_ADDR   0x06
#define FLIP_V1_CMD_PROG_START   0x01
#define FLIP_V1_CMD_PROG_START_ARG_CUSTOM   0x08
#define FLIP_V1_CMD_PROG_START_ARG_EEPROM   0x01
#define FLIP_V1_CMD_PROG_START_ARG_FLASH   0x00
#define FLIP_V1_CMD_READ   0x03
#define FLIP_V1_CMD_READ_ARG_CUSTOM   0x03
#define FLIP_V1_CMD_READ_ARG_EEPROM   0x02
#define FLIP_V1_CMD_READ_ARG_FLASH   0x00
#define FLIP_V1_CMD_READ_ARG_FLASHCHECK   0x01
#define FLIP_V1_CMD_READ_ID   0x05
#define FLIP_V1_CMD_WRITE   0x04
#define FLIP_V1_CMD_WRITE_ARG_ERASE   0x00
#define FLIP_V1_CMD_WRITE_ARG_ERASE_CHIP   0xFF
#define FLIP_V1_CMD_WRITE_ARG_RST   0x03
#define FLIP_V1_CMD_WRITE_ARG_RST_HW   0x00
#define FLIP_V1_CMD_WRITE_ARG_RST_SF   0x01