In System Programming API.
Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.
#include "conf_isp.h"
Data Structures | |
struct | isp_mem_bootloader_t |
Memory bootloader structure. More... | |
struct | isp_mem_t |
Memory API definition. More... | |
union | isp_mems_t |
Memories list structure. More... | |
Macros | |
Memory units index values | |
Used to access at a memory through isp_memories list. | |
#define | ISP_MEM_FLASH 0x00 |
#define | ISP_MEM_EEPROM 0x01 |
#define | ISP_MEM_SECURITY 0x02 |
#define | ISP_MEM_CONFIGURATION 0x03 |
#define | ISP_MEM_BOOTLOADER 0x04 |
#define | ISP_MEM_SIGNATURE 0x05 |
#define | ISP_MEM_USER 0x06 |
#define | ISP_MEM_INT_RAM 0x07 |
#define | ISP_MEM_EXT_MEM_CS0 0x08 |
#define | ISP_MEM_EXT_MEM_CS1 0x09 |
#define | ISP_MEM_EXT_MEM_CS2 0x0A |
#define | ISP_MEM_EXT_MEM_CS3 0x0B |
#define | ISP_MEM_EXT_MEM_CS4 0x0C |
#define | ISP_MEM_EXT_MEM_CS5 0x0D |
#define | ISP_MEM_EXT_MEM_CS6 0x0E |
#define | ISP_MEM_EXT_MEM_CS7 0x0F |
#define | ISP_MEM_EXT_MEM_DF 0x10 |
#define | ISP_MEM_COUNT 0x11 |
Typedefs | |
typedef uint32_t | isp_addr_t |
Data type for holding flash memory addresses. More... | |
Functions | |
COMPILER_PACK_SET (1) typedef union | |
Memory signature structure to store JTAG ID. More... | |
Main In System Programming functions | |
void | isp_init (void) |
Initializes the ISP interface. More... | |
bool | isp_is_security (void) |
Gives the security state of the chip. More... | |
void | isp_force_boot_isp (bool force) |
Change the boot process configuration to enable/disable the ISP mode for the next startup. More... | |
bool | isp_erase_chip (void) |
Erase the application flash area and eventually the eeprom. More... | |
bool | isp_erase_chip_split (void) |
Erase a part of the application flash area This function must be called again as long as it returns 0. More... | |
void | isp_start_appli (void) |
Resets the device to start the user application. More... | |
Variables | |
isp_mem_signature_t | |
const isp_mems_t | isp_memories |
Memories list declaration. More... | |