42 #include <sys/attribs.h> 44 typedef unsigned char uint8_t;
45 typedef unsigned short uint16_t;
46 typedef unsigned long uint32_t;
47 typedef unsigned int uint_t;
49 #define NVM_PAGE_SIZE 1024 // # of 32-bit Instructions per Page 50 #define BYTE_PAGE_SIZE (4 * PAGE_SIZE) // Page size in Bytes 51 #define ROW_SIZE 128 // # of 32-bit Instructions per Row 52 #define BYTE_ROW_SIZE (4 * ROW_SIZE) // # Row size in Bytes 53 #define NUM_ROWS_PAGE 8 //Number of Rows per Page 55 #define APP_FLASH_BASE_ADDRESS 0x9D006000 56 #define APP_FLASH_END_ADDRES 0x9D00FFFF 58 uint32_t applStartAdd; 60 void runStateMachine(void); 62 void initVarConfigPort(
void);
SYSTEM_COM_PROTOCOL_MSG_Tag
Enumeral represents handshaking signals between programmer and controller.
Definition: system.h:83
SYSTEM_STATUS_Tag
Enumeral represents different system states.
Definition: system.h:71
void runApplcn(void)
PC is updated with the new pointer to execute loaded binary from the application flash program memory...
Definition: main.c:89
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:66