+#include "NUC100Series.h"
+
+
+#define PLL_CLOCK 50000000
+
+#define RXBUFSIZE 1024
+
+/*---------------------------------------------------------------------------------------------------------*/
+/* Global variables */
+/*---------------------------------------------------------------------------------------------------------*/
+uint8_t g_u8RecData[RXBUFSIZE] = {0};
+
+volatile uint32_t g_u32comRbytes = 0;
+volatile uint32_t g_u32comRhead = 0;
+volatile uint32_t g_u32comRtail = 0;
+volatile int32_t g_bWait = TRUE;
+
+/*---------------------------------------------------------------------------------------------------------*/
+/* Define functions prototype */
+/*---------------------------------------------------------------------------------------------------------*/
+int32_t main(void);
+void UART_TEST_HANDLE(void);
+void UART_FunctionTest(void);
+
+
+void SYS_Init(void)
+{
+ /*---------------------------------------------------------------------------------------------------------*/
+ /* Init System Clock */
+ /*---------------------------------------------------------------------------------------------------------*/
+
+ /* Enable Internal RC 22.1184MHz clock */
+ CLK_EnableXtalRC(CLK_PWRCON_OSC22M_EN_Msk);
+
+ /* Waiting for Internal RC clock ready */
+ CLK_WaitClockReady(CLK_CLKSTATUS_OSC22M_STB_Msk);
+
+ /* Switch HCLK clock source to Internal RC and HCLK source divide 1 */
+ CLK_SetHCLK(CLK_CLKSEL0_HCLK_S_HIRC, CLK_CLKDIV_HCLK(1));
+
+ /* Enable external XTAL 12MHz clock
+ CLK_EnableXtalRC(CLK_PWRCON_XTL12M_EN_Msk);
+
+ /* Waiting for external XTAL clock ready
+ CLK_WaitClockReady(CLK_CLKSTATUS_XTL12M_STB_Msk);
+
+ /* Set core clock as PLL_CLOCK from PLL */
+ //CLK_SetCoreClock(PLL_CLOCK);
+
+ /* Enable UART module clock */
+ CLK_EnableModuleClock(UART1_MODULE);
+
+ /* Select UART module clock source */
+ //CLK_SetModuleClock(UART1_MODULE, CLK_CLKSEL1_UART_S_HXT, CLK_CLKDIV_UART(1));
+
+ /*---------------------------------------------------------------------------------------------------------*/
+ /* Init I/O Multi-function */
+ /*---------------------------------------------------------------------------------------------------------*/
+
+ /* Set GPB multi-function pins for UART0 RXD and TXD */
+ SYS->GPB_MFP &= ~(SYS_GPB_MFP_PB5_Msk | SYS_GPB_MFP_PB4_Msk);
+ SYS->GPB_MFP |= SYS_GPB_MFP_PB5_UART1_TXD | SYS_GPB_MFP_PB4_UART1_RXD;
+
+}
+
+void UART1_Init()
+{
+ /*---------------------------------------------------------------------------------------------------------*/
+ /* Init UART */
+ /*---------------------------------------------------------------------------------------------------------*/
+ /* Reset UART0 */
+ SYS_ResetModule(UART1_RST);
+
+ /* Configure UART0 and set UART0 Baudrate */
+ UART_Open(UART1, 115200);
+}
+
+/*---------------------------------------------------------------------------------------------------------*/
+/* UART Test Sample */
+/* Test Item */
+/* It sends the received data to HyperTerminal. */
+/*---------------------------------------------------------------------------------------------------------*/
+
+/*---------------------------------------------------------------------------------------------------------*/
+/* MAIN function */
+/*---------------------------------------------------------------------------------------------------------*/
+
+
+void delay_ms(){
+ for(int x = 1000; x > 0;x--){
+ for(int z = 0; z < 300; z++){
+
+ }
+ }
+}
+int main(void)
+{
+ /* Unlock protected registers */
+ SYS_UnlockReg();
+
+ /* Init System, peripheral clock and multi-function I/O */
+ SYS_Init();
+
+ /* Lock protected registers */
+ SYS_LockReg();
+
+ /* Init UART0 for printf and testing */
+ UART1_Init();
+
+ /*---------------------------------------------------------------------------------------------------------*/
+ /* SAMPLE CODE */
+ /*---------------------------------------------------------------------------------------------------------*/
+
+ /* UART sample function */
+ //UART_FunctionTest();
+
+ while(1){
+ UART_Write(UART1,"shit",4);
+ delay_ms();
+ };
+
+}
+
+/*---------------------------------------------------------------------------------------------------------*/
+/* ISR to handle UART Channel 0 interrupt event */
+/*---------------------------------------------------------------------------------------------------------*/
+void UART02_IRQHandler(void)
+{
+ UART_TEST_HANDLE();
+}
+
+/*---------------------------------------------------------------------------------------------------------*/
+/* UART Callback function */
+/*---------------------------------------------------------------------------------------------------------*/
+void UART_TEST_HANDLE()
+{
+ uint8_t u8InChar = 0xFF;
+ uint32_t u32IntSts = UART0->ISR;
+
+ if(u32IntSts & UART_ISR_RDA_INT_Msk)
+ {
+ printf("\nInput:");
+
+ /* Get all the input characters */
+ while(UART_IS_RX_READY(UART1))
+ {
+ /* Get the character from UART Buffer */
+ u8InChar = UART_READ(UART1);
+
+ printf("%c ", u8InChar);
+
+ if(u8InChar == '0')
+ {
+ g_bWait = FALSE;
+ }
+
+ /* Check if buffer full */
+ if(g_u32comRbytes < RXBUFSIZE)
+ {
+ /* Enqueue the character */
+ g_u8RecData[g_u32comRtail] = u8InChar;
+ g_u32comRtail = (g_u32comRtail == (RXBUFSIZE - 1)) ? 0 : (g_u32comRtail + 1);
+ g_u32comRbytes++;
+ }
+ }
+ printf("\nTransmission Test:");
+ }
+
+ if(u32IntSts & UART_ISR_THRE_INT_Msk)
+ {
+ uint16_t tmp;
+ tmp = g_u32comRtail;
+ if(g_u32comRhead != tmp)
+ {
+ u8InChar = g_u8RecData[g_u32comRhead];
+ UART_WRITE(UART0, u8InChar);
+ g_u32comRhead = (g_u32comRhead == (RXBUFSIZE - 1)) ? 0 : (g_u32comRhead + 1);
+ g_u32comRbytes--;
+ }
+ }
+}
+
+/*---------------------------------------------------------------------------------------------------------*/
+/* UART Function Test */
+/*---------------------------------------------------------------------------------------------------------*/
+void UART_FunctionTest()
+{
+ printf("+-----------------------------------------------------------+\n");
+ printf("| UART Function Test |\n");
+ printf("+-----------------------------------------------------------+\n");
+ printf("| Description : |\n");
+ printf("| The sample code will print input char on terminal |\n");
+ printf("| Please enter any to start (Press '0' to exit) |\n");
+ printf("+-----------------------------------------------------------+\n");
+
+ /*
+ Using a RS232 cable to connect UART0 and PC.
+ UART0 is set to debug port. UART0 is enable RDA and RLS interrupt.
+ When inputting char to terminal screen, RDA interrupt will happen and
+ UART0 will print the received char on screen.
+ */
+
+ /* Enable Interrupt and install the call back function */
+ UART_EnableInt(UART1, (UART_IER_RDA_IEN_Msk | UART_IER_THRE_IEN_Msk | UART_IER_TOUT_IEN_Msk));
+ while(g_bWait);
+
+ /* Disable Interrupt */
+ UART_DisableInt(UART1, (UART_IER_RDA_IEN_Msk | UART_IER_THRE_IEN_Msk | UART_IER_TOUT_IEN_Msk));
+ g_bWait = TRUE;
+ printf("\nUART Sample Demo End.\n");
+
+}
+
diff --git a/c51/relay_controller/STARTUP.OBJ b/c51/relay_controller/STARTUP.OBJ
new file mode 100644
index 0000000..8d270c1
Binary files /dev/null and b/c51/relay_controller/STARTUP.OBJ differ
diff --git a/c51/relay_controller/main.__i b/c51/relay_controller/main.__i
index 6930b7c..a083318 100644
--- a/c51/relay_controller/main.__i
+++ b/c51/relay_controller/main.__i
@@ -1 +1 @@
-"main.c" ROM(COMPACT) BROWSE DEBUG OBJECTEXTEND TABS (2)
\ No newline at end of file
+"main.c" BROWSE DEBUG OBJECTEXTEND
\ No newline at end of file
diff --git a/c51/relay_controller/main.c b/c51/relay_controller/main.c
index afe5d5b..1df332f 100644
--- a/c51/relay_controller/main.c
+++ b/c51/relay_controller/main.c
@@ -12,7 +12,7 @@
#include "STC11.h"
#include "intrins.h"
-
+#include "string.h"
typedef unsigned char BYTE;
typedef unsigned int WORD;
@@ -31,15 +31,21 @@ typedef unsigned int WORD;
sbit bit9 = P2^2; //P2.2 show UART data bit9
bit busy;
-bit recv_flag = 0;
+bit connected_flag = 0;
+bit recv_flag_global = 0;
bit overflow_flag = 0;
char recv_buf[30] = {0};
char index = 0;
+char index_tmp = 0;
void SendData(BYTE dat);
void SendString(char *s);
+void SendWifi(char *dat);
-code char SetUp[30] = "ATE0\r\n";
-code char Connect[] = "AT+CIPSTART=\"TCP\",\"192.168.2.108\",8080\r\n";
+code char AT_SetUp[30] = "ATE0\r\n";
+code char AT_Connect[] = "AT+CIPSTART=\"TCP\",\"192.168.2.108\",8080\r\n";
+code char AT_SendData[] = "AT+CIPSEND=5\r\n";
+
+char gSendbuf[14];
void P1_Uart(){
AUXR1 &= 0x7f;
AUXR1 |= UART_P1;
@@ -64,6 +70,23 @@ void Delay3020ms() //@11.0592MHz
} while (--j);
} while (--i);
}
+void Delay500ms() //@11.0592MHz
+{
+ unsigned char i, j, k;
+
+ _nop_();
+ _nop_();
+ i = 22;
+ j = 3;
+ k = 227;
+ do
+ {
+ do
+ {
+ while (--k);
+ } while (--j);
+ } while (--i);
+}
void Delay1020us() //@11.0592MHz
{
@@ -75,7 +98,7 @@ void Delay1020us() //@11.0592MHz
{
while (--j);
} while (--i);
-}
+}
void Uart_Init(){
PCON &= 0x7F; //??????
SCON = 0x50; //8???,?????
@@ -90,16 +113,18 @@ void Uart_Init(){
}
void callbackUart(){
- if (recv_flag == 1 || overflow_flag == 1){
+ if (recv_flag_global == 1 || overflow_flag == 1){
P3_Uart();
SendString(recv_buf);
- recv_flag = 0;
+ memset(recv_buf,0,30);
+ recv_flag_global = 0;
overflow_flag = 0;
P1_Uart();
}
}
void main()
{
+ char i = 0;
bit flag1 = 0;
bit flag2 = 0;
Delay3020ms();
@@ -121,46 +146,91 @@ void main()
//P1 = 0X00;
Delay1020us();
-
+ for( i = 0;i < 13;i++){
+ gSendbuf[i] = i+1;
+ }
while(1){
if (flag1 == 0){
flag1 = 1;
- SendString(SetUp);
+ SendString(AT_SetUp);
Delay3020ms();
}
callbackUart();
if ((flag1 == 1) && (flag2 == 0)) {
flag2 = 1;
- SendString(Connect);
+ SendString(AT_Connect);
Delay3020ms();
-
+ connected_flag = 1;
+ //SendWifi("12345");
}
callbackUart();
};
}
-
+/*
+ 0D 0A 4F 4B 0D 0A \r\nOK\r\n
+ 43 4F 4E 4E 45 43 54 0D 0A 0D 0A 4F 4B 0D 0A CONNECT\r\nOK
+ +IPD,5:12345
+*/
/*----------------------------
UART interrupt service routine
----------------------------*/
void Uart_Isr() interrupt 4
{
- static char last_byte;
+ static char last_byte;
+
+ static bit flag_recv = 0;
+ static bit flag_need_read = 0;
+ static char recv_cnt = 0;
if (RI)
{
RI = 0; //Clear receive interrupt flag
- if((last_byte == '\r') &&(SBUF == '\n' )&& (index != 1)) {
- recv_flag = 1;
- index = 0;
- }
+ if((last_byte == '\r')
+ &&(SBUF == '\n' )
+ && (index != 1)
+ &&(connected_flag == 0)){
+ recv_buf[index + 1] = '\0';
+ recv_flag_global = 1;
+ index = 0;
+ sec_last_byte = 0;
+ last_byte = 0;
+ trd_last_byte = 0;
+ four_last_byte = 0;
+ //todo
+ }
+ if(
+ (last_byte == ':')
+ &&(sec_last_byte == '5' )
+ &&(trd_last_byte == ',' )
+ &&(four_last_byte == 'D'))
+ {
+ flag_need_read = 1;
+ recv_cnt = 5;
+ }
+
+
+ if(flag_need_read == 1){
+ if(recv_cnt > 0){
+ recv_cnt --;
+ }else{
+ recv_buf[index + 1] = "\0";
+ recv_flag_global = 1;
+ index = 0;
+ sec_last_byte = 0;
+ last_byte = 0;
+ trd_last_byte = 0;
+ four_last_byte = 0;
+ }
+ }
+
RI = 0;
recv_buf[index] = SBUF;
- last_byte = SBUF;
- index ++;
+ last_byte = SBUF;
+ index ++;
if(index > 29){
- index = 0;
- overflow_flag = 1;
- }
+ index = 0;
+ overflow_flag = 1;
+ }
}
if (TI)
{
@@ -176,7 +246,7 @@ Output:None
----------------------------*/
void SendData(BYTE dat)
{
- while(busy == 1) return;
+ while(busy == 1) return;
ACC = dat; //Calculate the even parity bit P (PSW.0)
busy = 1;
@@ -193,8 +263,12 @@ void SendString(char *s)
{
while (*s != '\0') //Check the end of the string
{
- Delay1020us();
+ Delay1020us();
SendData(*s++); //Send current char and increment string ptr
}
}
-
+void SendWifi(char *dat){
+ SendString(AT_SendData);
+ Delay3020ms();
+ SendString(dat);
+}
\ No newline at end of file
diff --git a/c51/relay_controller/relay b/c51/relay_controller/relay
deleted file mode 100644
index 9cef2cc..0000000
Binary files a/c51/relay_controller/relay and /dev/null differ
diff --git a/c51/relay_controller/relay.M51 b/c51/relay_controller/relay.M51
index 79fd9e8..3632ff9 100644
--- a/c51/relay_controller/relay.M51
+++ b/c51/relay_controller/relay.M51
@@ -1,8 +1,8 @@
-BL51 BANKED LINKER/LOCATER V6.22 07/13/2019 21:58:43 PAGE 1
+BL51 BANKED LINKER/LOCATER V6.22 02/02/2020 01:51:01 PAGE 1
BL51 BANKED LINKER/LOCATER V6.22, INVOKED BY:
-D:\C51\C51\BIN\BL51.EXE STARTUP.obj, main.obj TO relay RAMSIZE (256)
+D:\PROGRAMS\C51\C51\BIN\BL51.EXE STARTUP.obj, main.obj TO relay RAMSIZE (256)
MEMORY MODEL: SMALL
@@ -11,8 +11,9 @@ MEMORY MODEL: SMALL
INPUT MODULES INCLUDED:
STARTUP.obj (?C_STARTUP)
main.obj (MAIN)
- D:\C51\C51\LIB\C51S.LIB (?C_INIT)
- D:\C51\C51\LIB\C51S.LIB (?C?CLDPTR)
+ D:\PROGRAMS\C51\C51\LIB\C51S.LIB (?C_INIT)
+ D:\PROGRAMS\C51\C51\LIB\C51S.LIB (?C?CLDPTR)
+ D:\PROGRAMS\C51\C51\LIB\C51S.LIB (?C?MEMSET)
LINK MAP OF MODULE: relay (?C_STARTUP)
@@ -23,50 +24,52 @@ LINK MAP OF MODULE: relay (?C_STARTUP)
* * * * * * * D A T A M E M O R Y * * * * * * *
REG 0000H 0008H ABSOLUTE "REG BANK 0"
- DATA 0008H 0003H UNIT _DATA_GROUP_
- 000BH 0015H *** GAP ***
- BIT 0020H.0 0000H.3 UNIT ?BI?MAIN
- BIT 0020H.3 0000H.2 UNIT _BIT_GROUP_
- 0020H.5 0000H.3 *** GAP ***
- DATA 0021H 0020H UNIT ?DT?MAIN
- IDATA 0041H 0001H UNIT ?STACK
+ DATA 0008H 0003H UNIT ?DT?_SENDWIFI?MAIN
+ DATA 000BH 0003H UNIT _DATA_GROUP_
+ 000EH 0012H *** GAP ***
+ BIT 0020H.0 0000H.6 UNIT ?BI?MAIN
+ BIT 0020H.6 0000H.2 UNIT _BIT_GROUP_
+ DATA 0021H 0033H UNIT ?DT?MAIN
+ IDATA 0054H 0001H UNIT ?STACK
* * * * * * * C O D E M E M O R Y * * * * * * *
CODE 0000H 0003H ABSOLUTE
0003H 0020H *** GAP ***
CODE 0023H 0003H ABSOLUTE
0026H 07DAH *** GAP ***
- CODE 0800H 008CH UNIT ?C_C51STARTUP
- CODE 088CH 0052H INBLOCK ?PR?MAIN?MAIN
- CODE 08DEH 004DH INBLOCK ?PR?UART_ISR?MAIN
- CODE 092BH 0047H UNIT ?CO?MAIN
- CODE 0972H 002CH INBLOCK ?PR?_SENDSTRING?MAIN
- CODE 099EH 0028H UNIT ?C_INITSEG
- CODE 09C6H 001DH INBLOCK ?PR?UART_INIT?MAIN
- CODE 09E3H 001AH INBLOCK ?PR?CALLBACKUART?MAIN
- CODE 09FDH 0019H UNIT ?C?LIB_CODE
- CODE 0A16H 000FH INBLOCK ?PR?DELAY3020MS?MAIN
- CODE 0A25H 000DH INBLOCK ?PR?_SENDDATA?MAIN
- CODE 0A32H 0009H INBLOCK ?PR?DELAY1020US?MAIN
- CODE 0A3BH 0007H INBLOCK ?PR?P1_UART?MAIN
- CODE 0A42H 0004H INBLOCK ?PR?P3_UART?MAIN
+ CODE 0800H 00DBH UNIT ?PR?UART_ISR?MAIN
+ CODE 08DBH 008CH UNIT ?C_C51STARTUP
+ CODE 0967H 0063H UNIT ?PR?MAIN?MAIN
+ CODE 09CAH 0058H UNIT ?CO?MAIN
+ CODE 0A22H 0045H UNIT ?C?LIB_CODE
+ CODE 0A67H 0034H UNIT ?C_INITSEG
+ CODE 0A9BH 002CH UNIT ?PR?_SENDSTRING?MAIN
+ CODE 0AC7H 0029H UNIT ?PR?CALLBACKUART?MAIN
+ CODE 0AF0H 001DH UNIT ?PR?UART_INIT?MAIN
+ CODE 0B0DH 001BH UNIT ?PR?_SENDWIFI?MAIN
+ CODE 0B28H 000FH UNIT ?PR?DELAY3020MS?MAIN
+ CODE 0B37H 000FH UNIT ?PR?DELAY500MS?MAIN
+ CODE 0B46H 000DH UNIT ?PR?_SENDDATA?MAIN
+ CODE 0B53H 0009H UNIT ?PR?DELAY1020US?MAIN
+ CODE 0B5CH 0007H UNIT ?PR?P1_UART?MAIN
+ CODE 0B63H 0004H UNIT ?PR?P3_UART?MAIN
OVERLAY MAP OF MODULE: relay (?C_STARTUP)
+BL51 BANKED LINKER/LOCATER V6.22 02/02/2020 01:51:01 PAGE 2
+
+
SEGMENT BIT_GROUP DATA_GROUP
+--> CALLED SEGMENT START LENGTH START LENGTH
------------------------------------------------------------------
-BL51 BANKED LINKER/LOCATER V6.22 07/13/2019 21:58:43 PAGE 2
-
-
?C_C51STARTUP ----- ----- ----- -----
+--> ?PR?MAIN?MAIN
+--> ?C_INITSEG
-?PR?MAIN?MAIN 0020H.3 0000H.2 ----- -----
+?PR?MAIN?MAIN 0020H.6 0000H.2 ----- -----
+--> ?PR?DELAY3020MS?MAIN
+--> ?PR?UART_INIT?MAIN
+--> ?PR?P1_UART?MAIN
@@ -75,7 +78,7 @@ SEGMENT BIT_GROUP DATA_GROUP
+--> ?PR?_SENDSTRING?MAIN
+--> ?PR?CALLBACKUART?MAIN
-?PR?_SENDSTRING?MAIN ----- ----- 0008H 0003H
+?PR?_SENDSTRING?MAIN ----- ----- 000BH 0003H
+--> ?PR?DELAY1020US?MAIN
+--> ?PR?_SENDDATA?MAIN
@@ -84,6 +87,11 @@ SEGMENT BIT_GROUP DATA_GROUP
+--> ?PR?_SENDSTRING?MAIN
+--> ?PR?P1_UART?MAIN
+*** NEW ROOT ***************************************************
+
+?PR?UART_ISR?MAIN ----- ----- ----- -----
+ +--> ?CO?MAIN
+
SYMBOL TABLE OF MODULE: relay (?C_STARTUP)
@@ -92,8 +100,8 @@ SYMBOL TABLE OF MODULE: relay (?C_STARTUP)
----------------------------------
------- MODULE ?C_STARTUP
- C:0800H SEGMENT ?C_C51STARTUP
- I:0041H SEGMENT ?STACK
+ C:08DBH SEGMENT ?C_C51STARTUP
+ I:0054H SEGMENT ?STACK
C:0000H PUBLIC ?C_STARTUP
D:00E0H SYMBOL ACC
D:00F0H SYMBOL B
@@ -102,7 +110,7 @@ SYMBOL TABLE OF MODULE: relay (?C_STARTUP)
N:0000H SYMBOL IBPSTACK
N:0100H SYMBOL IBPSTACKTOP
N:0080H SYMBOL IDATALEN
- C:0803H SYMBOL IDATALOOP
+ C:08DEH SYMBOL IDATALOOP
N:0000H SYMBOL PBPSTACK
N:0100H SYMBOL PBPSTACKTOP
N:0000H SYMBOL PDATALEN
@@ -111,84 +119,90 @@ SYMBOL TABLE OF MODULE: relay (?C_STARTUP)
N:0000H SYMBOL PPAGEENABLE
D:00A0H SYMBOL PPAGE_SFR
D:0081H SYMBOL SP
- C:0800H SYMBOL STARTUP1
+BL51 BANKED LINKER/LOCATER V6.22 02/02/2020 01:51:01 PAGE 3
+
+
+ C:08DBH SYMBOL STARTUP1
N:0000H SYMBOL XBPSTACK
N:0000H SYMBOL XBPSTACKTOP
N:0000H SYMBOL XDATALEN
N:0000H SYMBOL XDATASTART
C:0000H LINE# 126
- C:0800H LINE# 133
- C:0802H LINE# 134
-BL51 BANKED LINKER/LOCATER V6.22 07/13/2019 21:58:43 PAGE 3
-
-
- C:0803H LINE# 135
- C:0804H LINE# 136
- C:0806H LINE# 185
- C:0809H LINE# 196
+ C:08DBH LINE# 133
+ C:08DDH LINE# 134
+ C:08DEH LINE# 135
+ C:08DFH LINE# 136
+ C:08E1H LINE# 185
+ C:08E4H LINE# 196
------- ENDMOD ?C_STARTUP
------- MODULE MAIN
C:0000H SYMBOL _ICE_DUMMY_
+ C:0A13H PUBLIC AT_SendData
D:0092H PUBLIC P1M0
- C:0A3BH PUBLIC P1_Uart
+ C:0B5CH PUBLIC P1_Uart
D:0091H PUBLIC P1M1
D:0080H PUBLIC P0
D:0090H PUBLIC P1
- C:0A42H PUBLIC P3_Uart
+ C:0B63H PUBLIC P3_Uart
D:00A0H PUBLIC P2
D:00B0H PUBLIC P3
D:00C0H PUBLIC P4
+ B:0020H.2 PUBLIC recv_flag_global
D:00C8H PUBLIC P5
B:00A8H.7 PUBLIC EA
- C:0972H PUBLIC _SendString
- C:0A25H PUBLIC _SendData
+ C:0A9BH PUBLIC _SendString
+ C:0B46H PUBLIC _SendData
D:00A8H PUBLIC IE
- C:09C6H PUBLIC Uart_Init
+ C:0AF0H PUBLIC Uart_Init
B:00A8H.4 PUBLIC ES
D:00B8H PUBLIC IP
- C:0A16H PUBLIC Delay3020ms
- D:0022H PUBLIC index
+ C:0B28H PUBLIC Delay3020ms
+ D:0026H PUBLIC index
B:0098H.0 PUBLIC RI
B:0098H.1 PUBLIC TI
- C:0A32H PUBLIC Delay1020us
+ C:0B0DH PUBLIC _SendWifi
+ C:0B53H PUBLIC Delay1020us
D:00D8H PUBLIC CCON
- C:088CH PUBLIC main
- C:08DEH PUBLIC Uart_Isr
- B:0020H.0 PUBLIC recv_flag
+ C:0967H PUBLIC main
+ C:0800H PUBLIC Uart_Isr
D:0099H PUBLIC SBUF
D:0087H PUBLIC PCON
+ D:0027H PUBLIC gSendbuf
D:0098H PUBLIC SCON
D:0089H PUBLIC TMOD
D:0088H PUBLIC TCON
+ B:0020H.3 PUBLIC connected_flag
D:008EH PUBLIC AUXR
- B:0020H.1 PUBLIC busy
+ C:09EAH PUBLIC AT_Connect
+ B:0020H.4 PUBLIC busy
D:00E0H PUBLIC ACC
B:00A8H.3 PUBLIC ET1
D:008DH PUBLIC TH1
- C:0949H PUBLIC Connect
- C:09E3H PUBLIC callbackUart
- D:0023H PUBLIC recv_buf
+BL51 BANKED LINKER/LOCATER V6.22 02/02/2020 01:51:01 PAGE 4
+
+
+ D:0035H PUBLIC index_tmp
+ C:0AC7H PUBLIC callbackUart
+ D:0036H PUBLIC recv_buf
D:008BH PUBLIC TL1
B:0088H.6 PUBLIC TR1
B:0098H.4 PUBLIC REN
+ C:0B37H PUBLIC Delay500ms
+ C:09CCH PUBLIC AT_SetUp
D:00A2H PUBLIC AUXR1
- C:092BH PUBLIC SetUp
- B:0020H.2 PUBLIC overflow_flag
+ B:0020H.5 PUBLIC overflow_flag
D:00D0H PUBLIC PSW
------- PROC P1_UART
- C:0A3BH LINE# 43
- C:0A3BH LINE# 44
-BL51 BANKED LINKER/LOCATER V6.22 07/13/2019 21:58:43 PAGE 4
-
-
- C:0A3EH LINE# 45
- C:0A41H LINE# 46
+ C:0B5CH LINE# 49
+ C:0B5CH LINE# 50
+ C:0B5FH LINE# 51
+ C:0B62H LINE# 52
------- ENDPROC P1_UART
------- PROC P3_UART
- C:0A42H LINE# 47
- C:0A42H LINE# 48
- C:0A45H LINE# 49
+ C:0B63H LINE# 53
+ C:0B63H LINE# 54
+ C:0B66H LINE# 55
------- ENDPROC P3_UART
------- PROC DELAY3020MS
------- DO
@@ -196,160 +210,249 @@ SYMBOL TABLE OF MODULE: relay (?C_STARTUP)
D:0006H SYMBOL j
D:0005H SYMBOL k
------- ENDDO
- C:0A16H LINE# 50
- C:0A16H LINE# 51
- C:0A16H LINE# 54
- C:0A17H LINE# 55
- C:0A18H LINE# 56
- C:0A1AH LINE# 57
- C:0A1CH LINE# 58
- C:0A1EH LINE# 60
- C:0A1EH LINE# 62
- C:0A1EH LINE# 63
- C:0A20H LINE# 64
- C:0A22H LINE# 65
- C:0A24H LINE# 66
+ C:0B28H LINE# 56
+ C:0B28H LINE# 57
+ C:0B28H LINE# 60
+ C:0B29H LINE# 61
+ C:0B2AH LINE# 62
+ C:0B2CH LINE# 63
+ C:0B2EH LINE# 64
+ C:0B30H LINE# 66
+ C:0B30H LINE# 68
+ C:0B30H LINE# 69
+ C:0B32H LINE# 70
+ C:0B34H LINE# 71
+ C:0B36H LINE# 72
------- ENDPROC DELAY3020MS
+ ------- PROC DELAY500MS
+ ------- DO
+ D:0007H SYMBOL i
+ D:0006H SYMBOL j
+ D:0005H SYMBOL k
+ ------- ENDDO
+ C:0B37H LINE# 73
+ C:0B37H LINE# 74
+ C:0B37H LINE# 77
+ C:0B38H LINE# 78
+ C:0B39H LINE# 79
+ C:0B3BH LINE# 80
+ C:0B3DH LINE# 81
+ C:0B3FH LINE# 83
+ C:0B3FH LINE# 85
+BL51 BANKED LINKER/LOCATER V6.22 02/02/2020 01:51:01 PAGE 5
+
+
+ C:0B3FH LINE# 86
+ C:0B41H LINE# 87
+ C:0B43H LINE# 88
+ C:0B45H LINE# 89
+ ------- ENDPROC DELAY500MS
------- PROC DELAY1020US
------- DO
D:0007H SYMBOL i
D:0006H SYMBOL j
------- ENDDO
- C:0A32H LINE# 68
- C:0A32H LINE# 69
- C:0A32H LINE# 72
- C:0A34H LINE# 73
- C:0A36H LINE# 75
- C:0A36H LINE# 76
- C:0A38H LINE# 77
- C:0A3AH LINE# 78
+ C:0B53H LINE# 91
+ C:0B53H LINE# 92
+ C:0B53H LINE# 95
+ C:0B55H LINE# 96
+ C:0B57H LINE# 98
+ C:0B57H LINE# 99
+ C:0B59H LINE# 100
+ C:0B5BH LINE# 101
------- ENDPROC DELAY1020US
------- PROC UART_INIT
- C:09C6H LINE# 79
- C:09C6H LINE# 80
- C:09C9H LINE# 81
- C:09CCH LINE# 82
- C:09CFH LINE# 83
- C:09D2H LINE# 84
- C:09D5H LINE# 85
- C:09D8H LINE# 86
- C:09DBH LINE# 87
- C:09DEH LINE# 88
- C:09E0H LINE# 89
- C:09E2H LINE# 90
+ C:0AF0H LINE# 102
+ C:0AF0H LINE# 103
+ C:0AF3H LINE# 104
+ C:0AF6H LINE# 105
+ C:0AF9H LINE# 106
+ C:0AFCH LINE# 107
+ C:0AFFH LINE# 108
+ C:0B02H LINE# 109
+ C:0B05H LINE# 110
+ C:0B08H LINE# 111
+ C:0B0AH LINE# 112
+ C:0B0CH LINE# 113
------- ENDPROC UART_INIT
------- PROC CALLBACKUART
-BL51 BANKED LINKER/LOCATER V6.22 07/13/2019 21:58:43 PAGE 5
-
-
- C:09E3H LINE# 92
- C:09E3H LINE# 93
- C:09E9H LINE# 94
- C:09ECH LINE# 95
- C:09F5H LINE# 96
- C:09F7H LINE# 97
- C:09F9H LINE# 98
- C:09FCH LINE# 99
- C:09FCH LINE# 100
+ C:0AC7H LINE# 115
+ C:0AC7H LINE# 116
+ C:0ACDH LINE# 117
+ C:0AD0H LINE# 118
+ C:0AD9H LINE# 119
+ C:0AE8H LINE# 120
+ C:0AEAH LINE# 121
+ C:0AECH LINE# 122
+ C:0AEFH LINE# 123
+ C:0AEFH LINE# 124
------- ENDPROC CALLBACKUART
------- PROC MAIN
------- DO
- B:0020H.3 SYMBOL flag1
- B:0020H.4 SYMBOL flag2
+ D:0007H SYMBOL i
+ B:0020H.6 SYMBOL flag1
+ B:0020H.7 SYMBOL flag2
------- ENDDO
- C:088CH LINE# 101
- C:088CH LINE# 102
- C:088CH LINE# 103
- C:088EH LINE# 104
- C:0890H LINE# 105
- C:0893H LINE# 107
- C:0896H LINE# 108
- C:0899H LINE# 109
- C:089CH LINE# 111
- C:089FH LINE# 112
- C:08A2H LINE# 115
- C:08A4H LINE# 116
- C:08A6H LINE# 117
- C:08A8H LINE# 118
- C:08ABH LINE# 119
- C:08AEH LINE# 122
- C:08B1H LINE# 125
- C:08B1H LINE# 126
- C:08B4H LINE# 127
- C:08B6H LINE# 128
- C:08BFH LINE# 129
- C:08C2H LINE# 131
- C:08C2H LINE# 132
- C:08C5H LINE# 133
- C:08CBH LINE# 134
- C:08CDH LINE# 135
- C:08D6H LINE# 136
- C:08D9H LINE# 138
- C:08D9H LINE# 139
- C:08DCH LINE# 140
+ C:0967H LINE# 125
+ C:0967H LINE# 126
+ C:0967H LINE# 127
+ C:0969H LINE# 128
+ C:096BH LINE# 129
+ C:096DH LINE# 130
+BL51 BANKED LINKER/LOCATER V6.22 02/02/2020 01:51:01 PAGE 6
+
+
+ C:0970H LINE# 132
+ C:0973H LINE# 133
+ C:0976H LINE# 134
+ C:0979H LINE# 136
+ C:097BH LINE# 137
+ C:097EH LINE# 140
+ C:0980H LINE# 141
+ C:0982H LINE# 142
+ C:0984H LINE# 143
+ C:0987H LINE# 144
+ C:098AH LINE# 147
+ C:098DH LINE# 149
+ C:098EH LINE# 150
+ C:0997H LINE# 151
+ C:099BH LINE# 152
+ C:099BH LINE# 153
+ C:099EH LINE# 154
+ C:09A0H LINE# 155
+ C:09A9H LINE# 156
+ C:09ACH LINE# 158
+ C:09ACH LINE# 159
+ C:09AFH LINE# 160
+ C:09B5H LINE# 161
+ C:09B7H LINE# 162
+ C:09C0H LINE# 163
+ C:09C3H LINE# 164
+ C:09C5H LINE# 166
+ C:09C5H LINE# 167
+ C:09C8H LINE# 168
------- ENDPROC MAIN
------- PROC UART_ISR
------- DO
D:0021H SYMBOL last_byte
+ D:0022H SYMBOL sec_last_byte
+ D:0023H SYMBOL trd_last_byte
+ D:0024H SYMBOL four_last_byte
+ B:0020H.0 SYMBOL flag_recv
+ B:0020H.1 SYMBOL flag_need_read
+ D:0025H SYMBOL recv_cnt
------- ENDDO
- C:08DEH LINE# 146
- C:08E7H LINE# 149
- C:08EAH LINE# 150
- C:08EAH LINE# 151
- C:08ECH LINE# 152
- C:08FCH LINE# 153
- C:08FEH LINE# 154
-BL51 BANKED LINKER/LOCATER V6.22 07/13/2019 21:58:43 PAGE 6
+ C:0800H LINE# 178
+ C:0809H LINE# 188
+ C:080FH LINE# 189
+ C:080FH LINE# 190
+ C:0811H LINE# 191
+ C:0825H LINE# 194
+ C:0825H LINE# 195
+ C:082CH LINE# 196
+ C:082EH LINE# 197
+ C:0831H LINE# 198
+ C:0834H LINE# 199
+ C:0837H LINE# 200
+ C:083AH LINE# 201
+ C:083DH LINE# 203
+ C:083DH LINE# 204
+ C:0851H LINE# 205
+ C:0851H LINE# 206
+BL51 BANKED LINKER/LOCATER V6.22 02/02/2020 01:51:01 PAGE 7
- C:0901H LINE# 155
- C:0901H LINE# 156
- C:0903H LINE# 157
- C:090AH LINE# 158
- C:090DH LINE# 159
- C:090FH LINE# 160
- C:0918H LINE# 161
- C:091BH LINE# 162
- C:091DH LINE# 163
- C:091DH LINE# 164
- C:091DH LINE# 165
- C:0920H LINE# 166
- C:0920H LINE# 167
- C:0922H LINE# 168
- C:0924H LINE# 169
- C:0924H LINE# 170
+ C:0853H LINE# 207
+ C:0856H LINE# 208
+ C:0856H LINE# 211
+ C:0859H LINE# 212
+ C:0862H LINE# 213
+ C:0864H LINE# 214
+ C:0866H LINE# 215
+ C:086DH LINE# 216
+ C:086FH LINE# 217
+ C:0872H LINE# 218
+ C:0875H LINE# 219
+ C:0878H LINE# 220
+ C:087BH LINE# 221
+ C:087EH LINE# 222
+ C:087EH LINE# 223
+ C:087EH LINE# 225
+ C:0880H LINE# 226
+ C:0887H LINE# 227
+ C:088AH LINE# 228
+ C:0893H LINE# 229
+ C:089BH LINE# 230
+ C:089BH LINE# 231
+ C:08A4H LINE# 232
+ C:08ACH LINE# 233
+ C:08ACH LINE# 234
+ C:08B5H LINE# 235
+ C:08BDH LINE# 236
+ C:08BDH LINE# 238
+ C:08BFH LINE# 239
+ C:08C8H LINE# 240
+ C:08CBH LINE# 241
+ C:08CDH LINE# 242
+ C:08CDH LINE# 243
+ C:08CDH LINE# 244
+ C:08D0H LINE# 245
+ C:08D0H LINE# 246
+ C:08D2H LINE# 247
+ C:08D4H LINE# 248
+ C:08D4H LINE# 249
------- ENDPROC UART_ISR
------- PROC _SENDDATA
D:0007H SYMBOL dat
- C:0A25H LINE# 177
- C:0A25H LINE# 178
- C:0A25H LINE# 179
- C:0A29H LINE# 180
- C:0A2AH LINE# 182
- C:0A2CH LINE# 183
- C:0A2EH LINE# 184
- C:0A31H LINE# 185
+ C:0B46H LINE# 256
+ C:0B46H LINE# 257
+ C:0B46H LINE# 258
+ C:0B4AH LINE# 259
+ C:0B4BH LINE# 261
+ C:0B4DH LINE# 262
+ C:0B4FH LINE# 263
+ C:0B52H LINE# 264
------- ENDPROC _SENDDATA
------- PROC _SENDSTRING
- D:0008H SYMBOL s
- C:0972H LINE# 192
- C:0978H LINE# 193
- C:0978H LINE# 194
- C:0983H LINE# 195
- C:0983H LINE# 196
- C:0986H LINE# 197
- C:099BH LINE# 198
- C:099DH LINE# 199
+ D:000BH SYMBOL s
+ C:0A9BH LINE# 271
+ C:0AA1H LINE# 272
+ C:0AA1H LINE# 273
+ C:0AACH LINE# 274
+BL51 BANKED LINKER/LOCATER V6.22 02/02/2020 01:51:01 PAGE 8
+
+
+ C:0AACH LINE# 275
+ C:0AAFH LINE# 276
+ C:0AC4H LINE# 277
+ C:0AC6H LINE# 278
------- ENDPROC _SENDSTRING
+ ------- PROC _SENDWIFI
+ D:0008H SYMBOL dat
+ C:0B0DH LINE# 279
+ C:0B13H LINE# 280
+ C:0B1CH LINE# 281
+ C:0B1FH LINE# 282
+ ------- ENDPROC _SENDWIFI
------- ENDMOD MAIN
------- MODULE ?C?CLDPTR
- C:09FDH PUBLIC ?C?CLDPTR
+ C:0A22H PUBLIC ?C?CLDPTR
------- ENDMOD ?C?CLDPTR
+ ------- MODULE ?C?MEMSET
+ C:0A3BH PUBLIC ?C?MEMSET
+ ------- ENDMOD ?C?MEMSET
+
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?_SENDWIFI?MAIN
+
******************************************************************************
-* RESTRICTED VERSION WITH 0800H BYTE CODE SIZE LIMIT; USED: 01B2H BYTE (21%) *
+* RESTRICTED VERSION WITH 0800H BYTE CODE SIZE LIMIT; USED: 02A7H BYTE (33%) *
******************************************************************************
-Program Size: data=44.5 xdata=0 code=588
-LINK/LOCATE RUN COMPLETE. 0 WARNING(S), 0 ERROR(S)
+Program Size: data=67.0 xdata=0 code=877
+LINK/LOCATE RUN COMPLETE. 2 WARNING(S), 0 ERROR(S)
diff --git a/c51/relay_controller/relay.hex b/c51/relay_controller/relay.hex
index d20869b..f92379b 100644
--- a/c51/relay_controller/relay.hex
+++ b/c51/relay_controller/relay.hex
@@ -1,49 +1,69 @@
-:03000000020800F3
-:0C080000787FE4F6D8FD758140020847BF
-:10092B00415445300D0A000000000000000000009B
-:10093B000000000000000000000000000000415417
-:10094B002B43495053544152543D22544350222C73
-:10095B00223139322E3136382E322E313038222C8C
-:07096B00383038300D0A009E
-:10099E00C100C1021E230000000000000000000084
-:1009AE000000000000000000000000000000000039
-:0709BE00000000000122000F
-:070A3B0053A27F43A28022B9
-:040A420053A27F221A
-:0E0A160000007F7F7EE97D94DDFEDEFCDFFACE
-:010A240022AF
-:080A32007F0B7EF6DEFEDFFC07
-:010A3A002299
-:1009C60053877F759850438E40538EFE53890F434D
-:0D09D6008920758BFD758DFDC2ABD28E2280
-:1009E300200003300213120A427B007A007923129B
-:0A09F3000972C200C202120A3B2280
-:10088C00C203C204120A16120A16120A161209C65A
-:10089C00E4F59175923FD2ACD2AFD29C120A3B12C6
-:1008AC000A32120A3220030ED2037BFF7A09792B0B
-:1008BC00120972120A161209E330031120040ED227
-:1008CC00047BFF7A097949120972120A161209E39C
-:0208DC0080D3C7
-:030023000208DEF2
-:0908DE00C0E0C0D075D000C000DC
-:1008E700309833C298E521B40D10E599B40A0BE5A9
-:1008F7002264016005D200752200C2987423252264
-:10090700F8A6998599210522D3E5226480949D4014
-:0D09170005752200D202309904C299C20178
-:07092400D000D0D0D0E0327A
-:0D0A250030010122EFD201F5992001FD22E0
-:100972008B088A09890AAB08AA09A90A1209FD602B
-:100982001A120A32AB08050AE50AAA097002050919
-:0C09920014F91209FDFF120A2580DB2277
-:10080C0002088CE493A3F8E493A34003F68001F26E
-:10081C0008DFF48029E493A3F85407240CC8C333ED
-:10082C00C4540F4420C8834004F456800146F6DFBC
-:10083C00E4800B010204081020408090099EE47EA5
-:10084C00019360BCA3FF543F30E509541FFEE493B1
-:10085C00A360010ECF54C025E060A840B8E493A378
-:10086C00FAE493A3F8E493A3C8C582C8CAC583CAA3
-:10087C00F0A3C8C582C8CAC583CADFE9DEE780BE5B
-:0109C5000031
-:1009FD00BB010689828A83E0225002E722BBFE02F8
-:090A0D00E32289828A83E493222A
+:030000000208DB18
+:0C08DB00787FE4F6D8FD758153020922F5
+:1009CA000000415445300D0A0000000000000000FC
+:1009DA00000000000000000000000000000000000D
+:1009EA0041542B43495053544152543D225443508D
+:1009FA00222C223139322E3136382E322E313038ED
+:100A0A00222C383038300D0A0041542B43495053B8
+:080A1A00454E443D350D0A0074
+:100A6700C103C102C1051E360000000000000000DE
+:100A7700000000000000000000000000000000006F
+:100A8700000000000000012600013500C100C1017F
+:030A970001250036
+:070B5C0053A27F43A2802297
+:040B630053A27F22F8
+:0E0B280000007F7F7EE97D94DDFEDEFCDFFABB
+:010B3600229C
+:0E0B370000007F167E037DE3DDFEDEFCDFFAAC
+:010B4500228D
+:080B53007F0B7EF6DEFEDFFCE5
+:010B5B002277
+:100AF00053877F759850438E40538EFE53890F4322
+:0D0B00008920758BFD758DFDC2ABD28E2254
+:100AC700200203300522120B637B007A007936126D
+:100AD7000A9B7E007F1E7D007B007A007936120A12
+:090AE7003BC202C205120B5C22A5
+:10096700E4FFC206C207120B28120B28120B28122B
+:100977000AF0F59175923FD2ACD2AFD29C120B5CC4
+:10098700120B53120B53FFEF04FE74272FF8A60622
+:100997000FBF0DF320060ED2067BFF7A0979CC1222
+:1009A7000A9B120B28120AC7300613200710D2071A
+:1009B7007BFF7A0979EA120A9B120B28D203120AE3
+:0309C700C780D115
+:03002300020800D0
+:09080000C0E0C0D075D000C000BA
+:100809002098030208CDC298E521640D7026E59968
+:10081900B40A21E5266401601B20031874372526D4
+:10082900F87600D20275260075220075210075231D
+:1008390000752400E521B43A14E522B4350FE52307
+:10084900B42C0AE524B44405D201752505300125E7
+:10085900D3E52564809480400415258018743725D4
+:1008690026F876CAD2027526007522007521007510
+:100879002300752400C29874362526F8A69985990F
+:1008890021D3E52664809480400874352526F8E64E
+:10089900F522D3E52664809481400874342526F82E
+:1008A900E6F522D3E526648094824008743425262F
+:1008B900F8E6F5220526D3E5266480949D40057562
+:0B08C9002600D205309904C299C20439
+:0708D400D000D0D0D0E032CB
+:0D0B460030040122EFD204F5992004FD22B5
+:100A9B008B0B8A0C890DAB0BAA0CA90D120A2260C9
+:100AAB001A120B53AB0B050DE50DAA0C7002050CBE
+:0C0ABB0014F9120A22FF120B4680DB2205
+:100B0D008B088A09890A7BFF7A0A7913120A9B12CC
+:0B0B1D000B28AB08AA09A90A020A9BDA
+:1008E700020967E493A3F8E493A34003F68001F2B7
+:1008F70008DFF48029E493A3F85407240CC8C33312
+:10090700C4540F4420C8834004F456800146F6DFE0
+:10091700E4800B0102040810204080900A67E47EFF
+:10092700019360BCA3FF543F30E509541FFEE493D5
+:10093700A360010ECF54C025E060A840B8E493A39C
+:10094700FAE493A3F8E493A3C8C582C8CAC583CAC7
+:10095700F0A3C8C582C8CAC583CADFE9DEE780BE7F
+:010A9A00005B
+:100A2200BB010689828A83E0225002E722BBFE02D2
+:090A3200E32289828A83E4932205
+:100A3B00EF4E6012EF60010EEDBB010B89828A83D2
+:100A4B00F0A3DFFCDEFA2289F05007F709DFFCA9DF
+:0C0A5B00F022BBFEFCF309DFFCA9F02236
:00000001FF
diff --git a/c51/relay_controller/relay.plg b/c51/relay_controller/relay.plg
index 6b05027..cbdd96f 100644
--- a/c51/relay_controller/relay.plg
+++ b/c51/relay_controller/relay.plg
@@ -3,634 +3,588 @@
µVision Build Log
Project:
-D:\project\relay_controller\relay.uvproj
-Project File Date: 07/08/2019
+D:\project\HardwareDriver\c51\relay_controller\relay.uvproj
+Project File Date:
Output:
Build target 'Target 1'
-linking...
-*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
- SEGMENT: ?PR?DELAY3020MS?MAIN
-Program Size: data=39.3 xdata=0 code=495
-creating hex file from "relay"...
-"relay" - 0 Error(s), 1 Warning(s).
-Build target 'Target 1'
compiling main.c...
linking...
-Program Size: data=39.3 xdata=0 code=498
-creating hex file from "relay"...
+Program Size: data=44.5 xdata=0 code=588
+"relay" - 0 Error(s), 0 Warning(s).
+Build target 'Target 1'
+linking...
+Program Size: data=44.5 xdata=0 code=588
"relay" - 0 Error(s), 0 Warning(s).
Build target 'Target 1'
compiling main.c...
-linking...
-Program Size: data=39.3 xdata=0 code=507
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
+MAIN.C(43): error C231: '_SendData': redefinition
+MAIN.C(44): error C141: syntax error near 'void'
+MAIN.C(44): error C141: syntax error near '{'
+MAIN.C(45): error C231: 'AUXR1': redefinition
+MAIN.C(46): error C231: 'AUXR1': redefinition
+MAIN.C(48): error C141: syntax error near '{'
+MAIN.C(49): error C231: 'AUXR1': redefinition
+MAIN.C(52): error C141: syntax error near '{'
+MAIN.C(55): error C231: '__nop_': redefinition
+MAIN.C(56): error C231: '__nop_': redefinition
+MAIN.C(57): error C231: 'i': redefinition
+MAIN.C(57): error C231: 'i': redefinition
+MAIN.C(58): error C231: 'j': redefinition
+MAIN.C(58): error C231: 'j': redefinition
+MAIN.C(59): error C231: 'k': redefinition
+MAIN.C(59): error C231: 'k': redefinition
+MAIN.C(60): error C141: syntax error near 'do'
+MAIN.C(64): error C141: syntax error near '--'
+MAIN.C(64): error C129: missing ';' before ')'
+Target not created
Build target 'Target 1'
compiling main.c...
-linking...
-Program Size: data=39.3 xdata=0 code=505
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
+MAIN.C(44): error C141: syntax error near 'void'
+MAIN.C(44): error C141: syntax error near '{'
+MAIN.C(45): error C231: 'AUXR1': redefinition
+MAIN.C(46): error C231: 'AUXR1': redefinition
+MAIN.C(48): error C141: syntax error near '{'
+MAIN.C(49): error C231: 'AUXR1': redefinition
+MAIN.C(52): error C141: syntax error near '{'
+MAIN.C(55): error C231: '__nop_': redefinition
+MAIN.C(56): error C231: '__nop_': redefinition
+MAIN.C(57): error C231: 'i': redefinition
+MAIN.C(57): error C231: 'i': redefinition
+MAIN.C(58): error C231: 'j': redefinition
+MAIN.C(58): error C231: 'j': redefinition
+MAIN.C(59): error C231: 'k': redefinition
+MAIN.C(59): error C231: 'k': redefinition
+MAIN.C(60): error C141: syntax error near 'do'
+MAIN.C(64): error C141: syntax error near '--'
+MAIN.C(64): error C129: missing ';' before ')'
+Target not created
Build target 'Target 1'
compiling main.c...
-main.c(112): warning C206: 'Delay1020sus': missing function-prototype
+MAIN.C(129): error C202: 'SetUp': undefined identifier
+MAIN.C(136): error C202: 'Connect': undefined identifier
+Target not created
+Build target 'Target 1'
+compiling main.c...
+MAIN.C(200): warning C280: 'dat': unreferenced local variable
+MAIN.C(200): warning C280: 'len': unreferenced local variable
linking...
-*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
- SYMBOL: DELAY1020SUS
- MODULE: main.obj (MAIN)
-*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
- SYMBOL: DELAY1020SUS
- MODULE: main.obj (MAIN)
- ADDRESS: 08AEH
-Program Size: data=39.3 xdata=0 code=505
-creating hex file from "relay"...
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?_SENDWIFI?MAIN
+Program Size: data=49.5 xdata=0 code=619
"relay" - 0 Error(s), 3 Warning(s).
Build target 'Target 1'
compiling main.c...
-main.c(112): warning C206: 'Delay1020sus': missing function-prototype
+MAIN.C(200): warning C280: 'dat': unreferenced local variable
+MAIN.C(200): warning C280: 'len': unreferenced local variable
linking...
-*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
- SYMBOL: DELAY1020SUS
- MODULE: main.obj (MAIN)
-*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
- SYMBOL: DELAY1020SUS
- MODULE: main.obj (MAIN)
- ADDRESS: 08AEH
-Program Size: data=39.3 xdata=0 code=505
-creating hex file from "relay"...
-"relay" - 0 Error(s), 3 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-main.c(111): warning C206: 'Delay1020sus': missing function-prototype
-linking...
-*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
- SYMBOL: DELAY1020SUS
- MODULE: main.obj (MAIN)
-*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
- SYMBOL: DELAY1020SUS
- MODULE: main.obj (MAIN)
- ADDRESS: 08AEH
-Program Size: data=39.3 xdata=0 code=502
-creating hex file from "relay"...
-"relay" - 0 Error(s), 3 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-main.c(111): warning C206: 'Delay1020sus': missing function-prototype
-linking...
-*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
- SYMBOL: DELAY1020SUS
- MODULE: main.obj (MAIN)
-*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
- SYMBOL: DELAY1020SUS
- MODULE: main.obj (MAIN)
- ADDRESS: 08AEH
-Program Size: data=39.3 xdata=0 code=502
-creating hex file from "relay"...
-"relay" - 0 Error(s), 3 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-main.c(111): warning C206: 'Delay1020sus': missing function-prototype
-linking...
-*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
- SYMBOL: DELAY1020SUS
- MODULE: main.obj (MAIN)
-*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
- SYMBOL: DELAY1020SUS
- MODULE: main.obj (MAIN)
- ADDRESS: 08AEH
-Program Size: data=39.3 xdata=0 code=502
-creating hex file from "relay"...
-"relay" - 0 Error(s), 3 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-main.c(111): warning C206: 'Delay1020sus': missing function-prototype
-linking...
-*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
- SYMBOL: DELAY1020SUS
- MODULE: main.obj (MAIN)
-*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
- SYMBOL: DELAY1020SUS
- MODULE: main.obj (MAIN)
- ADDRESS: 08AEH
-Program Size: data=39.3 xdata=0 code=502
-creating hex file from "relay"...
-"relay" - 0 Error(s), 3 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-main.c(111): warning C206: 'Delay1020sus': missing function-prototype
-linking...
-*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
- SYMBOL: DELAY1020SUS
- MODULE: main.obj (MAIN)
-*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
- SYMBOL: DELAY1020SUS
- MODULE: main.obj (MAIN)
- ADDRESS: 08EFH
-Program Size: data=39.3 xdata=0 code=496
-creating hex file from "relay"...
-"relay" - 0 Error(s), 3 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-main.c(112): warning C206: 'Delay1020sus': missing function-prototype
-linking...
-*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
- SYMBOL: DELAY1020SUS
- MODULE: main.obj (MAIN)
-*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
- SYMBOL: DELAY1020SUS
- MODULE: main.obj (MAIN)
- ADDRESS: 08ABH
-Program Size: data=39.3 xdata=0 code=499
-creating hex file from "relay"...
-"relay" - 0 Error(s), 3 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-main.c(112): warning C206: 'Delay1020sus': missing function-prototype
-linking...
-*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
- SYMBOL: DELAY1020SUS
- MODULE: main.obj (MAIN)
-*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
- SYMBOL: DELAY1020SUS
- MODULE: main.obj (MAIN)
- ADDRESS: 08ABH
-Program Size: data=39.3 xdata=0 code=499
-creating hex file from "relay"...
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?_SENDWIFI?MAIN
+Program Size: data=49.5 xdata=0 code=619
"relay" - 0 Error(s), 3 Warning(s).
Build target 'Target 1'
compiling main.c...
linking...
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
- SEGMENT: ?PR?DELAY3020MS?MAIN
-Program Size: data=39.3 xdata=0 code=495
-creating hex file from "relay"...
+ SEGMENT: ?PR?_SENDWIFI?MAIN
+Program Size: data=47.5 xdata=0 code=628
"relay" - 0 Error(s), 1 Warning(s).
Build target 'Target 1'
-compiling main.c...
-linking...
-*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
- SEGMENT: ?PR?DELAY3020MS?MAIN
-Program Size: data=39.3 xdata=0 code=490
-creating hex file from "relay"...
-"relay" - 0 Error(s), 1 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-linking...
-*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
- SEGMENT: ?PR?DELAY3020MS?MAIN
-Program Size: data=39.3 xdata=0 code=495
-creating hex file from "relay"...
-"relay" - 0 Error(s), 1 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-linking...
-*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
- SEGMENT: ?PR?DELAY3020MS?MAIN
-Program Size: data=39.3 xdata=0 code=495
-creating hex file from "relay"...
-"relay" - 0 Error(s), 1 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-linking...
-*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
- SEGMENT: ?PR?DELAY3020MS?MAIN
-Program Size: data=39.3 xdata=0 code=495
-creating hex file from "relay"...
-"relay" - 0 Error(s), 1 Warning(s).
-compiling main.c...
-main.c - 0 Error(s), 0 Warning(s).
-Build target 'Target 1'
linking...
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
- SEGMENT: ?PR?DELAY3020MS?MAIN
-Program Size: data=39.3 xdata=0 code=495
-creating hex file from "relay"...
+ SEGMENT: ?PR?_SENDWIFI?MAIN
+Program Size: data=47.5 xdata=0 code=628
"relay" - 0 Error(s), 1 Warning(s).
Build target 'Target 1'
compiling main.c...
-linking...
-*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
- SEGMENT: ?PR?DELAY3020MS?MAIN
-Program Size: data=39.3 xdata=0 code=495
-creating hex file from "relay"...
-"relay" - 0 Error(s), 1 Warning(s).
+MAIN.C(46): error C141: syntax error near '}'
+MAIN.C(145): error C141: syntax error near 'int'
+MAIN.C(145): error C202: 'z': undefined identifier
+MAIN.C(145): error C202: 'z': undefined identifier
+MAIN.C(145): error C202: 'z': undefined identifier
+MAIN.C(145): error C141: syntax error near ')'
+MAIN.C(226): error C141: syntax error near 'SendString'
+Target not created
Build target 'Target 1'
compiling main.c...
-linking...
-*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
- SEGMENT: ?PR?DELAY3020MS?MAIN
-Program Size: data=39.3 xdata=0 code=492
-creating hex file from "relay"...
-"relay" - 0 Error(s), 1 Warning(s).
+MAIN.C(46): error C141: syntax error near '}'
+MAIN.C(146): error C141: syntax error near 'int'
+MAIN.C(146): error C141: syntax error near ')'
+MAIN.C(227): error C141: syntax error near 'SendString'
+Target not created
Build target 'Target 1'
compiling main.c...
-linking...
-*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
- SEGMENT: ?PR?DELAY3020MS?MAIN
-Program Size: data=39.3 xdata=0 code=492
-creating hex file from "relay"...
-"relay" - 0 Error(s), 1 Warning(s).
+MAIN.C(146): error C141: syntax error near 'int'
+MAIN.C(146): error C141: syntax error near ')'
+MAIN.C(227): error C141: syntax error near 'SendString'
+Target not created
Build target 'Target 1'
compiling main.c...
-linking...
-*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
- SEGMENT: ?PR?DELAY3020MS?MAIN
-Program Size: data=39.3 xdata=0 code=495
-creating hex file from "relay"...
-"relay" - 0 Error(s), 1 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-linking...
-*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
- SEGMENT: ?PR?DELAY3020MS?MAIN
-Program Size: data=39.3 xdata=0 code=490
-creating hex file from "relay"...
-"relay" - 0 Error(s), 1 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-linking...
-*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
- SEGMENT: ?PR?DELAY3020MS?MAIN
-Program Size: data=39.3 xdata=0 code=493
-creating hex file from "relay"...
-"relay" - 0 Error(s), 1 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-linking...
-*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
- SEGMENT: ?PR?DELAY3020MS?MAIN
-Program Size: data=39.3 xdata=0 code=493
-creating hex file from "relay"...
-"relay" - 0 Error(s), 1 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-linking...
-*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
- SEGMENT: ?PR?DELAY3020MS?MAIN
-Program Size: data=39.3 xdata=0 code=499
-creating hex file from "relay"...
-"relay" - 0 Error(s), 1 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-linking...
-*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
- SEGMENT: ?PR?DELAY3020MS?MAIN
-Program Size: data=39.3 xdata=0 code=499
-creating hex file from "relay"...
-"relay" - 0 Error(s), 1 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-linking...
-*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
- SEGMENT: ?PR?DELAY3020MS?MAIN
-Program Size: data=39.3 xdata=0 code=499
-creating hex file from "relay"...
-"relay" - 0 Error(s), 1 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-linking...
-*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
- SEGMENT: ?PR?DELAY3020MS?MAIN
-Program Size: data=39.3 xdata=0 code=499
-creating hex file from "relay"...
-"relay" - 0 Error(s), 1 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-main.c(114): error C202: 'TXEN': undefined identifier
+MAIN.C(227): error C141: syntax error near 'SendString'
Target not created
Build target 'Target 1'
compiling main.c...
linking...
+Program Size: data=61.5 xdata=0 code=683
+"relay" - 0 Error(s), 0 Warning(s).
+Build target 'Target 1'
+compiling main.c...
+linking...
+Program Size: data=61.5 xdata=0 code=683
+"relay" - 0 Error(s), 0 Warning(s).
+Build target 'Target 1'
+linking...
+Program Size: data=61.5 xdata=0 code=683
+"relay" - 0 Error(s), 0 Warning(s).
+Build target 'Target 1'
+compiling main.c...
+linking...
+Program Size: data=61.5 xdata=0 code=685
+"relay" - 0 Error(s), 0 Warning(s).
+Build target 'Target 1'
+compiling main.c...
+linking...
+Program Size: data=61.5 xdata=0 code=686
+"relay" - 0 Error(s), 0 Warning(s).
+Build target 'Target 1'
+compiling main.c...
+linking...
+Program Size: data=61.5 xdata=0 code=686
+"relay" - 0 Error(s), 0 Warning(s).
+Build target 'Target 1'
+compiling main.c...
+linking...
+Program Size: data=61.5 xdata=0 code=685
+"relay" - 0 Error(s), 0 Warning(s).
+Build target 'Target 1'
+linking...
+Program Size: data=61.5 xdata=0 code=685
+"relay" - 0 Error(s), 0 Warning(s).
+Build target 'Target 1'
+compiling main.c...
+linking...
+Program Size: data=61.5 xdata=0 code=685
+"relay" - 0 Error(s), 0 Warning(s).
+Build target 'Target 1'
+compiling main.c...
+linking...
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
- SEGMENT: ?PR?DELAY3020MS?MAIN
-Program Size: data=39.3 xdata=0 code=511
+ SEGMENT: ?PR?DELAY500MS?MAIN
+Program Size: data=61.5 xdata=0 code=685
+"relay" - 0 Error(s), 1 Warning(s).
+Build target 'Target 1'
+linking...
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+Program Size: data=61.5 xdata=0 code=685
+"relay" - 0 Error(s), 1 Warning(s).
+Build target 'Target 1'
+linking...
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+Program Size: data=61.5 xdata=0 code=685
+"relay" - 0 Error(s), 1 Warning(s).
+Build target 'Target 1'
+compiling main.c...
+linking...
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+Program Size: data=61.6 xdata=0 code=673
+"relay" - 0 Error(s), 1 Warning(s).
+Build target 'Target 1'
+linking...
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+Program Size: data=61.6 xdata=0 code=673
creating hex file from "relay"...
"relay" - 0 Error(s), 1 Warning(s).
Build target 'Target 1'
compiling main.c...
linking...
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
- SEGMENT: ?PR?DELAY3020MS?MAIN
-Program Size: data=39.3 xdata=0 code=511
+ SEGMENT: ?PR?DELAY500MS?MAIN
+Program Size: data=61.6 xdata=0 code=673
creating hex file from "relay"...
"relay" - 0 Error(s), 1 Warning(s).
Build target 'Target 1'
compiling main.c...
linking...
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
- SEGMENT: ?PR?DELAY3020MS?MAIN
-Program Size: data=39.3 xdata=0 code=512
+ SEGMENT: ?PR?DELAY500MS?MAIN
+Program Size: data=61.6 xdata=0 code=679
creating hex file from "relay"...
"relay" - 0 Error(s), 1 Warning(s).
Build target 'Target 1'
compiling main.c...
linking...
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
- SEGMENT: ?PR?DELAY3020MS?MAIN
-Program Size: data=39.3 xdata=0 code=494
+ SEGMENT: ?PR?DELAY500MS?MAIN
+Program Size: data=61.6 xdata=0 code=679
creating hex file from "relay"...
"relay" - 0 Error(s), 1 Warning(s).
Build target 'Target 1'
compiling main.c...
linking...
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
- SEGMENT: ?PR?DELAY3020MS?MAIN
-Program Size: data=39.3 xdata=0 code=491
+ SEGMENT: ?PR?DELAY500MS?MAIN
+Program Size: data=61.6 xdata=0 code=786
+creating hex file from "relay"...
+"relay" - 0 Error(s), 1 Warning(s).
+Build target 'Target 1'
+linking...
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+Program Size: data=61.6 xdata=0 code=786
creating hex file from "relay"...
"relay" - 0 Error(s), 1 Warning(s).
Build target 'Target 1'
compiling main.c...
linking...
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
- SEGMENT: ?PR?DELAY3020MS?MAIN
-Program Size: data=39.3 xdata=0 code=488
+ SEGMENT: ?PR?DELAY500MS?MAIN
+Program Size: data=61.6 xdata=0 code=786
creating hex file from "relay"...
"relay" - 0 Error(s), 1 Warning(s).
Build target 'Target 1'
compiling main.c...
linking...
-Program Size: data=39.3 xdata=0 code=497
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+Program Size: data=61.6 xdata=0 code=788
creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
+"relay" - 0 Error(s), 1 Warning(s).
Build target 'Target 1'
-compiling main.c...
-linking...
-Program Size: data=39.3 xdata=0 code=497
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-linking...
-Program Size: data=44.3 xdata=0 code=502
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-linking...
-Program Size: data=44.3 xdata=0 code=502
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-linking...
-Program Size: data=44.3 xdata=0 code=502
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-linking...
-Program Size: data=44.3 xdata=0 code=502
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-linking...
-Program Size: data=44.3 xdata=0 code=502
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
-Build target 'Target 1'
-linking...
-Program Size: data=44.3 xdata=0 code=502
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-linking...
-Program Size: data=44.3 xdata=0 code=502
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-linking...
-Program Size: data=44.3 xdata=0 code=508
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-linking...
-Program Size: data=44.3 xdata=0 code=508
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-linking...
-Program Size: data=44.3 xdata=0 code=508
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-linking...
-Program Size: data=44.3 xdata=0 code=508
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-linking...
-Program Size: data=44.3 xdata=0 code=508
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
-Build target 'Target 1'
-linking...
-Program Size: data=44.3 xdata=0 code=508
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-linking...
-Program Size: data=44.3 xdata=0 code=508
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-linking...
-Program Size: data=44.5 xdata=0 code=587
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-linking...
-Program Size: data=44.5 xdata=0 code=596
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-linking...
-Program Size: data=44.5 xdata=0 code=596
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
-Build target 'Target 1'
-linking...
-Program Size: data=44.5 xdata=0 code=596
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
-Rebuild target 'Target 1'
assembling STARTUP.A51...
compiling main.c...
linking...
-Program Size: data=44.5 xdata=0 code=587
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+Program Size: data=61.6 xdata=0 code=796
creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-linking...
-Program Size: data=44.5 xdata=0 code=587
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
+"relay" - 0 Error(s), 1 Warning(s).
Build target 'Target 1'
linking...
-Program Size: data=44.5 xdata=0 code=587
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+Program Size: data=61.6 xdata=0 code=796
creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
+"relay" - 0 Error(s), 1 Warning(s).
Build target 'Target 1'
-compiling main.c...
linking...
-Program Size: data=44.5 xdata=0 code=568
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+Program Size: data=61.6 xdata=0 code=796
creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
+"relay" - 0 Error(s), 1 Warning(s).
Build target 'Target 1'
compiling main.c...
+MAIN.C(186): warning C260: '=': pointer truncation
linking...
-Program Size: data=44.3 xdata=0 code=549
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+Program Size: data=61.6 xdata=0 code=750
creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
+"relay" - 0 Error(s), 2 Warning(s).
Build target 'Target 1'
compiling main.c...
-main.c(93): error C141: syntax error near 'sbit'
-main.c(93): error C202: 'flag1': undefined identifier
-main.c(94): error C141: syntax error near 'sbit'
-main.c(94): error C202: 'flag2': undefined identifier
-main.c(117): error C202: 'flag1': undefined identifier
-main.c(118): error C202: 'flag1': undefined identifier
-main.c(121): error C202: 'flag1': undefined identifier
-main.c(122): error C202: 'flag1': undefined identifier
+MAIN.C(187): warning C260: '=': pointer truncation
+linking...
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+Program Size: data=61.6 xdata=0 code=750
+creating hex file from "relay"...
+"relay" - 0 Error(s), 2 Warning(s).
+Build target 'Target 1'
+compiling main.c...
+MAIN.C(189): warning C260: '=': pointer truncation
+linking...
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+Program Size: data=61.6 xdata=0 code=759
+creating hex file from "relay"...
+"relay" - 0 Error(s), 2 Warning(s).
+Build target 'Target 1'
+compiling main.c...
+MAIN.C(184): error C202: 'false': undefined identifier
+MAIN.C(193): error C141: syntax error near '}'
+MAIN.C(196): error C202: 'true': undefined identifier
+MAIN.C(198): error C202: 'true': undefined identifier
Target not created
Build target 'Target 1'
compiling main.c...
-main.c(93): error C141: syntax error near 'sbit'
-main.c(93): error C202: 'flag2': undefined identifier
-main.c(94): error C141: syntax error near 'sbit'
-main.c(94): error C202: 'flag1': undefined identifier
-main.c(116): error C202: 'flag1': undefined identifier
-main.c(117): error C202: 'flag1': undefined identifier
-main.c(120): error C202: 'flag1': undefined identifier
-main.c(121): error C202: 'flag1': undefined identifier
-Target not created
-compiling main.c...
-main.c(93): error C141: syntax error near 'sbit'
-main.c(93): error C202: 'flag2': undefined identifier
-main.c(94): error C141: syntax error near 'sbit'
-main.c(94): error C202: 'flag1': undefined identifier
-main.c(116): error C202: 'flag1': undefined identifier
-main.c(117): error C202: 'flag1': undefined identifier
-main.c(120): error C202: 'flag1': undefined identifier
-main.c(121): error C202: 'flag1': undefined identifier
-main.c - 8 Error(s), 0 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-main.c(93): error C141: syntax error near 'sbit'
-main.c(93): error C202: 'flag2': undefined identifier
-main.c(94): error C141: syntax error near 'sbit'
-main.c(94): error C202: 'flag1': undefined identifier
-main.c(116): error C202: 'flag1': undefined identifier
-main.c(117): error C202: 'flag1': undefined identifier
-main.c(120): error C202: 'flag1': undefined identifier
-main.c(121): error C202: 'flag1': undefined identifier
+MAIN.C(189): warning C260: '=': pointer truncation
+MAIN.C(193): error C141: syntax error near '}'
+MAIN.C(196): error C101: ''b': invalid character constant
+MAIN.C(196): error C141: syntax error near ''b'
+MAIN.C(196): error C141: syntax error near '1'
+main.c(196): error C305: unterminated string/char const
+MAIN.C(198): error C101: ''b': invalid character constant
+MAIN.C(198): error C141: syntax error near ''b'
+MAIN.C(198): error C141: syntax error near '0'
+MAIN.C(198): error C141: syntax error near ')'
+main.c(198): error C305: unterminated string/char const
Target not created
Build target 'Target 1'
compiling main.c...
-main.c(93): error C202: 'bool': undefined identifier
-main.c(93): error C141: syntax error near 'flag1'
-main.c(94): error C202: 'bool': undefined identifier
-main.c(94): error C141: syntax error near 'flag2'
-main.c(116): error C202: 'flag1': undefined identifier
-main.c(117): error C202: 'flag1': undefined identifier
-main.c(120): error C202: 'flag1': undefined identifier
-main.c(121): error C202: 'flag1': undefined identifier
+MAIN.C(189): warning C260: '=': pointer truncation
+MAIN.C(193): error C141: syntax error near '}'
Target not created
Build target 'Target 1'
compiling main.c...
-main.c(94): error C202: 'bool': undefined identifier
-main.c(94): error C141: syntax error near 'flag2'
-main.c(120): error C202: 'flag2': undefined identifier
+MAIN.C(189): warning C260: '=': pointer truncation
+linking...
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+Program Size: data=64.7 xdata=0 code=825
+creating hex file from "relay"...
+"relay" - 0 Error(s), 2 Warning(s).
+Build target 'Target 1'
+compiling main.c...
+MAIN.C(189): warning C260: '=': pointer truncation
+MAIN.C(204): error C141: syntax error near ')'
+MAIN.C(205): error C141: syntax error near '}'
+Target not created
+Build target 'Target 1'
+compiling main.c...
+MAIN.C(190): warning C260: '=': pointer truncation
+linking...
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+Program Size: data=66.7 xdata=0 code=874
+creating hex file from "relay"...
+"relay" - 0 Error(s), 2 Warning(s).
+Build target 'Target 1'
+compiling main.c...
+MAIN.C(116): error C202: 'recv_flag': undefined identifier
+MAIN.C(120): error C202: 'recv_flag': undefined identifier
+MAIN.C(191): error C202: 'recv_flag': undefined identifier
+Target not created
+Build target 'Target 1'
+compiling main.c...
+MAIN.C(190): warning C260: '=': pointer truncation
+linking...
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+Program Size: data=66.7 xdata=0 code=874
+creating hex file from "relay"...
+"relay" - 0 Error(s), 2 Warning(s).
+Build target 'Target 1'
+compiling main.c...
+MAIN.C(191): warning C260: '=': pointer truncation
+MAIN.C(205): error C171: 'break': missing enclosing loop
+Target not created
+Build target 'Target 1'
+compiling main.c...
+MAIN.C(191): warning C260: '=': pointer truncation
+linking...
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+Program Size: data=67.0 xdata=0 code=898
+creating hex file from "relay"...
+"relay" - 0 Error(s), 2 Warning(s).
+Build target 'Target 1'
+compiling main.c...
+MAIN.C(191): warning C260: '=': pointer truncation
+linking...
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+Program Size: data=67.0 xdata=0 code=898
+creating hex file from "relay"...
+"relay" - 0 Error(s), 2 Warning(s).
+Build target 'Target 1'
+compiling main.c...
+MAIN.C(191): warning C260: '=': pointer truncation
+linking...
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+Program Size: data=67.0 xdata=0 code=913
+creating hex file from "relay"...
+"relay" - 0 Error(s), 2 Warning(s).
+Build target 'Target 1'
+compiling main.c...
+MAIN.C(192): warning C260: '=': pointer truncation
+linking...
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+Program Size: data=67.0 xdata=0 code=924
+creating hex file from "relay"...
+"relay" - 0 Error(s), 2 Warning(s).
+Build target 'Target 1'
+compiling main.c...
+MAIN.C(192): warning C260: '=': pointer truncation
+MAIN.C(225): warning C260: '=': pointer truncation
+linking...
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+Program Size: data=67.0 xdata=0 code=946
+creating hex file from "relay"...
+"relay" - 0 Error(s), 3 Warning(s).
+Build target 'Target 1'
+compiling main.c...
+MAIN.C(195): warning C260: '=': pointer truncation
+MAIN.C(228): warning C260: '=': pointer truncation
+linking...
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+Program Size: data=67.0 xdata=0 code=946
+creating hex file from "relay"...
+"relay" - 0 Error(s), 3 Warning(s).
+Build target 'Target 1'
+compiling main.c...
+MAIN.C(195): warning C260: '=': pointer truncation
+MAIN.C(229): warning C260: '=': pointer truncation
+linking...
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+Program Size: data=67.0 xdata=0 code=948
+creating hex file from "relay"...
+"relay" - 0 Error(s), 3 Warning(s).
+Build target 'Target 1'
+compiling main.c...
+MAIN.C(195): warning C260: '=': pointer truncation
+MAIN.C(229): warning C260: '=': pointer truncation
+linking...
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?_SENDWIFI?MAIN
+Program Size: data=67.0 xdata=0 code=933
+creating hex file from "relay"...
+"relay" - 0 Error(s), 4 Warning(s).
+Build target 'Target 1'
+compiling main.c...
+MAIN.C(228): warning C260: '=': pointer truncation
+linking...
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?_SENDWIFI?MAIN
+Program Size: data=67.0 xdata=0 code=929
+creating hex file from "relay"...
+"relay" - 0 Error(s), 3 Warning(s).
+Build target 'Target 1'
+compiling main.c...
+MAIN.C(178): warning C280: 'last_byte': unreferenced local variable
+MAIN.C(179): warning C280: 'sec_last_byte': unreferenced local variable
+MAIN.C(180): warning C280: 'trd_last_byte': unreferenced local variable
+MAIN.C(181): warning C280: 'four_last_byte': unreferenced local variable
+MAIN.C(183): warning C280: 'flag_recv': unreferenced local variable
+MAIN.C(184): warning C280: 'flag_need_read': unreferenced local variable
+MAIN.C(185): warning C280: 'recv_cnt': unreferenced local variable
+linking...
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?_SENDWIFI?MAIN
+Program Size: data=67.0 xdata=0 code=692
+creating hex file from "relay"...
+"relay" - 0 Error(s), 9 Warning(s).
+Build target 'Target 1'
+compiling main.c...
+MAIN.C(179): warning C280: 'last_byte': unreferenced local variable
+MAIN.C(180): warning C280: 'sec_last_byte': unreferenced local variable
+MAIN.C(181): warning C280: 'trd_last_byte': unreferenced local variable
+MAIN.C(182): warning C280: 'four_last_byte': unreferenced local variable
+MAIN.C(184): warning C280: 'flag_recv': unreferenced local variable
+MAIN.C(185): warning C280: 'flag_need_read': unreferenced local variable
+MAIN.C(186): warning C280: 'recv_cnt': unreferenced local variable
+linking...
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?_SENDWIFI?MAIN
+Program Size: data=67.1 xdata=0 code=698
+creating hex file from "relay"...
+"relay" - 0 Error(s), 9 Warning(s).
+Build target 'Target 1'
+compiling main.c...
+linking...
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?_SENDWIFI?MAIN
+Program Size: data=61.7 xdata=0 code=691
+creating hex file from "relay"...
+"relay" - 0 Error(s), 2 Warning(s).
+Build target 'Target 1'
+compiling main.c...
+MAIN.C(163): error C202: 'connected_flag': undefined identifier
+MAIN.C(182): error C202: 'index': undefined identifier
+MAIN.C(183): error C202: 'index': undefined identifier
+Target not created
+Build target 'Target 1'
+compiling main.c...
+MAIN.C(40): error C129: missing ';' before 'connected_flag'
Target not created
Build target 'Target 1'
compiling main.c...
linking...
-Program Size: data=44.5 xdata=0 code=575
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?_SENDWIFI?MAIN
+Program Size: data=60.7 xdata=0 code=688
creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
+"relay" - 0 Error(s), 2 Warning(s).
Build target 'Target 1'
compiling main.c...
linking...
-Program Size: data=44.5 xdata=0 code=575
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?_SENDWIFI?MAIN
+Program Size: data=60.7 xdata=0 code=688
creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
-Build target 'Target 1'
-linking...
-Program Size: data=44.5 xdata=0 code=575
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
+"relay" - 0 Error(s), 2 Warning(s).
Build target 'Target 1'
compiling main.c...
+MAIN.C(229): warning C260: '=': pointer truncation
linking...
-Program Size: data=44.5 xdata=0 code=596
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?_SENDWIFI?MAIN
+Program Size: data=67.0 xdata=0 code=932
creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
+"relay" - 0 Error(s), 3 Warning(s).
Build target 'Target 1'
compiling main.c...
+MAIN.C(215): warning C260: '=': pointer truncation
+MAIN.C(185): warning C280: 'flag_recv': unreferenced local variable
linking...
-Program Size: data=44.5 xdata=0 code=597
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?_SENDWIFI?MAIN
+Program Size: data=67.0 xdata=0 code=877
creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
+"relay" - 0 Error(s), 4 Warning(s).
Build target 'Target 1'
linking...
-Program Size: data=44.5 xdata=0 code=597
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?DELAY500MS?MAIN
+*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
+ SEGMENT: ?PR?_SENDWIFI?MAIN
+Program Size: data=67.0 xdata=0 code=877
creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
+"relay" - 0 Error(s), 2 Warning(s).
Build target 'Target 1'
compiling main.c...
-linking...
-Program Size: data=44.5 xdata=0 code=603
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
+MAIN.C(195): error C202: 'sec_last_byte': undefined identifier
+MAIN.C(197): error C202: 'trd_last_byte': undefined identifier
+MAIN.C(198): error C202: 'four_last_byte': undefined identifier
+MAIN.C(201): error C202: 'sec_last_byte': undefined identifier
+MAIN.C(215): error C202: 'sec_last_byte': undefined identifier
+MAIN.C(217): error C202: 'trd_last_byte': undefined identifier
+MAIN.C(218): error C202: 'four_last_byte': undefined identifier
+Target not created
Build target 'Target 1'
compiling main.c...
-linking...
-Program Size: data=44.5 xdata=0 code=577
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-linking...
-Program Size: data=44.5 xdata=0 code=605
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
-Build target 'Target 1'
-linking...
-Program Size: data=44.5 xdata=0 code=605
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-linking...
-Program Size: data=44.5 xdata=0 code=601
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-linking...
-Program Size: data=44.5 xdata=0 code=603
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
-Build target 'Target 1'
-compiling main.c...
-linking...
-Program Size: data=44.5 xdata=0 code=588
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
-Build target 'Target 1'
-linking...
-Program Size: data=44.5 xdata=0 code=588
-creating hex file from "relay"...
-"relay" - 0 Error(s), 0 Warning(s).
+MAIN.C(195): error C202: 'sec_last_byte': undefined identifier
+MAIN.C(197): error C202: 'trd_last_byte': undefined identifier
+MAIN.C(198): error C202: 'four_last_byte': undefined identifier
+MAIN.C(203): error C202: 'sec_last_byte': undefined identifier
+MAIN.C(219): error C202: 'sec_last_byte': undefined identifier
+MAIN.C(221): error C202: 'trd_last_byte': undefined identifier
+MAIN.C(222): error C202: 'four_last_byte': undefined identifier
+Target not created
diff --git a/c51/relay_controller/relay.uvgui.Administrator b/c51/relay_controller/relay.uvgui.Administrator
deleted file mode 100644
index 8ba6928..0000000
--- a/c51/relay_controller/relay.uvgui.Administrator
+++ /dev/null
@@ -1,1412 +0,0 @@
-
-
-
- -4.1
-
- ### uVision Project, (C) Keil Software
-
-
-
-
-
- 38003
- Registers
- 115 117
-
-
- 346
- Code Coverage
- 636 160
-
-
- 204
- Performance Analyzer
- 796
-
-
-
-
-
- 1506
- Symbols
-
- 133 133 133
-
-
- 1936
- Watch 1
-
- 133 133 133
-
-
- 1937
- Watch 2
-
- 133 133 133
-
-
- 1935
- Call Stack + Locals
-
- 133 133 133
-
-
- 2506
- Trace Data
-
- 75 135 130 95 70 230 200
-
-
-
-
- 1938
- Run Time Environment
-
- 0 250 30 60 60 500 -1 21844 -21846
-
-
-
-
- 1
- 1
- 0
-
-
-
-
-
-
- 44
- 2
- 3
-
- -32000
- -32040
-
-
- -1
- -1
-
-
- 200
- 200
- 1280
- 825
-
-
-
- 0
-
- 358
- 01000000040000000100000001000000010000000100000000000000020000000000000001000000010000000000000028000000280000000100000003000000000000000100000022443A5C70726F6A6563745C72656C61795F636F6E74726F6C6C65725C6D61696E2E6300000000066D61696E2E6300000000FFDC7800FFFFFFFF27443A5C70726F6A6563745C72656C61795F636F6E74726F6C6C65725C535441525455502E413531000000000B535441525455502E41353100000000BECEA100FFFFFFFF23443A5C70726F6A6563745C72656C61795F636F6E74726F6C6C65725C53544331312E68000000000753544331312E6800000000BECEA100FFFFFFFF0100000010000000C5D4F200FFDC7800BECEA100F0A0A100BCA8E1009CC1B600F7B88600D9ADC200A5C2D700B3A6BE00EAD6A300F6FA7D00B5E99D005FC3CF00C1838300CACAD500010000000000000002000000F60000008D00000000050000CF020000
-
-
-
- 0
- Build
-
- -1
- -1
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 8A0000004F000000B0030000D7000000
-
-
- 16
- DD000000E00000000304000068010000
-
-
-
- 1005
- 1005
- 1
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 0300000066000000EF00000078020000
-
-
- 16
- 210000005F000000A70000007F020000
-
-
-
- 109
- 109
- 1
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 0300000066000000EF00000078020000
-
-
- 16
- 210000005F000000A70000007F020000
-
-
-
- 1465
- 1465
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 0300000010020000AD0300007C020000
-
-
- 16
- 210000005F000000F9010000E7000000
-
-
-
- 1466
- 1466
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 0300000010020000AD0300007C020000
-
-
- 16
- 210000005F000000F9010000E7000000
-
-
-
- 1467
- 1467
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 0300000010020000AD0300007C020000
-
-
- 16
- 210000005F000000F9010000E7000000
-
-
-
- 1468
- 1468
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 0300000010020000AD0300007C020000
-
-
- 16
- 210000005F000000F9010000E7000000
-
-
-
- 1506
- 1506
- 0
- 0
- 0
- 0
- 32767
- 0
- 16384
- 0
-
- 16
- 2302000066000000AD030000F0010000
-
-
- 16
- 210000005F000000B1010000EF010000
-
-
-
- 1913
- 1913
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 8D00000066000000AD030000BE000000
-
-
- 16
- 210000005F000000F9010000E7000000
-
-
-
- 1935
- 1935
- 0
- 0
- 0
- 0
- 32767
- 0
- 32768
- 0
-
- 16
- 0300000010020000AD0300007C020000
-
-
- 16
- 210000005F000000B1010000EF010000
-
-
-
- 1936
- 1936
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 0300000010020000AD0300007C020000
-
-
- 16
- 210000005F000000B1010000EF010000
-
-
-
- 1937
- 1937
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 0300000010020000AD0300007C020000
-
-
- 16
- 210000005F000000B1010000EF010000
-
-
-
- 1938
- 1938
- 0
- 0
- 0
- 0
- 32767
- 0
- 16384
- 0
-
- 16
- 00000000000000000D01000020020000
-
-
- 16
- 210000005F0000002E0100007F020000
-
-
-
- 1939
- 1939
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 0300000010020000AD0300007C020000
-
-
- 16
- 210000005F000000F9010000E7000000
-
-
-
- 1940
- 1940
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 0300000010020000AD0300007C020000
-
-
- 16
- 210000005F000000F9010000E7000000
-
-
-
- 1941
- 1941
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 0300000010020000AD0300007C020000
-
-
- 16
- 210000005F000000F9010000E7000000
-
-
-
- 1942
- 1942
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 0300000010020000AD0300007C020000
-
-
- 16
- 210000005F000000F9010000E7000000
-
-
-
- 195
- 195
- 1
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 0300000066000000EF00000078020000
-
-
- 16
- 210000005F000000A70000007F020000
-
-
-
- 196
- 196
- 1
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 0300000066000000EF00000078020000
-
-
- 16
- 210000005F000000A70000007F020000
-
-
-
- 197
- 197
- 1
- 0
- 0
- 0
- 32767
- 0
- 32768
- 0
-
- 16
- 00000000A902000000050000AF030000
-
-
- 16
- 210000005F000000F9010000E7000000
-
-
-
- 198
- 198
- 0
- 0
- 0
- 0
- 32767
- 0
- 32768
- 0
-
- 16
- 00000000F9010000B003000095020000
-
-
- 16
- 210000005F000000F9010000E7000000
-
-
-
- 199
- 199
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 03000000AC020000FD04000096030000
-
-
- 16
- 210000005F000000F9010000E7000000
-
-
-
- 203
- 203
- 0
- 0
- 0
- 0
- 32767
- 0
- 8192
- 0
-
- 16
- 8D00000066000000AD030000BE000000
-
-
- 16
- 210000005F000000F9010000E7000000
-
-
-
- 204
- 204
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 8D00000066000000AD030000BE000000
-
-
- 16
- 210000005F000000F9010000E7000000
-
-
-
- 221
- 221
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 00000000000000000000000000000000
-
-
- 16
- 0A0000000A0000006E0000006E000000
-
-
-
- 2506
- 2506
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 2302000066000000AD030000F0010000
-
-
- 16
- 210000005F000000B1010000EF010000
-
-
-
- 2507
- 2507
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 0300000010020000AD0300007C020000
-
-
- 16
- 210000005F000000F9010000E7000000
-
-
-
- 343
- 343
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 8D00000066000000AD030000BE000000
-
-
- 16
- 210000005F000000F9010000E7000000
-
-
-
- 346
- 346
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 8D00000066000000AD030000BE000000
-
-
- 16
- 210000005F000000F9010000E7000000
-
-
-
- 35824
- 35824
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 8D00000066000000AD030000BE000000
-
-
- 16
- 210000005F000000F9010000E7000000
-
-
-
- 35885
- 35885
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 2302000066000000AD030000F0010000
-
-
- 16
- 210000005F000000B1010000EF010000
-
-
-
- 35886
- 35886
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 2302000066000000AD030000F0010000
-
-
- 16
- 210000005F000000B1010000EF010000
-
-
-
- 35887
- 35887
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 2302000066000000AD030000F0010000
-
-
- 16
- 210000005F000000B1010000EF010000
-
-
-
- 35888
- 35888
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 2302000066000000AD030000F0010000
-
-
- 16
- 210000005F000000B1010000EF010000
-
-
-
- 35889
- 35889
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 2302000066000000AD030000F0010000
-
-
- 16
- 210000005F000000B1010000EF010000
-
-
-
- 35890
- 35890
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 2302000066000000AD030000F0010000
-
-
- 16
- 210000005F000000B1010000EF010000
-
-
-
- 35891
- 35891
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 2302000066000000AD030000F0010000
-
-
- 16
- 210000005F000000B1010000EF010000
-
-
-
- 35892
- 35892
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 2302000066000000AD030000F0010000
-
-
- 16
- 210000005F000000B1010000EF010000
-
-
-
- 35893
- 35893
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 2302000066000000AD030000F0010000
-
-
- 16
- 210000005F000000B1010000EF010000
-
-
-
- 35894
- 35894
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 2302000066000000AD030000F0010000
-
-
- 16
- 210000005F000000B1010000EF010000
-
-
-
- 35895
- 35895
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 2302000066000000AD030000F0010000
-
-
- 16
- 210000005F000000B1010000EF010000
-
-
-
- 35896
- 35896
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 2302000066000000AD030000F0010000
-
-
- 16
- 210000005F000000B1010000EF010000
-
-
-
- 35897
- 35897
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 2302000066000000AD030000F0010000
-
-
- 16
- 210000005F000000B1010000EF010000
-
-
-
- 35898
- 35898
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 2302000066000000AD030000F0010000
-
-
- 16
- 210000005F000000B1010000EF010000
-
-
-
- 35899
- 35899
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 2302000066000000AD030000F0010000
-
-
- 16
- 210000005F000000B1010000EF010000
-
-
-
- 35900
- 35900
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 2302000066000000AD030000F0010000
-
-
- 16
- 210000005F000000B1010000EF010000
-
-
-
- 35901
- 35901
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 2302000066000000AD030000F0010000
-
-
- 16
- 210000005F000000B1010000EF010000
-
-
-
- 35902
- 35902
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 2302000066000000AD030000F0010000
-
-
- 16
- 210000005F000000B1010000EF010000
-
-
-
- 35903
- 35903
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 2302000066000000AD030000F0010000
-
-
- 16
- 210000005F000000B1010000EF010000
-
-
-
- 35904
- 35904
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 2302000066000000AD030000F0010000
-
-
- 16
- 210000005F000000B1010000EF010000
-
-
-
- 35905
- 35905
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 2302000066000000AD030000F0010000
-
-
- 16
- 210000005F000000B1010000EF010000
-
-
-
- 38003
- 38003
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 0300000066000000EF00000078020000
-
-
- 16
- 210000005F000000A70000007F020000
-
-
-
- 38007
- 38007
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 03000000AC020000FD04000096030000
-
-
- 16
- 210000005F000000F9010000E7000000
-
-
-
- 436
- 436
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 03000000AC020000FD04000096030000
-
-
- 16
- 210000005F000000A70000007F020000
-
-
-
- 437
- 437
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 0300000010020000AD0300007C020000
-
-
- 16
- 210000005F000000B1010000EF010000
-
-
-
- 440
- 440
- 0
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 0300000010020000AD0300007C020000
-
-
- 16
- 210000005F000000B1010000EF010000
-
-
-
- 59392
- 59392
- 1
- 0
- 0
- 0
- 940
- 0
- 8192
- 0
-
- 16
- 0000000000000000B70300001C000000
-
-
- 16
- 0A0000000A0000006E0000006E000000
-
-
-
- 59393
- 0
- 1
- 0
- 0
- 0
- 32767
- 0
- 4096
- 0
-
- 16
- 00000000AF03000000050000C2030000
-
-
- 16
- 0A0000000A0000006E0000006E000000
-
-
-
- 59399
- 59399
- 1
- 0
- 0
- 0
- 439
- 0
- 8192
- 1
-
- 16
- 000000001C000000C201000038000000
-
-
- 16
- 0A0000000A0000006E0000006E000000
-
-
-
- 59400
- 59400
- 0
- 0
- 0
- 0
- 612
- 0
- 8192
- 2
-
- 16
- 00000000380000006F02000054000000
-
-
- 16
- 0A0000000A0000006E0000006E000000
-
-
-
- 2715
- 000000000D000000000000000020000000000000FFFFFFFFFFFFFFFF8A000000D7000000B0030000DB000000000000000100000004000000010000000000000000000000FFFFFFFF06000000CB00000057010000CC000000F08B00005A01000079070000FFFF02000B004354616262656450616E650020000000000000DD000000E000000003040000680100008A0000004F000000B0030000D70000000000000040280046060000000B446973617373656D626C7900000000CB00000001000000FFFFFFFFFFFFFFFF14506572666F726D616E636520416E616C797A6572000000005701000001000000FFFFFFFFFFFFFFFF14506572666F726D616E636520416E616C797A657200000000CC00000001000000FFFFFFFFFFFFFFFF0E4C6F67696320416E616C797A657200000000F08B000001000000FFFFFFFFFFFFFFFF0D436F646520436F766572616765000000005A01000001000000FFFFFFFFFFFFFFFF11496E737472756374696F6E205472616365000000007907000001000000FFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000000000000000000000001000000FFFFFFFFCB00000001000000FFFFFFFFCB000000000000000040000000000000FFFFFFFFFFFFFFFF00000000000000000400000004000000000000000200000004000000010000000000000000000000920700000000000000000000000000000000000001000000920700000100000092070000000000000040000000000000FFFFFFFFFFFFFFFF1C0200004F0000002002000009020000000000000200000004000000010000000000000000000000FFFFFFFF17000000E2050000CA0900002D8C00002E8C00002F8C0000308C0000318C0000328C0000338C0000348C0000358C0000368C0000378C0000388C0000398C00003A8C00003B8C00003C8C00003D8C00003E8C00003F8C0000408C0000418C00000180004000000000000073020000E0000000030400009A020000200200004F000000B0030000090200000000000040410046170000000753796D626F6C7300000000E205000001000000FFFFFFFFFFFFFFFF0A5472616365204461746100000000CA09000001000000FFFFFFFFFFFFFFFF00000000002D8C000001000000FFFFFFFFFFFFFFFF00000000002E8C000001000000FFFFFFFFFFFFFFFF00000000002F8C000001000000FFFFFFFFFFFFFFFF0000000000308C000001000000FFFFFFFFFFFFFFFF0000000000318C000001000000FFFFFFFFFFFFFFFF0000000000328C000001000000FFFFFFFFFFFFFFFF0000000000338C000001000000FFFFFFFFFFFFFFFF0000000000348C000001000000FFFFFFFFFFFFFFFF0000000000358C000001000000FFFFFFFFFFFFFFFF0000000000368C000001000000FFFFFFFFFFFFFFFF0000000000378C000001000000FFFFFFFFFFFFFFFF0000000000388C000001000000FFFFFFFFFFFFFFFF0000000000398C000001000000FFFFFFFFFFFFFFFF00000000003A8C000001000000FFFFFFFFFFFFFFFF00000000003B8C000001000000FFFFFFFFFFFFFFFF00000000003C8C000001000000FFFFFFFFFFFFFFFF00000000003D8C000001000000FFFFFFFFFFFFFFFF00000000003E8C000001000000FFFFFFFFFFFFFFFF00000000003F8C000001000000FFFFFFFFFFFFFFFF0000000000408C000001000000FFFFFFFFFFFFFFFF0000000000418C000001000000FFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000000000000000000000001000000FFFFFFFFE205000001000000FFFFFFFFE2050000000000000010000001000000FFFFFFFFFFFFFFFFF20000004F000000F600000091020000010000000200001004000000010000007CFFFFFF71040000FFFFFFFF05000000ED0300006D000000C3000000C4000000739400000180001000000100000053000000E00000004501000022030000000000004F000000F2000000910200000000000040140056050000000750726F6A65637401000000ED03000001000000FFFFFFFFFFFFFFFF05426F6F6B73010000006D00000001000000FFFFFFFFFFFFFFFF0946756E6374696F6E7301000000C300000001000000FFFFFFFFFFFFFFFF0954656D706C6174657301000000C400000001000000FFFFFFFFFFFFFFFF09526567697374657273000000007394000001000000FFFFFFFFFFFFFFFF00000000000000000000000000000000000000000000000001000000FFFFFFFFED03000001000000FFFFFFFFED030000000000000080000000000000FFFFFFFFFFFFFFFF00000000F5010000B0030000F901000000000000010000000400000001000000000000000000000000000000000000000000000001000000C6000000FFFFFFFF0E0000008F070000930700009407000095070000960700009007000091070000B5010000B8010000B9050000BA050000BB050000BC050000CB09000001800080000000000000530000008A020000030400002603000000000000F9010000B00300009502000000000000404100460E0000001343616C6C20537461636B202B204C6F63616C73000000008F07000001000000FFFFFFFFFFFFFFFF0755415254202331000000009307000001000000FFFFFFFFFFFFFFFF0755415254202332000000009407000001000000FFFFFFFFFFFFFFFF0755415254202333000000009507000001000000FFFFFFFFFFFFFFFF15446562756720287072696E74662920566965776572000000009607000001000000FFFFFFFFFFFFFFFF0757617463682031000000009007000001000000FFFFFFFFFFFFFFFF0757617463682032000000009107000001000000FFFFFFFFFFFFFFFF10547261636520457863657074696F6E7300000000B501000001000000FFFFFFFFFFFFFFFF0E4576656E7420436F756E7465727300000000B801000001000000FFFFFFFFFFFFFFFF084D656D6F7279203100000000B905000001000000FFFFFFFFFFFFFFFF084D656D6F7279203200000000BA05000001000000FFFFFFFFFFFFFFFF084D656D6F7279203300000000BB05000001000000FFFFFFFFFFFFFFFF084D656D6F7279203400000000BC05000001000000FFFFFFFFFFFFFFFF105472616365204E617669676174696F6E00000000CB09000001000000FFFFFFFFFFFFFFFFFFFFFFFF0000000001000000000000000000000001000000FFFFFFFFD8010000F9010000DC0100009502000000000000020000000400000000000000000000000000000000000000000000000000000002000000C6000000FFFFFFFF8F07000001000000FFFFFFFF8F07000001000000C6000000000000000080000001000000FFFFFFFFFFFFFFFF000000009102000000050000950200000100000001000010040000000100000031FDFFFF86000000FFFFFFFF04000000C5000000C7000000B4010000779400000180008000000100000053000000260300005305000040040000000000009502000000050000AF0300000000000040820056040000000C4275696C64204F757470757401000000C500000001000000FFFFFFFFFFFFFFFF0D46696E6420496E2046696C657300000000C700000001000000FFFFFFFFFFFFFFFF0A4572726F72204C69737400000000B401000001000000FFFFFFFFFFFFFFFF0742726F77736572000000007794000001000000FFFFFFFFFFFFFFFF00000000000000000000000000000000000000000000000001000000FFFFFFFFC500000001000000FFFFFFFFC5000000000000000000000000000000
-
-
- 59392
- File
-
- 2125
- 00200000010000002800FFFF01001100434D4643546F6F6C426172427574746F6E00E100000000000000000000000000000000000000000000000100000001000000018001E100000000000001000000000000000000000000000000000100000001000000018003E1000000000000020000000000000000000000000000000001000000010000000180CD7F0000000000000300000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000018023E100000000040004000000000000000000000000000000000100000001000000018022E100000000040005000000000000000000000000000000000100000001000000018025E10000000000000600000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001802BE10000000000000700000000000000000000000000000000010000000100000001802CE10000000004000800000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001807A8A0000000000000900000000000000000000000000000000010000000100000001807B8A0000000004000A00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180D3B00000000000000B000000000000000000000000000000000100000001000000018015B10000000004000C0000000000000000000000000000000001000000010000000180F4B00000000004000D000000000000000000000000000000000100000001000000018036B10000000004000E00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180FF88000000000400460000000000000000000000000000000001000000010000000180FE880000000004004500000000000000000000000000000000010000000100000001800B810000000004001300000000000000000000000000000000010000000100000001800C810000000004001400000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180F0880000020000000F000000000000000000000000000000000100000001000000FFFF0100120043555646696E64436F6D626F427574746F6EE8030000000000000000000000000000000000000000000000010000000100000096000000020020500000000002503196000000000000000D000274780250310750315F5561727402726909726563765F666C61670462757379044D61726B014109504152495459424954023F3F083F3F3F3F3F3F3F3F0475696E7402503000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018024E10000000000001100000000000000000000000000000000010000000100000001800A810000000000001200000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000018022800000020000001500000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180C488000000000000160000000000000000000000000000000001000000010000000180C988000000000400180000000000000000000000000000000001000000010000000180C788000000000000190000000000000000000000000000000001000000010000000180C8880000000000001700000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000FFFF01001500434D4643546F6F6C4261724D656E75427574746F6E4C010000020001001A0000000F50726F6A6563742057696E646F7773000000000000000000000000010000000100000000000000000000000100000008002880DD880000000000001A0000000750726F6A656374000000000000000000000000010000000100000000000000000000000100000000002880DC8B0000000000003A00000005426F6F6B73000000000000000000000000010000000100000000000000000000000100000000002880E18B0000000000003B0000000946756E6374696F6E73000000000000000000000000010000000100000000000000000000000100000000002880E28B000000000000400000000954656D706C6174657300000000000000000000000001000000010000000000000000000000010000000000288018890000000000003D0000000E536F757263652042726F777365720000000000000000000000000100000001000000000000000000000001000000000028800000000000000400FFFFFFFF00000000000000000001000000000000000100000000000000000000000100000000002880D988000000000000390000000C4275696C64204F7574707574000000000000000000000000010000000100000000000000000000000100000000002880E38B000000000000410000000B46696E64204F75747075740000000000000000000000000100000001000000000000000000000001000000000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180FB7F0000000000001B000000000000000000000000000000000100000001000000000000000446696C65AC030000
-
-
- 1423
- 2800FFFF01001100434D4643546F6F6C426172427574746F6E00E1000000000000FFFFFFFF000100000000000000010000000000000001000000018001E1000000000000FFFFFFFF000100000000000000010000000000000001000000018003E1000000000000FFFFFFFF0001000000000000000100000000000000010000000180CD7F000000000000FFFFFFFF00010000000000000001000000000000000100000001800000000000000000FFFFFFFF000000000000000000010000000000000001000000018023E1000000000000FFFFFFFF000100000000000000010000000000000001000000018022E1000000000000FFFFFFFF000100000000000000010000000000000001000000018025E1000000000000FFFFFFFF00010000000000000001000000000000000100000001800000000000000000FFFFFFFF00000000000000000001000000000000000100000001802BE1000000000000FFFFFFFF00010000000000000001000000000000000100000001802CE1000000000000FFFFFFFF00010000000000000001000000000000000100000001800000000000000000FFFFFFFF00000000000000000001000000000000000100000001807A8A000000000000FFFFFFFF00010000000000000001000000000000000100000001807B8A000000000000FFFFFFFF00010000000000000001000000000000000100000001800000000000000000FFFFFFFF0000000000000000000100000000000000010000000180D3B0000000000000FFFFFFFF000100000000000000010000000000000001000000018015B1000000000000FFFFFFFF0001000000000000000100000000000000010000000180F4B0000000000000FFFFFFFF000100000000000000010000000000000001000000018036B1000000000000FFFFFFFF00010000000000000001000000000000000100000001800000000000000000FFFFFFFF0000000000000000000100000000000000010000000180FF88000000000000FFFFFFFF0001000000000000000100000000000000010000000180FE88000000000000FFFFFFFF00010000000000000001000000000000000100000001800B81000000000000FFFFFFFF00010000000000000001000000000000000100000001800C81000000000000FFFFFFFF00010000000000000001000000000000000100000001800000000000000000FFFFFFFF0000000000000000000100000000000000010000000180F088000000000000FFFFFFFF0001000000000000000100000000000000010000000180EE7F000000000000FFFFFFFF000100000000000000010000000000000001000000018024E1000000000000FFFFFFFF00010000000000000001000000000000000100000001800A81000000000000FFFFFFFF00010000000000000001000000000000000100000001800000000000000000FFFFFFFF00000000000000000001000000000000000100000001802280000000000000FFFFFFFF00010000000000000001000000000000000100000001800000000000000000FFFFFFFF0000000000000000000100000000000000010000000180C488000000000000FFFFFFFF0001000000000000000100000000000000010000000180C988000000000000FFFFFFFF0001000000000000000100000000000000010000000180C788000000000000FFFFFFFF0001000000000000000100000000000000010000000180C888000000000000FFFFFFFF00010000000000000001000000000000000100000001800000000000000000FFFFFFFF0000000000000000000100000000000000010000000180DD88000000000000FFFFFFFF00010000000000000001000000000000000100000001800000000000000000FFFFFFFF0000000000000000000100000000000000010000000180FB7F000000000000FFFFFFFF000100000000000000010000000000000001000000
-
-
- 1423
- 2800FFFF01001100434D4643546F6F6C426172427574746F6E00E100000000000000000000000000000000000000000000000100000001000000018001E100000000000001000000000000000000000000000000000100000001000000018003E1000000000000020000000000000000000000000000000001000000010000000180CD7F0000000000000300000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000018023E100000000000004000000000000000000000000000000000100000001000000018022E100000000000005000000000000000000000000000000000100000001000000018025E10000000000000600000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001802BE10000000000000700000000000000000000000000000000010000000100000001802CE10000000000000800000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001807A8A0000000000000900000000000000000000000000000000010000000100000001807B8A0000000000000A00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180D3B00000000000000B000000000000000000000000000000000100000001000000018015B10000000000000C0000000000000000000000000000000001000000010000000180F4B00000000000000D000000000000000000000000000000000100000001000000018036B10000000000000E00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180FF880000000000000F0000000000000000000000000000000001000000010000000180FE880000000000001000000000000000000000000000000000010000000100000001800B810000000000001100000000000000000000000000000000010000000100000001800C810000000000001200000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180F088000000000000130000000000000000000000000000000001000000010000000180EE7F00000000000014000000000000000000000000000000000100000001000000018024E10000000000001500000000000000000000000000000000010000000100000001800A810000000000001600000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000018022800000000000001700000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180C488000000000000180000000000000000000000000000000001000000010000000180C988000000000000190000000000000000000000000000000001000000010000000180C7880000000000001A0000000000000000000000000000000001000000010000000180C8880000000000001B00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180DD880000000000001C00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180FB7F0000000000001D000000000000000000000000000000000100000001000000
-
-
-
- 59399
- Build
-
- 643
- 00200000010000000F00FFFF01001100434D4643546F6F6C426172427574746F6ECF7F0000000000001C0000000000000000000000000000000001000000010000000180D07F0000000000001D000000000000000000000000000000000100000001000000018030800000000000001E00000000000000000000000000000000010000000100000001809E8A0000000004001F0000000000000000000000000000000001000000010000000180D17F0000000004002000000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001804C8A0000000004002100000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000FFFF01001900434D4643546F6F6C426172436F6D626F426F78427574746F6EBA000000000000000000000000000000000000000000000000010000000100000096000000030020500000000008546172676574203196000000000000000100085461726765742031000000000180EB880000000000002200000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180C07F000000000000230000000000000000000000000000000001000000010000000180B08A000000000400240000000000000000000000000000000001000000010000000180A8010000020004004E0000000000000000000000000000000001000000010000000180BE010000000004005000000000000000000000000000000000010000000100000000000000054275696C64B7010000
-
-
- 548
- 0F00FFFF01001100434D4643546F6F6C426172427574746F6ECF7F000000000000FFFFFFFF0001000000000000000100000000000000010000000180D07F000000000000FFFFFFFF00010000000000000001000000000000000100000001803080000000000000FFFFFFFF00010000000000000001000000000000000100000001809E8A000000000000FFFFFFFF0001000000000000000100000000000000010000000180D17F000000000000FFFFFFFF00010000000000000001000000000000000100000001800000000000000000FFFFFFFF00000000000000000001000000000000000100000001804C8A000000000000FFFFFFFF00010000000000000001000000000000000100000001800000000000000000FFFFFFFF00000000000000000001000000000000000100000001806680000000000000FFFFFFFF0001000000000000000100000000000000010000000180EB88000000000000FFFFFFFF00010000000000000001000000000000000100000001800000000000000000FFFFFFFF0000000000000000000100000000000000010000000180C07F000000000000FFFFFFFF0001000000000000000100000000000000010000000180B08A000000000000FFFFFFFF0001000000000000000100000000000000010000000180A801000000000000FFFFFFFF0001000000000000000100000000000000010000000180BE01000000000000FFFFFFFF000100000000000000010000000000000001000000
-
-
- 548
- 0F00FFFF01001100434D4643546F6F6C426172427574746F6ECF7F000000000000000000000000000000000000000000000001000000010000000180D07F00000000000001000000000000000000000000000000000100000001000000018030800000000000000200000000000000000000000000000000010000000100000001809E8A000000000000030000000000000000000000000000000001000000010000000180D17F0000000000000400000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001804C8A0000000000000500000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001806680000000000000060000000000000000000000000000000001000000010000000180EB880000000000000700000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180C07F000000000000080000000000000000000000000000000001000000010000000180B08A000000000000090000000000000000000000000000000001000000010000000180A8010000000000000A0000000000000000000000000000000001000000010000000180BE010000000000000B000000000000000000000000000000000100000001000000
-
-
-
- 59400
- Debug
-
- 2220
- 00200000000000001900FFFF01001100434D4643546F6F6C426172427574746F6ECC880000000000002500000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000018017800000000000002600000000000000000000000000000000010000000100000001801D800000000000002700000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001801A800000000000002800000000000000000000000000000000010000000100000001801B80000000000000290000000000000000000000000000000001000000010000000180E57F0000000000002A00000000000000000000000000000000010000000100000001801C800000000000002B00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000018000890000000000002C00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180E48B0000000000002D0000000000000000000000000000000001000000010000000180F07F0000000000002E0000000000000000000000000000000001000000010000000180E8880000000000003700000000000000000000000000000000010000000100000001803B010000000000002F0000000000000000000000000000000001000000010000000180BB8A00000000000030000000000000000000000000000000000100000001000000FFFF01001500434D4643546F6F6C4261724D656E75427574746F6E0E01000000000000310000000D57617463682057696E646F7773000000000000000000000000010000000100000000000000000000000100000002001380D88B000000000000310000000757617463682031000000000000000000000000010000000100000000000000000000000100000000001380D98B0000000000003100000007576174636820320000000000000000000000000100000001000000000000000000000001000000000013800F01000000000000320000000E4D656D6F72792057696E646F7773000000000000000000000000010000000100000000000000000000000100000004001380D28B00000000000032000000084D656D6F72792031000000000000000000000000010000000100000000000000000000000100000000001380D38B00000000000032000000084D656D6F72792032000000000000000000000000010000000100000000000000000000000100000000001380D48B00000000000032000000084D656D6F72792033000000000000000000000000010000000100000000000000000000000100000000001380D58B00000000000032000000084D656D6F727920340000000000000000000000000100000001000000000000000000000001000000000013801001000000000000330000000E53657269616C2057696E646F77730000000000000000000000000100000001000000000000000000000001000000040013809307000000000000330000000755415254202331000000000000000000000000010000000100000000000000000000000100000000001380940700000000000033000000075541525420233200000000000000000000000001000000010000000000000000000000010000000000138095070000000000003300000007554152542023330000000000000000000000000100000001000000000000000000000001000000000013809607000000000000330000000E49544D2F525441205669657765720000000000000000000000000100000001000000000000000000000001000000000013803C010000000000003400000010416E616C797369732057696E646F7773000000000000000000000000010000000100000000000000000000000100000003001380658A000000000000340000000E4C6F67696320416E616C797A6572000000000000000000000000010000000100000000000000000000000100000000001380DC7F0000000000003E00000014506572666F726D616E636520416E616C797A6572000000000000000000000000010000000100000000000000000000000100000000001380E788000000000000380000000D436F646520436F76657261676500000000000000000000000001000000010000000000000000000000010000000000138053010000000000003F0000000D54726163652057696E646F77730000000000000000000000000100000001000000000000000000000001000000010013805401000000000000FFFFFFFF115472616365204D656E7520416E63686F720000000000000000010000000000000001000000000000000000000001000000000013802901000000000000350000001553797374656D205669657765722057696E646F77730000000000000000000000000100000001000000000000000000000001000000010013804B01000000000000FFFFFFFF1453797374656D2056696577657220416E63686F720000000000000000010000000000000001000000000000000000000001000000000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000138001890000000000003600000007546F6F6C626F7800000000000000000000000001000000010000000000000000000000010000000300138044C5000000000000FFFFFFFF0E5570646174652057696E646F77730000000000000000010000000000000001000000000000000000000001000000000013800000000000000400FFFFFFFF000000000000000000010000000000000001000000000000000000000001000000000013805B01000000000000FFFFFFFF12546F6F6C626F78204D656E75416E63686F72000000000000000001000000000000000100000000000000000000000100000000000000000005446562756764020000
-
-
- 898
- 1900FFFF01001100434D4643546F6F6C426172427574746F6ECC88000000000000FFFFFFFF00010000000000000001000000000000000100000001800000000000000000FFFFFFFF00000000000000000001000000000000000100000001801780000000000000FFFFFFFF00010000000000000001000000000000000100000001801D80000000000000FFFFFFFF00010000000000000001000000000000000100000001800000000000000000FFFFFFFF00000000000000000001000000000000000100000001801A80000000000000FFFFFFFF00010000000000000001000000000000000100000001801B80000000000000FFFFFFFF0001000000000000000100000000000000010000000180E57F000000000000FFFFFFFF00010000000000000001000000000000000100000001801C80000000000000FFFFFFFF00010000000000000001000000000000000100000001800000000000000000FFFFFFFF00000000000000000001000000000000000100000001800089000000000000FFFFFFFF00010000000000000001000000000000000100000001800000000000000000FFFFFFFF0000000000000000000100000000000000010000000180E48B000000000000FFFFFFFF0001000000000000000100000000000000010000000180F07F000000000000FFFFFFFF0001000000000000000100000000000000010000000180E888000000000000FFFFFFFF00010000000000000001000000000000000100000001803B01000000000000FFFFFFFF0001000000000000000100000000000000010000000180BB8A000000000000FFFFFFFF0001000000000000000100000000000000010000000180D88B000000000000FFFFFFFF0001000000000000000100000000000000010000000180D28B000000000000FFFFFFFF00010000000000000001000000000000000100000001809307000000000000FFFFFFFF0001000000000000000100000000000000010000000180658A000000000000FFFFFFFF0001000000000000000100000000000000010000000180C18A000000000000FFFFFFFF0001000000000000000100000000000000010000000180EE8B000000000000FFFFFFFF00010000000000000001000000000000000100000001800000000000000000FFFFFFFF00000000000000000001000000000000000100000001800189000000000000FFFFFFFF000100000000000000010000000000000001000000
-
-
- 898
- 1900FFFF01001100434D4643546F6F6C426172427574746F6ECC880000000000000000000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000018017800000000000000100000000000000000000000000000000010000000100000001801D800000000000000200000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001801A800000000000000300000000000000000000000000000000010000000100000001801B80000000000000040000000000000000000000000000000001000000010000000180E57F0000000000000500000000000000000000000000000000010000000100000001801C800000000000000600000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000018000890000000000000700000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180E48B000000000000080000000000000000000000000000000001000000010000000180F07F000000000000090000000000000000000000000000000001000000010000000180E8880000000000000A00000000000000000000000000000000010000000100000001803B010000000000000B0000000000000000000000000000000001000000010000000180BB8A0000000000000C0000000000000000000000000000000001000000010000000180D88B0000000000000D0000000000000000000000000000000001000000010000000180D28B0000000000000E000000000000000000000000000000000100000001000000018093070000000000000F0000000000000000000000000000000001000000010000000180658A000000000000100000000000000000000000000000000001000000010000000180C18A000000000000110000000000000000000000000000000001000000010000000180EE8B0000000000001200000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180018900000000000013000000000000000000000000000000000100000001000000
-
-
-
- 0
- 1280
- 1024
-
-
-
-
-
-
- D:\project\relay_controller\STC11.h
- 0
- 28
- 46
-
-
-
-
- 1
- 0
-
- 100
- 0
-
- .\main.c
- 0
- 40
- 132
- 1
-
- 0
-
-
- .\STARTUP.A51
- 0
- 1
- 1
- 1
-
- 0
-
-
- STC11.h
- 28
- 28
- 46
- 1
-
- 0
-
-
-
-
-
diff --git a/nuvoton/m451/roboticarm_controller/Listings/roboticarm_controller.map b/nuvoton/m451/roboticarm_controller/Listings/roboticarm_controller.map
index d08d5fa..b8124f4 100644
--- a/nuvoton/m451/roboticarm_controller/Listings/roboticarm_controller.map
+++ b/nuvoton/m451/roboticarm_controller/Listings/roboticarm_controller.map
@@ -552,16 +552,16 @@ Image Symbol Table
../fplib/fpinit.s 0x00000000 Number 0 fpinit.o ABSOLUTE
24l01.c 0x00000000 Number 0 24l01.o ABSOLUTE
24l01.c 0x00000000 Number 0 24l01.o ABSOLUTE
- D:\\programs\\mdk\\ARM\\PACK\\Nuvoton\\NuMicro_DFP\\1.2.0\\Device\\M451\\Driver\\clk.c 0x00000000 Number 0 clk.o ABSOLUTE
- D:\\programs\\mdk\\ARM\\PACK\\Nuvoton\\NuMicro_DFP\\1.2.0\\Device\\M451\\Driver\\gpio.c 0x00000000 Number 0 gpio.o ABSOLUTE
- D:\\programs\\mdk\\ARM\\PACK\\Nuvoton\\NuMicro_DFP\\1.2.0\\Device\\M451\\Driver\\pwm.c 0x00000000 Number 0 pwm.o ABSOLUTE
- D:\\programs\\mdk\\ARM\\PACK\\Nuvoton\\NuMicro_DFP\\1.2.0\\Device\\M451\\Driver\\spi.c 0x00000000 Number 0 spi.o ABSOLUTE
- D:\\programs\\mdk\\ARM\\PACK\\Nuvoton\\NuMicro_DFP\\1.2.0\\Device\\M451\\Driver\\sys.c 0x00000000 Number 0 sys.o ABSOLUTE
- D:\programs\mdk\ARM\PACK\Nuvoton\NuMicro_DFP\1.2.0\Device\M451\Driver\clk.c 0x00000000 Number 0 clk.o ABSOLUTE
- D:\programs\mdk\ARM\PACK\Nuvoton\NuMicro_DFP\1.2.0\Device\M451\Driver\gpio.c 0x00000000 Number 0 gpio.o ABSOLUTE
- D:\programs\mdk\ARM\PACK\Nuvoton\NuMicro_DFP\1.2.0\Device\M451\Driver\pwm.c 0x00000000 Number 0 pwm.o ABSOLUTE
- D:\programs\mdk\ARM\PACK\Nuvoton\NuMicro_DFP\1.2.0\Device\M451\Driver\spi.c 0x00000000 Number 0 spi.o ABSOLUTE
- D:\programs\mdk\ARM\PACK\Nuvoton\NuMicro_DFP\1.2.0\Device\M451\Driver\sys.c 0x00000000 Number 0 sys.o ABSOLUTE
+ D:\\keil_arm_pack\\Nuvoton\\NuMicro_DFP\\1.2.0\\Device\\M451\\Driver\\clk.c 0x00000000 Number 0 clk.o ABSOLUTE
+ D:\\keil_arm_pack\\Nuvoton\\NuMicro_DFP\\1.2.0\\Device\\M451\\Driver\\gpio.c 0x00000000 Number 0 gpio.o ABSOLUTE
+ D:\\keil_arm_pack\\Nuvoton\\NuMicro_DFP\\1.2.0\\Device\\M451\\Driver\\pwm.c 0x00000000 Number 0 pwm.o ABSOLUTE
+ D:\\keil_arm_pack\\Nuvoton\\NuMicro_DFP\\1.2.0\\Device\\M451\\Driver\\spi.c 0x00000000 Number 0 spi.o ABSOLUTE
+ D:\\keil_arm_pack\\Nuvoton\\NuMicro_DFP\\1.2.0\\Device\\M451\\Driver\\sys.c 0x00000000 Number 0 sys.o ABSOLUTE
+ D:\keil_arm_pack\Nuvoton\NuMicro_DFP\1.2.0\Device\M451\Driver\clk.c 0x00000000 Number 0 clk.o ABSOLUTE
+ D:\keil_arm_pack\Nuvoton\NuMicro_DFP\1.2.0\Device\M451\Driver\gpio.c 0x00000000 Number 0 gpio.o ABSOLUTE
+ D:\keil_arm_pack\Nuvoton\NuMicro_DFP\1.2.0\Device\M451\Driver\pwm.c 0x00000000 Number 0 pwm.o ABSOLUTE
+ D:\keil_arm_pack\Nuvoton\NuMicro_DFP\1.2.0\Device\M451\Driver\spi.c 0x00000000 Number 0 spi.o ABSOLUTE
+ D:\keil_arm_pack\Nuvoton\NuMicro_DFP\1.2.0\Device\M451\Driver\sys.c 0x00000000 Number 0 sys.o ABSOLUTE
RTE\Device\M453VG6AE\retarget.c 0x00000000 Number 0 retarget.o ABSOLUTE
RTE\Device\M453VG6AE\startup_M451Series.s 0x00000000 Number 0 startup_m451series.o ABSOLUTE
RTE\Device\M453VG6AE\system_M451Series.c 0x00000000 Number 0 system_m451series.o ABSOLUTE
@@ -679,27 +679,27 @@ Image Symbol Table
i.SystemCoreClockUpdate 0x0000130c Section 0 system_m451series.o(i.SystemCoreClockUpdate)
i.SystemInit 0x00001370 Section 0 system_m451series.o(i.SystemInit)
i.__NVIC_EnableIRQ 0x000013e4 Section 0 main.o(i.__NVIC_EnableIRQ)
- __NVIC_EnableIRQ 0x000013e5 Thumb Code 26 main.o(i.__NVIC_EnableIRQ)
- i._is_digit 0x000013fe Section 0 __printf_wp.o(i._is_digit)
- i.delayAny 0x0000140c Section 0 spi_hal.o(i.delayAny)
- i.delay_s 0x0000141a Section 0 24l01.o(i.delay_s)
- i.ferror 0x00001428 Section 0 retarget.o(i.ferror)
- i.fputc 0x00001430 Section 0 retarget.o(i.fputc)
- i.main 0x00001440 Section 0 main.o(i.main)
- i.nrf_read 0x0000147c Section 0 spi_hal.o(i.nrf_read)
- i.nrf_write 0x00001498 Section 0 spi_hal.o(i.nrf_write)
- i.nrf_writebuf 0x000014b6 Section 0 spi_hal.o(i.nrf_writebuf)
- i.spi_disable 0x000014e4 Section 0 spi_hal.o(i.spi_disable)
- i.spi_enable 0x000014f8 Section 0 spi_hal.o(i.spi_enable)
- i.spi_read 0x0000150c Section 0 spi_hal.o(i.spi_read)
- i.spi_send 0x0000152c Section 0 spi_hal.o(i.spi_send)
- i.stackDump 0x0000154c Section 0 retarget.o(i.stackDump)
- stackDump 0x0000154d Thumb Code 70 retarget.o(i.stackDump)
- x$fpl$fpinit 0x000015f4 Section 10 fpinit.o(x$fpl$fpinit)
- $v0 0x000015f4 Number 0 fpinit.o(x$fpl$fpinit)
- .constdata 0x000015fe Section 40 _printf_hex_int.o(.constdata)
- uc_hextab 0x000015fe Data 20 _printf_hex_int.o(.constdata)
- lc_hextab 0x00001612 Data 20 _printf_hex_int.o(.constdata)
+ __NVIC_EnableIRQ 0x000013e5 Thumb Code 34 main.o(i.__NVIC_EnableIRQ)
+ i._is_digit 0x00001406 Section 0 __printf_wp.o(i._is_digit)
+ i.delayAny 0x00001414 Section 0 spi_hal.o(i.delayAny)
+ i.delay_s 0x00001422 Section 0 24l01.o(i.delay_s)
+ i.ferror 0x00001430 Section 0 retarget.o(i.ferror)
+ i.fputc 0x00001438 Section 0 retarget.o(i.fputc)
+ i.main 0x00001448 Section 0 main.o(i.main)
+ i.nrf_read 0x00001484 Section 0 spi_hal.o(i.nrf_read)
+ i.nrf_write 0x000014a0 Section 0 spi_hal.o(i.nrf_write)
+ i.nrf_writebuf 0x000014be Section 0 spi_hal.o(i.nrf_writebuf)
+ i.spi_disable 0x000014ec Section 0 spi_hal.o(i.spi_disable)
+ i.spi_enable 0x00001500 Section 0 spi_hal.o(i.spi_enable)
+ i.spi_read 0x00001514 Section 0 spi_hal.o(i.spi_read)
+ i.spi_send 0x00001534 Section 0 spi_hal.o(i.spi_send)
+ i.stackDump 0x00001554 Section 0 retarget.o(i.stackDump)
+ stackDump 0x00001555 Thumb Code 70 retarget.o(i.stackDump)
+ x$fpl$fpinit 0x000015fc Section 10 fpinit.o(x$fpl$fpinit)
+ $v0 0x000015fc Number 0 fpinit.o(x$fpl$fpinit)
+ .constdata 0x00001606 Section 40 _printf_hex_int.o(.constdata)
+ uc_hextab 0x00001606 Data 20 _printf_hex_int.o(.constdata)
+ lc_hextab 0x0000161a Data 20 _printf_hex_int.o(.constdata)
.data 0x20000000 Section 12 main.o(.data)
.data 0x2000000c Section 21 24l01.o(.data)
ifinit 0x20000020 Data 1 24l01.o(.data)
@@ -923,24 +923,24 @@ Image Symbol Table
Spi_init 0x00001269 Thumb Code 138 spi_hal.o(i.Spi_init)
SystemCoreClockUpdate 0x0000130d Thumb Code 74 system_m451series.o(i.SystemCoreClockUpdate)
SystemInit 0x00001371 Thumb Code 104 system_m451series.o(i.SystemInit)
- _is_digit 0x000013ff Thumb Code 14 __printf_wp.o(i._is_digit)
- delayAny 0x0000140d Thumb Code 14 spi_hal.o(i.delayAny)
- delay_s 0x0000141b Thumb Code 14 24l01.o(i.delay_s)
- ferror 0x00001429 Thumb Code 8 retarget.o(i.ferror)
- fputc 0x00001431 Thumb Code 16 retarget.o(i.fputc)
- main 0x00001441 Thumb Code 56 main.o(i.main)
- nrf_read 0x0000147d Thumb Code 28 spi_hal.o(i.nrf_read)
- nrf_write 0x00001499 Thumb Code 30 spi_hal.o(i.nrf_write)
- nrf_writebuf 0x000014b7 Thumb Code 46 spi_hal.o(i.nrf_writebuf)
- spi_disable 0x000014e5 Thumb Code 14 spi_hal.o(i.spi_disable)
- spi_enable 0x000014f9 Thumb Code 14 spi_hal.o(i.spi_enable)
- spi_read 0x0000150d Thumb Code 28 spi_hal.o(i.spi_read)
- spi_send 0x0000152d Thumb Code 28 spi_hal.o(i.spi_send)
- _fp_init 0x000015f5 Thumb Code 10 fpinit.o(x$fpl$fpinit)
- __fplib_config_fpu_vfp 0x000015fd Thumb Code 0 fpinit.o(x$fpl$fpinit)
- __fplib_config_pureend_doubles 0x000015fd Thumb Code 0 fpinit.o(x$fpl$fpinit)
- Region$$Table$$Base 0x00001628 Number 0 anon$$obj.o(Region$$Table)
- Region$$Table$$Limit 0x00001648 Number 0 anon$$obj.o(Region$$Table)
+ _is_digit 0x00001407 Thumb Code 14 __printf_wp.o(i._is_digit)
+ delayAny 0x00001415 Thumb Code 14 spi_hal.o(i.delayAny)
+ delay_s 0x00001423 Thumb Code 14 24l01.o(i.delay_s)
+ ferror 0x00001431 Thumb Code 8 retarget.o(i.ferror)
+ fputc 0x00001439 Thumb Code 16 retarget.o(i.fputc)
+ main 0x00001449 Thumb Code 56 main.o(i.main)
+ nrf_read 0x00001485 Thumb Code 28 spi_hal.o(i.nrf_read)
+ nrf_write 0x000014a1 Thumb Code 30 spi_hal.o(i.nrf_write)
+ nrf_writebuf 0x000014bf Thumb Code 46 spi_hal.o(i.nrf_writebuf)
+ spi_disable 0x000014ed Thumb Code 14 spi_hal.o(i.spi_disable)
+ spi_enable 0x00001501 Thumb Code 14 spi_hal.o(i.spi_enable)
+ spi_read 0x00001515 Thumb Code 28 spi_hal.o(i.spi_read)
+ spi_send 0x00001535 Thumb Code 28 spi_hal.o(i.spi_send)
+ _fp_init 0x000015fd Thumb Code 10 fpinit.o(x$fpl$fpinit)
+ __fplib_config_fpu_vfp 0x00001605 Thumb Code 0 fpinit.o(x$fpl$fpinit)
+ __fplib_config_pureend_doubles 0x00001605 Thumb Code 0 fpinit.o(x$fpl$fpinit)
+ Region$$Table$$Base 0x00001630 Number 0 anon$$obj.o(Region$$Table)
+ Region$$Table$$Limit 0x00001650 Number 0 anon$$obj.o(Region$$Table)
Axis1 0x20000000 Data 2 main.o(.data)
Axis2 0x20000002 Data 2 main.o(.data)
Axis3 0x20000004 Data 2 main.o(.data)
@@ -972,9 +972,9 @@ Memory Map of the image
Image Entry point : 0x00000141
- Load Region LR_IROM1 (Base: 0x00000000, Size: 0x000016a0, Max: 0x00040000, ABSOLUTE)
+ Load Region LR_IROM1 (Base: 0x00000000, Size: 0x000016a8, Max: 0x00040000, ABSOLUTE)
- Execution Region ER_IROM1 (Exec base: 0x00000000, Load base: 0x00000000, Size: 0x00001648, Max: 0x00040000, ABSOLUTE)
+ Execution Region ER_IROM1 (Exec base: 0x00000000, Load base: 0x00000000, Size: 0x00001650, Max: 0x00040000, ABSOLUTE)
Exec Addr Load Addr Size Type Attr Idx E Section Name Object
@@ -1079,36 +1079,36 @@ Memory Map of the image
0x00001268 0x00001268 0x000000a4 Code RO 289 i.Spi_init spi_hal.o
0x0000130c 0x0000130c 0x00000064 Code RO 1395 i.SystemCoreClockUpdate system_m451series.o
0x00001370 0x00001370 0x00000074 Code RO 1396 i.SystemInit system_m451series.o
- 0x000013e4 0x000013e4 0x0000001a Code RO 8 i.__NVIC_EnableIRQ main.o
- 0x000013fe 0x000013fe 0x0000000e Code RO 1474 i._is_digit c_w.l(__printf_wp.o)
- 0x0000140c 0x0000140c 0x0000000e Code RO 290 i.delayAny spi_hal.o
- 0x0000141a 0x0000141a 0x0000000e Code RO 188 i.delay_s 24l01.o
- 0x00001428 0x00001428 0x00000008 Code RO 1278 i.ferror retarget.o
- 0x00001430 0x00001430 0x00000010 Code RO 1280 i.fputc retarget.o
- 0x00001440 0x00001440 0x0000003c Code RO 10 i.main main.o
- 0x0000147c 0x0000147c 0x0000001c Code RO 291 i.nrf_read spi_hal.o
- 0x00001498 0x00001498 0x0000001e Code RO 293 i.nrf_write spi_hal.o
- 0x000014b6 0x000014b6 0x0000002e Code RO 294 i.nrf_writebuf spi_hal.o
- 0x000014e4 0x000014e4 0x00000014 Code RO 295 i.spi_disable spi_hal.o
- 0x000014f8 0x000014f8 0x00000014 Code RO 296 i.spi_enable spi_hal.o
- 0x0000150c 0x0000150c 0x00000020 Code RO 297 i.spi_read spi_hal.o
- 0x0000152c 0x0000152c 0x00000020 Code RO 298 i.spi_send spi_hal.o
- 0x0000154c 0x0000154c 0x000000a8 Code RO 1282 i.stackDump retarget.o
- 0x000015f4 0x000015f4 0x0000000a Code RO 1586 x$fpl$fpinit fz_wm.l(fpinit.o)
- 0x000015fe 0x000015fe 0x00000028 Data RO 1447 .constdata c_w.l(_printf_hex_int.o)
- 0x00001626 0x00001626 0x00000002 PAD
- 0x00001628 0x00001628 0x00000020 Data RO 1652 Region$$Table anon$$obj.o
+ 0x000013e4 0x000013e4 0x00000022 Code RO 8 i.__NVIC_EnableIRQ main.o
+ 0x00001406 0x00001406 0x0000000e Code RO 1474 i._is_digit c_w.l(__printf_wp.o)
+ 0x00001414 0x00001414 0x0000000e Code RO 290 i.delayAny spi_hal.o
+ 0x00001422 0x00001422 0x0000000e Code RO 188 i.delay_s 24l01.o
+ 0x00001430 0x00001430 0x00000008 Code RO 1278 i.ferror retarget.o
+ 0x00001438 0x00001438 0x00000010 Code RO 1280 i.fputc retarget.o
+ 0x00001448 0x00001448 0x0000003c Code RO 10 i.main main.o
+ 0x00001484 0x00001484 0x0000001c Code RO 291 i.nrf_read spi_hal.o
+ 0x000014a0 0x000014a0 0x0000001e Code RO 293 i.nrf_write spi_hal.o
+ 0x000014be 0x000014be 0x0000002e Code RO 294 i.nrf_writebuf spi_hal.o
+ 0x000014ec 0x000014ec 0x00000014 Code RO 295 i.spi_disable spi_hal.o
+ 0x00001500 0x00001500 0x00000014 Code RO 296 i.spi_enable spi_hal.o
+ 0x00001514 0x00001514 0x00000020 Code RO 297 i.spi_read spi_hal.o
+ 0x00001534 0x00001534 0x00000020 Code RO 298 i.spi_send spi_hal.o
+ 0x00001554 0x00001554 0x000000a8 Code RO 1282 i.stackDump retarget.o
+ 0x000015fc 0x000015fc 0x0000000a Code RO 1586 x$fpl$fpinit fz_wm.l(fpinit.o)
+ 0x00001606 0x00001606 0x00000028 Data RO 1447 .constdata c_w.l(_printf_hex_int.o)
+ 0x0000162e 0x0000162e 0x00000002 PAD
+ 0x00001630 0x00001630 0x00000020 Data RO 1652 Region$$Table anon$$obj.o
- Execution Region RW_IRAM1 (Exec base: 0x20000000, Load base: 0x00001648, Size: 0x000004f8, Max: 0x00008000, ABSOLUTE)
+ Execution Region RW_IRAM1 (Exec base: 0x20000000, Load base: 0x00001650, Size: 0x000004f8, Max: 0x00008000, ABSOLUTE)
Exec Addr Load Addr Size Type Attr Idx E Section Name Object
- 0x20000000 0x00001648 0x0000000c Data RW 11 .data main.o
- 0x2000000c 0x00001654 0x00000015 Data RW 190 .data 24l01.o
- 0x20000021 0x00001669 0x00000003 PAD
- 0x20000024 0x0000166c 0x00000008 Data RW 1283 .data retarget.o
- 0x2000002c 0x00001674 0x0000002c Data RW 1397 .data system_m451series.o
+ 0x20000000 0x00001650 0x0000000c Data RW 11 .data main.o
+ 0x2000000c 0x0000165c 0x00000015 Data RW 190 .data 24l01.o
+ 0x20000021 0x00001671 0x00000003 PAD
+ 0x20000024 0x00001674 0x00000008 Data RW 1283 .data retarget.o
+ 0x2000002c 0x0000167c 0x0000002c Data RW 1397 .data system_m451series.o
0x20000058 - 0x00000040 Zero RW 189 .bss 24l01.o
0x20000098 - 0x00000060 Zero RW 1528 .bss c_w.l(libspace.o)
0x200000f8 - 0x00000000 Zero RW 1385 HEAP startup_m451series.o
@@ -1122,21 +1122,21 @@ Image component sizes
Code (inc. data) RO Data RW Data ZI Data Debug Object Name
- 544 58 0 21 64 5758 24l01.o
- 144 10 0 0 0 16279 clk.o
- 44 0 0 0 0 1223 gpio.o
- 368 40 0 0 0 1144 interrupt.o
- 666 58 0 12 0 239075 main.o
- 532 30 0 0 0 5564 pwm.o
- 324 132 0 8 0 5801 retarget.o
- 782 42 0 0 0 3315 spi.o
- 386 46 0 0 0 4745 spi_hal.o
- 116 36 320 0 1024 936 startup_m451series.o
- 48 0 0 0 0 574 sys.o
- 316 54 0 44 0 33267 system_m451series.o
+ 544 58 0 21 64 5882 24l01.o
+ 144 10 0 0 0 16215 clk.o
+ 44 0 0 0 0 1183 gpio.o
+ 368 40 0 0 0 1168 interrupt.o
+ 674 58 0 12 0 209316 main.o
+ 532 30 0 0 0 5428 pwm.o
+ 324 132 0 8 0 5893 retarget.o
+ 782 42 0 0 0 3243 spi.o
+ 386 46 0 0 0 4865 spi_hal.o
+ 116 36 320 0 1024 948 startup_m451series.o
+ 48 0 0 0 0 558 sys.o
+ 316 54 0 44 0 33295 system_m451series.o
----------------------------------------------------------------------
- 4276 506 352 88 1088 317681 Object Totals
+ 4284 506 352 88 1088 287994 Object Totals
0 0 32 0 0 0 (incl. Generated)
6 0 0 3 0 0 (incl. Padding)
@@ -1197,15 +1197,15 @@ Image component sizes
Code (inc. data) RO Data RW Data ZI Data Debug
- 5310 540 394 88 1184 314181 Grand Totals
- 5310 540 394 88 1184 314181 ELF Image Totals
- 5310 540 394 88 0 0 ROM Totals
+ 5318 540 394 88 1184 284494 Grand Totals
+ 5318 540 394 88 1184 284494 ELF Image Totals
+ 5318 540 394 88 0 0 ROM Totals
==============================================================================
- Total RO Size (Code + RO Data) 5704 ( 5.57kB)
+ Total RO Size (Code + RO Data) 5712 ( 5.58kB)
Total RW Size (RW Data + ZI Data) 1272 ( 1.24kB)
- Total ROM Size (Code + RO Data + RW Data) 5792 ( 5.66kB)
+ Total ROM Size (Code + RO Data + RW Data) 5800 ( 5.66kB)
==============================================================================
diff --git a/nuvoton/m451/roboticarm_controller/Objects/roboticarm_controller.axf b/nuvoton/m451/roboticarm_controller/Objects/roboticarm_controller.axf
index 2dc36db..4873cf6 100644
Binary files a/nuvoton/m451/roboticarm_controller/Objects/roboticarm_controller.axf and b/nuvoton/m451/roboticarm_controller/Objects/roboticarm_controller.axf differ
diff --git a/nuvoton/m451/roboticarm_controller/Objects/roboticarm_controller.lnp b/nuvoton/m451/roboticarm_controller/Objects/roboticarm_controller.lnp
index 910aa18..07c0128 100644
--- a/nuvoton/m451/roboticarm_controller/Objects/roboticarm_controller.lnp
+++ b/nuvoton/m451/roboticarm_controller/Objects/roboticarm_controller.lnp
@@ -1,4 +1,4 @@
---cpu=Cortex-M4.fp
+--cpu=Cortex-M4.fp.sp
".\objects\main.o"
".\objects\24l01.o"
".\objects\spi_hal.o"
diff --git a/nuvoton/m451/roboticarm_controller/Objects/roboticarm_controller.sct b/nuvoton/m451/roboticarm_controller/Objects/roboticarm_controller.sct
index 9af005d..038c20a 100644
--- a/nuvoton/m451/roboticarm_controller/Objects/roboticarm_controller.sct
+++ b/nuvoton/m451/roboticarm_controller/Objects/roboticarm_controller.sct
@@ -7,6 +7,7 @@ LR_IROM1 0x00000000 0x00040000 { ; load region size_region
*.o (RESET, +First)
*(InRoot$$Sections)
.ANY (+RO)
+ .ANY (+XO)
}
RW_IRAM1 0x20000000 0x00008000 { ; RW data
.ANY (+RW +ZI)
diff --git a/nuvoton/m451/roboticarm_controller/Objects/roboticarm_controller_sct.Bak b/nuvoton/m451/roboticarm_controller/Objects/roboticarm_controller_sct.Bak
new file mode 100644
index 0000000..9af005d
--- /dev/null
+++ b/nuvoton/m451/roboticarm_controller/Objects/roboticarm_controller_sct.Bak
@@ -0,0 +1,15 @@
+; *************************************************************
+; *** Scatter-Loading Description File generated by uVision ***
+; *************************************************************
+
+LR_IROM1 0x00000000 0x00040000 { ; load region size_region
+ ER_IROM1 0x00000000 0x00040000 { ; load address = execution address
+ *.o (RESET, +First)
+ *(InRoot$$Sections)
+ .ANY (+RO)
+ }
+ RW_IRAM1 0x20000000 0x00008000 { ; RW data
+ .ANY (+RW +ZI)
+ }
+}
+
diff --git a/nuvoton/m451/roboticarm_controller/RTE/_Target_1/RTE_Components.h b/nuvoton/m451/roboticarm_controller/RTE/_Target_1/RTE_Components.h
index d082d1e..753f51d 100644
--- a/nuvoton/m451/roboticarm_controller/RTE/_Target_1/RTE_Components.h
+++ b/nuvoton/m451/roboticarm_controller/RTE/_Target_1/RTE_Components.h
@@ -1,6 +1,6 @@
/*
- * Auto generated Run-Time-Environment Component Configuration File
+ * Auto generated Run-Time-Environment Configuration File
* *** Do not modify ! ***
*
* Project: 'roboticarm_controller'
@@ -16,10 +16,16 @@
*/
#define CMSIS_device_header "M451Series.h"
+/* Nuvoton::Device:Driver:CLK:3.01.001 */
#define RTE_Drivers_CLK /* Driver CLK */
+/* Nuvoton::Device:Driver:GPIO:3.01.001 */
#define RTE_Drivers_GPIO /* Driver GPIO */
+/* Nuvoton::Device:Driver:PWM:3.01.001 */
#define RTE_Drivers_PWM /* Driver PWM */
+/* Nuvoton::Device:Driver:SPI:3.01.001 */
#define RTE_Drivers_SPI /* Driver SPI */
+/* Nuvoton::Device:Driver:SYS:3.01.001 */
#define RTE_Drivers_SYS /* Driver SYS */
+
#endif /* RTE_COMPONENTS_H */
diff --git a/nuvoton/m451/roboticarm_controller/roboticarm_controller.uvoptx b/nuvoton/m451/roboticarm_controller/roboticarm_controller.uvoptx
index 09842b3..60f38fe 100644
--- a/nuvoton/m451/roboticarm_controller/roboticarm_controller.uvoptx
+++ b/nuvoton/m451/roboticarm_controller/roboticarm_controller.uvoptx
@@ -77,7 +77,7 @@
0
1
- 255
+ 6
0
1
@@ -103,7 +103,7 @@
1
0
0
- 8
+ 7
diff --git a/nuvoton/m451/roboticarm_controller/roboticarm_controller.uvprojx b/nuvoton/m451/roboticarm_controller/roboticarm_controller.uvprojx
index 595839f..9c0643b 100644
--- a/nuvoton/m451/roboticarm_controller/roboticarm_controller.uvprojx
+++ b/nuvoton/m451/roboticarm_controller/roboticarm_controller.uvprojx
@@ -184,6 +184,7 @@
0
0
2
+ 0
0
0
8