43 #pragma config OSC = HS 44 #pragma config WDTEN = OFF 45 #pragma config MCLRE = ON 46 #pragma config CPD = OFF 47 #pragma config BOREN = ON 48 #pragma config IESO = ON 49 #pragma config FCMEN = ON 50 #pragma config STVREN = ON 51 #pragma config LVP = ON 57 #define NVM_ROW_SIZE 8 58 #define NVM_PAGE_SIZE 64 60 #define NVM_START_ADDRESS 0x00 61 #define NVM_END_ADDRESS 0x3fff 63 uint16_t applStartAdd; 65 void runStateMachine(void); SYSTEM_COM_PROTOCOL_MSG_Tag
Enumeral represents handshaking signals between programmer and controller.
Definition: system.h:88
#define NVM_PAGE_SIZE
Definition: system.h:58
SYSTEM_STATUS_Tag
Enumeral represents different system states.
Definition: system.h:76
unsigned short uint16_t
Definition: system.h:54
#define NVM_END_ADDRESS
Definition: system.h:61
unsigned char uint8_t
Definition: system.h:53
void runApplcn(void)
PC is updated with the new pointer to execute loaded binary from the application flash program memory...
Definition: main.c:67
void initVarConfigPort(void)
function configures and initializes IO ports.
Definition: main.c:51
unsigned long uint32_t
Definition: system.h:55
#define NVM_START_ADDRESS
Definition: system.h:60
enum SYSTEM_COM_PROTOCOL_MSG_Tag SYS_COM_PROTOCL_MSG_t
Enumeral represents handshaking signals between programmer and controller.
enum SYSTEM_STATUS_Tag SYS_STATE_t
Enumeral represents different system states.
uint8_t totalNumberOfPacckets
Definition: system.h:71