HardwareDriver/c51/relay_controller/relay.M51

463 lines
17 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

BL51 BANKED LINKER/LOCATER V6.22 02/03/2020 01:33:59 PAGE 1
BL51 BANKED LINKER/LOCATER V6.22, INVOKED BY:
D:\PROGRAMS\C51\C51\BIN\BL51.EXE STARTUP.obj, main.obj TO relay RAMSIZE (256)
MEMORY MODEL: SMALL
INPUT MODULES INCLUDED:
STARTUP.obj (?C_STARTUP)
main.obj (MAIN)
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)
TYPE BASE LENGTH RELOCATION SEGMENT NAME
-----------------------------------------------------
* * * * * * * D A T A M E M O R Y * * * * * * *
REG 0000H 0008H ABSOLUTE "REG BANK 0"
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 0030H UNIT ?DT?MAIN
IDATA 0051H 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 00B0H UNIT ?PR?UART_ISR?MAIN
CODE 08B0H 008CH UNIT ?C_C51STARTUP
CODE 093CH 0063H UNIT ?PR?MAIN?MAIN
CODE 099FH 0058H UNIT ?CO?MAIN
CODE 09F7H 0045H UNIT ?C?LIB_CODE
CODE 0A3CH 0034H UNIT ?C_INITSEG
CODE 0A70H 0031H UNIT ?PR?CALLBACKUART?MAIN
CODE 0AA1H 0026H UNIT ?PR?_SENDSTRING?MAIN
CODE 0AC7H 0024H UNIT ?PR?_SENDBUFFER?MAIN
CODE 0AEBH 001DH UNIT ?PR?UART_INIT?MAIN
CODE 0B08H 001BH UNIT ?PR?_SENDWIFI?MAIN
CODE 0B23H 0013H UNIT ?PR?_SENDDATA?MAIN
CODE 0B36H 000FH UNIT ?PR?DELAY3020MS?MAIN
CODE 0B45H 000FH UNIT ?PR?DELAY500MS?MAIN
CODE 0B54H 0009H UNIT ?PR?DELAY1020US?MAIN
CODE 0B5DH 0007H UNIT ?PR?P1_UART?MAIN
CODE 0B64H 0004H UNIT ?PR?P3_UART?MAIN
OVERLAY MAP OF MODULE: relay (?C_STARTUP)
BL51 BANKED LINKER/LOCATER V6.22 02/03/2020 01:33:59 PAGE 2
SEGMENT BIT_GROUP DATA_GROUP
+--> CALLED SEGMENT START LENGTH START LENGTH
------------------------------------------------------------------
?C_C51STARTUP ----- ----- ----- -----
+--> ?PR?MAIN?MAIN
+--> ?C_INITSEG
?PR?MAIN?MAIN 0020H.6 0000H.2 ----- -----
+--> ?PR?DELAY3020MS?MAIN
+--> ?PR?UART_INIT?MAIN
+--> ?PR?P1_UART?MAIN
+--> ?PR?DELAY1020US?MAIN
+--> ?CO?MAIN
+--> ?PR?_SENDSTRING?MAIN
+--> ?PR?CALLBACKUART?MAIN
?PR?_SENDSTRING?MAIN ----- ----- 000BH 0003H
+--> ?PR?DELAY1020US?MAIN
+--> ?PR?_SENDDATA?MAIN
?PR?CALLBACKUART?MAIN ----- ----- ----- -----
+--> ?PR?P3_UART?MAIN
+--> ?PR?_SENDBUFFER?MAIN
+--> ?PR?P1_UART?MAIN
?PR?_SENDBUFFER?MAIN ----- ----- 000BH 0003H
+--> ?PR?DELAY1020US?MAIN
+--> ?PR?_SENDDATA?MAIN
*** NEW ROOT ***************************************************
?PR?UART_ISR?MAIN ----- ----- ----- -----
+--> ?CO?MAIN
SYMBOL TABLE OF MODULE: relay (?C_STARTUP)
VALUE TYPE NAME
----------------------------------
------- MODULE ?C_STARTUP
C:08B0H SEGMENT ?C_C51STARTUP
I:0051H SEGMENT ?STACK
C:0000H PUBLIC ?C_STARTUP
D:00E0H SYMBOL ACC
D:00F0H SYMBOL B
D:0083H SYMBOL DPH
D:0082H SYMBOL DPL
N:0000H SYMBOL IBPSTACK
N:0100H SYMBOL IBPSTACKTOP
N:0080H SYMBOL IDATALEN
C:08B3H SYMBOL IDATALOOP
N:0000H SYMBOL PBPSTACK
N:0100H SYMBOL PBPSTACKTOP
N:0000H SYMBOL PDATALEN
BL51 BANKED LINKER/LOCATER V6.22 02/03/2020 01:33:59 PAGE 3
N:0000H SYMBOL PDATASTART
N:0000H SYMBOL PPAGE
N:0000H SYMBOL PPAGEENABLE
D:00A0H SYMBOL PPAGE_SFR
D:0081H SYMBOL SP
C:08B0H SYMBOL STARTUP1
N:0000H SYMBOL XBPSTACK
N:0000H SYMBOL XBPSTACKTOP
N:0000H SYMBOL XDATALEN
N:0000H SYMBOL XDATASTART
C:0000H LINE# 126
C:08B0H LINE# 133
C:08B2H LINE# 134
C:08B3H LINE# 135
C:08B4H LINE# 136
C:08B6H LINE# 185
C:08B9H LINE# 196
------- ENDMOD ?C_STARTUP
------- MODULE MAIN
C:0000H SYMBOL _ICE_DUMMY_
C:09E8H PUBLIC AT_SendData
D:0092H PUBLIC P1M0
C:0B5DH PUBLIC P1_Uart
D:0091H PUBLIC P1M1
D:0080H PUBLIC P0
D:0090H PUBLIC P1
C:0B64H 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:0AA1H PUBLIC _SendString
C:0B29H PUBLIC _SendData
D:00A8H PUBLIC IE
C:0AEBH PUBLIC Uart_Init
B:00A8H.4 PUBLIC ES
D:00B8H PUBLIC IP
C:0B36H PUBLIC Delay3020ms
D:0023H PUBLIC index
B:0098H.0 PUBLIC RI
B:0098H.1 PUBLIC TI
C:0B08H PUBLIC _SendWifi
C:0B54H PUBLIC Delay1020us
D:00D8H PUBLIC CCON
C:093CH PUBLIC main
C:0800H PUBLIC Uart_Isr
D:0099H PUBLIC SBUF
D:0087H PUBLIC PCON
D:0024H PUBLIC gSendbuf
D:0098H PUBLIC SCON
D:0089H PUBLIC TMOD
D:0088H PUBLIC TCON
B:0020H.3 PUBLIC connected_flag
D:008EH PUBLIC AUXR
BL51 BANKED LINKER/LOCATER V6.22 02/03/2020 01:33:59 PAGE 4
C:09BFH PUBLIC AT_Connect
B:0020H.4 PUBLIC busy
D:00E0H PUBLIC ACC
B:00A8H.3 PUBLIC ET1
D:008DH PUBLIC TH1
D:0032H PUBLIC index_tmp
C:0A70H PUBLIC callbackUart
D:0033H PUBLIC recv_buf
D:008BH PUBLIC TL1
B:0088H.6 PUBLIC TR1
B:0098H.4 PUBLIC REN
C:0B45H PUBLIC Delay500ms
C:09A1H PUBLIC AT_SetUp
C:0AC7H PUBLIC _SendBuffer
D:00A2H PUBLIC AUXR1
B:0020H.5 PUBLIC overflow_flag
D:00D0H PUBLIC PSW
------- PROC P1_UART
C:0B5DH LINE# 50
C:0B5DH LINE# 51
C:0B60H LINE# 52
C:0B63H LINE# 53
------- ENDPROC P1_UART
------- PROC P3_UART
C:0B64H LINE# 54
C:0B64H LINE# 55
C:0B67H LINE# 56
------- ENDPROC P3_UART
------- PROC DELAY3020MS
------- DO
D:0007H SYMBOL i
D:0006H SYMBOL j
D:0005H SYMBOL k
------- ENDDO
C:0B36H LINE# 57
C:0B36H LINE# 58
C:0B36H LINE# 61
C:0B37H LINE# 62
C:0B38H LINE# 63
C:0B3AH LINE# 64
C:0B3CH LINE# 65
C:0B3EH LINE# 67
C:0B3EH LINE# 69
C:0B3EH LINE# 70
C:0B40H LINE# 71
C:0B42H LINE# 72
C:0B44H LINE# 73
------- ENDPROC DELAY3020MS
------- PROC DELAY500MS
------- DO
D:0007H SYMBOL i
D:0006H SYMBOL j
D:0005H SYMBOL k
------- ENDDO
C:0B45H LINE# 74
C:0B45H LINE# 75
C:0B45H LINE# 78
BL51 BANKED LINKER/LOCATER V6.22 02/03/2020 01:33:59 PAGE 5
C:0B46H LINE# 79
C:0B47H LINE# 80
C:0B49H LINE# 81
C:0B4BH LINE# 82
C:0B4DH LINE# 84
C:0B4DH LINE# 86
C:0B4DH LINE# 87
C:0B4FH LINE# 88
C:0B51H LINE# 89
C:0B53H LINE# 90
------- ENDPROC DELAY500MS
------- PROC DELAY1020US
------- DO
D:0007H SYMBOL i
D:0006H SYMBOL j
------- ENDDO
C:0B54H LINE# 92
C:0B54H LINE# 93
C:0B54H LINE# 96
C:0B56H LINE# 97
C:0B58H LINE# 99
C:0B58H LINE# 100
C:0B5AH LINE# 101
C:0B5CH LINE# 102
------- ENDPROC DELAY1020US
------- PROC UART_INIT
C:0AEBH LINE# 103
C:0AEBH LINE# 104
C:0AEEH LINE# 105
C:0AF1H LINE# 106
C:0AF4H LINE# 107
C:0AF7H LINE# 108
C:0AFAH LINE# 109
C:0AFDH LINE# 110
C:0B00H LINE# 111
C:0B03H LINE# 112
C:0B05H LINE# 113
C:0B07H LINE# 114
------- ENDPROC UART_INIT
------- PROC CALLBACKUART
C:0A70H LINE# 116
C:0A70H LINE# 117
C:0A76H LINE# 118
C:0A79H LINE# 119
C:0A7CH LINE# 120
C:0A7FH LINE# 121
C:0A8AH LINE# 122
C:0A99H LINE# 123
C:0A9BH LINE# 124
C:0A9DH LINE# 125
C:0AA0H LINE# 126
C:0AA0H LINE# 127
------- ENDPROC CALLBACKUART
------- PROC MAIN
------- DO
D:0007H SYMBOL i
B:0020H.6 SYMBOL flag1
BL51 BANKED LINKER/LOCATER V6.22 02/03/2020 01:33:59 PAGE 6
B:0020H.7 SYMBOL flag2
------- ENDDO
C:093CH LINE# 128
C:093CH LINE# 129
C:093CH LINE# 130
C:093EH LINE# 131
C:0940H LINE# 132
C:0942H LINE# 133
C:0945H LINE# 135
C:0948H LINE# 136
C:094BH LINE# 137
C:094EH LINE# 139
C:0950H LINE# 140
C:0953H LINE# 143
C:0955H LINE# 144
C:0957H LINE# 145
C:0959H LINE# 146
C:095CH LINE# 147
C:095FH LINE# 150
C:0962H LINE# 152
C:0963H LINE# 153
C:096CH LINE# 154
C:0970H LINE# 155
C:0970H LINE# 156
C:0973H LINE# 157
C:0975H LINE# 158
C:097EH LINE# 159
C:0981H LINE# 161
C:0981H LINE# 162
C:0984H LINE# 163
C:098AH LINE# 164
C:098CH LINE# 165
C:0995H LINE# 166
C:0998H LINE# 167
C:099AH LINE# 169
C:099AH LINE# 170
C:099DH LINE# 171
------- ENDPROC MAIN
------- PROC UART_ISR
------- DO
D:0021H SYMBOL last_byte
B:0020H.0 SYMBOL flag_recv
B:0020H.1 SYMBOL flag_need_read
D:0022H SYMBOL recv_cnt
------- ENDDO
C:0800H LINE# 181
C:0809H LINE# 189
C:080FH LINE# 190
C:080FH LINE# 191
C:0811H LINE# 192
C:0824H LINE# 195
C:0824H LINE# 196
C:082BH LINE# 197
C:082DH LINE# 198
C:0830H LINE# 199
C:0833H LINE# 202
C:0833H LINE# 203
BL51 BANKED LINKER/LOCATER V6.22 02/03/2020 01:33:59 PAGE 7
C:0862H LINE# 209
C:0862H LINE# 210
C:0864H LINE# 211
C:0867H LINE# 212
C:0867H LINE# 213
C:086AH LINE# 214
C:0873H LINE# 215
C:0875H LINE# 216
C:0877H LINE# 217
C:087EH LINE# 218
C:0880H LINE# 219
C:0883H LINE# 220
C:0886H LINE# 221
C:0888H LINE# 222
C:0888H LINE# 223
C:0888H LINE# 224
C:088FH LINE# 225
C:0892H LINE# 226
C:0894H LINE# 227
C:089DH LINE# 228
C:08A0H LINE# 229
C:08A2H LINE# 230
C:08A2H LINE# 231
C:08A2H LINE# 232
C:08A5H LINE# 233
C:08A5H LINE# 234
C:08A7H LINE# 235
C:08A9H LINE# 236
C:08A9H LINE# 237
------- ENDPROC UART_ISR
------- PROC L?0063
------- ENDPROC L?0063
------- PROC _SENDDATA
D:0007H SYMBOL dat
C:0B29H LINE# 244
C:0B29H LINE# 245
C:0B29H LINE# 246
C:0B2DH LINE# 247
C:0B2EH LINE# 249
C:0B30H LINE# 250
C:0B32H LINE# 251
C:0B35H LINE# 252
------- ENDPROC _SENDDATA
------- PROC _SENDSTRING
D:000BH SYMBOL s
C:0AA1H LINE# 259
C:0AA7H LINE# 260
C:0AA7H LINE# 261
C:0AB2H LINE# 262
C:0AB2H LINE# 263
C:0AB5H LINE# 264
C:0AC4H LINE# 265
C:0AC6H LINE# 266
------- ENDPROC _SENDSTRING
------- PROC _SENDWIFI
D:0008H SYMBOL dat
C:0B08H LINE# 267
BL51 BANKED LINKER/LOCATER V6.22 02/03/2020 01:33:59 PAGE 8
C:0B0EH LINE# 268
C:0B17H LINE# 269
C:0B1AH LINE# 270
------- ENDPROC _SENDWIFI
------- PROC _SENDBUFFER
D:000BH SYMBOL s
D:0005H SYMBOL len
C:0AC7H LINE# 272
C:0ACDH LINE# 274
C:0AD5H LINE# 275
C:0AD5H LINE# 276
C:0AD8H LINE# 277
C:0AE7H LINE# 278
C:0AE8H LINE# 279
C:0AEAH LINE# 280
------- ENDPROC _SENDBUFFER
------- ENDMOD MAIN
------- MODULE ?C?CLDPTR
C:09F7H PUBLIC ?C?CLDPTR
------- ENDMOD ?C?CLDPTR
------- MODULE ?C?MEMSET
C:0A10H 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: 02A8H BYTE (33%) *
******************************************************************************
Program Size: data=64.0 xdata=0 code=878
LINK/LOCATE RUN COMPLETE. 2 WARNING(S), 0 ERROR(S)