conf_isp.h File Reference


Detailed Description

ISP configuration file.

This file contains the possible external configuration of the ISP.

Author:
Atmel Corporation: http://www.atmel.com
Support and FAQ: http://support.atmel.no/

Definition in file CONF/conf_isp.h.

#include <avr32/io.h>
#include "compiler.h"

Go to the source code of this file.

Defines

#define DFU_FRAME_LENGTH   2048
#define ISP_CFG1   (*(volatile U32 *)ISP_CFG1_ADDRESS)
#define ISP_CFG1_ADDRESS   (AVR32_FLASHC_USER_PAGE_ADDRESS + ISP_CFG1_OFFSET)
#define ISP_CFG1_BOOT_KEY1   16
#define ISP_CFG1_BOOT_KEY1_MASK   0xFFFF0000
#define ISP_CFG1_BOOT_KEY1_OFFSET   16
#define ISP_CFG1_BOOT_KEY1_SIZE   16
#define ISP_CFG1_BOOT_KEY1_VALUE   0xE11E
#define ISP_CFG1_CRC8   0
#define ISP_CFG1_CRC8_MASK   0x000000FF
#define ISP_CFG1_CRC8_OFFSET   0
#define ISP_CFG1_CRC8_POLYNOMIAL   0x107
#define ISP_CFG1_CRC8_SIZE   8
#define ISP_CFG1_FORCE   9
#define ISP_CFG1_FORCE_MASK   0x00000200
#define ISP_CFG1_FORCE_OFFSET   9
#define ISP_CFG1_FORCE_SIZE   1
#define ISP_CFG1_IO_COND_EN   8
#define ISP_CFG1_IO_COND_EN_MASK   0x00000100
#define ISP_CFG1_IO_COND_EN_OFFSET   8
#define ISP_CFG1_IO_COND_EN_SIZE   1
#define ISP_CFG1_OFFSET   0x000001FC
#define ISP_CFG1_SIZE   4
#define ISP_CFG2   (*(volatile U32 *)ISP_CFG2_ADDRESS)
#define ISP_CFG2_ADDRESS   (AVR32_FLASHC_USER_PAGE_ADDRESS + ISP_CFG2_OFFSET)
#define ISP_CFG2_BOOT_KEY   17
#define ISP_CFG2_BOOT_KEY_MASK   0xFFFE0000
#define ISP_CFG2_BOOT_KEY_OFFSET   17
#define ISP_CFG2_BOOT_KEY_SIZE   15
#define ISP_CFG2_BOOT_KEY_VALUE   0x494F
#define ISP_CFG2_CRC8   0
#define ISP_CFG2_CRC8_MASK   0x000000FF
#define ISP_CFG2_CRC8_OFFSET   0
#define ISP_CFG2_CRC8_POLYNOMIAL   0x107
#define ISP_CFG2_CRC8_SIZE   8
#define ISP_CFG2_IO_COND_LEVEL   16
#define ISP_CFG2_IO_COND_LEVEL_MASK   0x00010000
#define ISP_CFG2_IO_COND_LEVEL_OFFSET   16
#define ISP_CFG2_IO_COND_LEVEL_SIZE   1
#define ISP_CFG2_IO_COND_PIN   8
#define ISP_CFG2_IO_COND_PIN_MASK   0x0000FF00
#define ISP_CFG2_IO_COND_PIN_OFFSET   8
#define ISP_CFG2_IO_COND_PIN_SIZE   8
#define ISP_CFG2_OFFSET   0x000001F8
#define ISP_CFG2_SIZE   4
#define ISP_ID0   0x00
#define ISP_ID1   0x00
#define ISP_KEY   (*(volatile U32 *)ISP_KEY_ADDRESS)
#define ISP_KEY_ADDRESS   (AVR32_SRAM_ADDRESS + ISP_KEY_OFFSET)
#define ISP_KEY_OFFSET   0x00000000
#define ISP_KEY_SIZE   4
#define ISP_KEY_VALUE   ('I' << 24 | 'S' << 16 | 'P' << 8 | 'K')
#define ISP_OSC   0
#define ISP_VERSION   0x10
#define PRODUCT_FAMILY_ID   0x20
#define PRODUCT_MANUFACTURER_ID   0x58
#define PROGRAM_START_ADDRESS   (AVR32_FLASH_ADDRESS + PROGRAM_START_OFFSET)
#define PROGRAM_START_OFFSET   0x00002000


Define Documentation

#define DFU_FRAME_LENGTH   2048

Definition at line 128 of file CONF/conf_isp.h.

Referenced by erase_check_mem(), read_mem(), and write_mem().

#define ISP_CFG1   (*(volatile U32 *)ISP_CFG1_ADDRESS)

Definition at line 64 of file CONF/conf_isp.h.

Referenced by force_isp(), and is_isp_forced().

#define ISP_CFG1_ADDRESS   (AVR32_FLASHC_USER_PAGE_ADDRESS + ISP_CFG1_OFFSET)

Definition at line 65 of file CONF/conf_isp.h.

#define ISP_CFG1_BOOT_KEY1   16

Definition at line 69 of file CONF/conf_isp.h.

#define ISP_CFG1_BOOT_KEY1_MASK   0xFFFF0000

Definition at line 70 of file CONF/conf_isp.h.

#define ISP_CFG1_BOOT_KEY1_OFFSET   16

Definition at line 71 of file CONF/conf_isp.h.

#define ISP_CFG1_BOOT_KEY1_SIZE   16

Definition at line 72 of file CONF/conf_isp.h.

#define ISP_CFG1_BOOT_KEY1_VALUE   0xE11E

Definition at line 73 of file CONF/conf_isp.h.

#define ISP_CFG1_CRC8   0

Definition at line 85 of file CONF/conf_isp.h.

#define ISP_CFG1_CRC8_MASK   0x000000FF

Definition at line 86 of file CONF/conf_isp.h.

Referenced by force_isp().

#define ISP_CFG1_CRC8_OFFSET   0

Definition at line 87 of file CONF/conf_isp.h.

Referenced by force_isp().

#define ISP_CFG1_CRC8_POLYNOMIAL   0x107

Definition at line 89 of file CONF/conf_isp.h.

#define ISP_CFG1_CRC8_SIZE   8

Definition at line 88 of file CONF/conf_isp.h.

#define ISP_CFG1_FORCE   9

Definition at line 75 of file CONF/conf_isp.h.

#define ISP_CFG1_FORCE_MASK   0x00000200

Definition at line 76 of file CONF/conf_isp.h.

Referenced by force_isp(), and is_isp_forced().

#define ISP_CFG1_FORCE_OFFSET   9

Definition at line 77 of file CONF/conf_isp.h.

Referenced by force_isp(), and is_isp_forced().

#define ISP_CFG1_FORCE_SIZE   1

Definition at line 78 of file CONF/conf_isp.h.

#define ISP_CFG1_IO_COND_EN   8

Definition at line 80 of file CONF/conf_isp.h.

#define ISP_CFG1_IO_COND_EN_MASK   0x00000100

Definition at line 81 of file CONF/conf_isp.h.

#define ISP_CFG1_IO_COND_EN_OFFSET   8

Definition at line 82 of file CONF/conf_isp.h.

#define ISP_CFG1_IO_COND_EN_SIZE   1

Definition at line 83 of file CONF/conf_isp.h.

#define ISP_CFG1_OFFSET   0x000001FC

Definition at line 66 of file CONF/conf_isp.h.

Referenced by force_isp().

#define ISP_CFG1_SIZE   4

Definition at line 67 of file CONF/conf_isp.h.

#define ISP_CFG2   (*(volatile U32 *)ISP_CFG2_ADDRESS)

Definition at line 91 of file CONF/conf_isp.h.

#define ISP_CFG2_ADDRESS   (AVR32_FLASHC_USER_PAGE_ADDRESS + ISP_CFG2_OFFSET)

Definition at line 92 of file CONF/conf_isp.h.

#define ISP_CFG2_BOOT_KEY   17

Definition at line 96 of file CONF/conf_isp.h.

#define ISP_CFG2_BOOT_KEY_MASK   0xFFFE0000

Definition at line 97 of file CONF/conf_isp.h.

#define ISP_CFG2_BOOT_KEY_OFFSET   17

Definition at line 98 of file CONF/conf_isp.h.

#define ISP_CFG2_BOOT_KEY_SIZE   15

Definition at line 99 of file CONF/conf_isp.h.

#define ISP_CFG2_BOOT_KEY_VALUE   0x494F

Definition at line 100 of file CONF/conf_isp.h.

#define ISP_CFG2_CRC8   0

Definition at line 112 of file CONF/conf_isp.h.

#define ISP_CFG2_CRC8_MASK   0x000000FF

Definition at line 113 of file CONF/conf_isp.h.

#define ISP_CFG2_CRC8_OFFSET   0

Definition at line 114 of file CONF/conf_isp.h.

#define ISP_CFG2_CRC8_POLYNOMIAL   0x107

Definition at line 116 of file CONF/conf_isp.h.

#define ISP_CFG2_CRC8_SIZE   8

Definition at line 115 of file CONF/conf_isp.h.

#define ISP_CFG2_IO_COND_LEVEL   16

Definition at line 102 of file CONF/conf_isp.h.

#define ISP_CFG2_IO_COND_LEVEL_MASK   0x00010000

Definition at line 103 of file CONF/conf_isp.h.

#define ISP_CFG2_IO_COND_LEVEL_OFFSET   16

Definition at line 104 of file CONF/conf_isp.h.

#define ISP_CFG2_IO_COND_LEVEL_SIZE   1

Definition at line 105 of file CONF/conf_isp.h.

#define ISP_CFG2_IO_COND_PIN   8

Definition at line 107 of file CONF/conf_isp.h.

#define ISP_CFG2_IO_COND_PIN_MASK   0x0000FF00

Definition at line 108 of file CONF/conf_isp.h.

#define ISP_CFG2_IO_COND_PIN_OFFSET   8

Definition at line 109 of file CONF/conf_isp.h.

#define ISP_CFG2_IO_COND_PIN_SIZE   8

Definition at line 110 of file CONF/conf_isp.h.

#define ISP_CFG2_OFFSET   0x000001F8

Definition at line 93 of file CONF/conf_isp.h.

#define ISP_CFG2_SIZE   4

Definition at line 94 of file CONF/conf_isp.h.

#define ISP_ID0   0x00

Definition at line 61 of file CONF/conf_isp.h.

#define ISP_ID1   0x00

Definition at line 62 of file CONF/conf_isp.h.

#define ISP_KEY   (*(volatile U32 *)ISP_KEY_ADDRESS)

Definition at line 118 of file CONF/conf_isp.h.

#define ISP_KEY_ADDRESS   (AVR32_SRAM_ADDRESS + ISP_KEY_OFFSET)

Definition at line 119 of file CONF/conf_isp.h.

#define ISP_KEY_OFFSET   0x00000000

Definition at line 120 of file CONF/conf_isp.h.

#define ISP_KEY_SIZE   4

Definition at line 121 of file CONF/conf_isp.h.

#define ISP_KEY_VALUE   ('I' << 24 | 'S' << 16 | 'P' << 8 | 'K')

Definition at line 122 of file CONF/conf_isp.h.

#define ISP_OSC   0

Definition at line 125 of file CONF/conf_isp.h.

Referenced by sys_clk_gen_start(), and sys_clk_gen_stop().

#define ISP_VERSION   0x10

Definition at line 60 of file CONF/conf_isp.h.

#define PRODUCT_FAMILY_ID   0x20

Definition at line 58 of file CONF/conf_isp.h.

#define PRODUCT_MANUFACTURER_ID   0x58

Definition at line 57 of file CONF/conf_isp.h.

#define PROGRAM_START_ADDRESS   (AVR32_FLASH_ADDRESS + PROGRAM_START_OFFSET)

Definition at line 130 of file CONF/conf_isp.h.

#define PROGRAM_START_OFFSET   0x00002000

Definition at line 131 of file CONF/conf_isp.h.


Generated on Fri Feb 19 02:32:46 2010 for AVR32 - USB DFU Example: ISP by  doxygen 1.5.5