Browse Source

"아모센스에서 수정"

master
JWS 1 month ago
parent
commit
a7c52690c4
  1. BIN
      DefaultBuild/multical.abs
  2. 236
      DefaultBuild/multical.map
  3. 1943
      DefaultBuild/multical.mot
  4. BIN
      DefaultBuild/owi.obj
  5. 100
      QualityReport(multical,DefaultBuild).txt
  6. 88
      multical.MSI.mtud
  7. 14
      owi.c

BIN
DefaultBuild/multical.abs

Binary file not shown.

236
DefaultBuild/multical.map

@ -1,4 +1,4 @@
Renesas Optimizing Linker (W3.07.00 ) 06-Mar-2026 22:08:41
Renesas Optimizing Linker (W3.07.00 ) 09-Mar-2026 19:17:38
*** Options ***
@ -66,11 +66,11 @@ SECTION START END SIZE ALIGN
.text
00000917 00000acb 1b5 1
.textf
00000acc 00002fb3 24e8 1
00000acc 00002f99 24ce 1
.const
00003000 000033d9 3da 2
00003000 000033c3 3c4 2
.SLIB
000033da 00005c8f 28b6 1
000033c4 00005c79 28b6 1
.monitor2
0003fe00 0003ffff 200 1
.bss
@ -85,8 +85,8 @@ SECTION START END SIZE ALIGN
*** Total Section Size ***
RAMDATA SECTION: 00002f29 Byte(s)
ROMDATA SECTION: 00000ec5 Byte(s)
PROGRAM SECTION: 00004f53 Byte(s)
ROMDATA SECTION: 00000eaf Byte(s)
PROGRAM SECTION: 00004f39 Byte(s)
*** Symbol List ***
@ -296,7 +296,7 @@ FILE=DefaultBuild\r_cg_port.obj
_R_PORT_Create
00001f5f 59 func ,g *
FILE=DefaultBuild\owi.obj
00001fb8 000027c8 811
00001fb8 000027ae 7f7
_GPIO_Clear
00001fb8 12 func ,g *
_GPIO_Input
@ -334,225 +334,225 @@ FILE=DefaultBuild\owi.obj
_OWI_WriteByte
0000213d 2a func ,g *
_OWI_ReadBit
00002167 c7 func ,g *
00002167 83 func ,g *
_OWI_ReadByte
0000222e 3b func ,g *
000021ea 3b func ,g *
_OWI_T_ReadBytesAndPrint
00002269 123 func ,g *
00002225 12f func ,g *
_OWI_A_CommandMode
0000238c 283 func ,g *
00002354 295 func ,g *
_OWI_disable
0000260f 15 func ,g *
000025e9 15 func ,g *
_OWI_T_CommandMode
00002624 5d func ,g *
000025fe 5d func ,g *
_OWI_CommandMode
00002681 4d func ,g *
0000265b 4d func ,g *
_OWI_ReadBytesAndPrint
000026ce fb func ,g *
000026a8 107 func ,g *
FILE=DefaultBuild\i2c.obj
000027c9 00002949 181
000027af 0000292f 181
_disable
000027c9 26 func ,g *
000027af 26 func ,g *
_I2C_EnablePower
000027ef 4 func ,g *
000027d5 4 func ,g *
_I2C_DisablePower
000027f3 3 func ,g *
000027d9 3 func ,g *
_I2C_T_Command_Mode_receiveData
000027f6 4d func ,g *
000027dc 4d func ,g *
_I2C_Command_Mode_receiveData
00002843 3e func ,g *
00002829 3e func ,g *
_I2C_Command_Mode_Send
00002881 c9 func ,g *
00002867 c9 func ,g *
FILE=DefaultBuild\uart.obj
0000294a 00002b1f 1d6
00002930 00002b05 1d6
_rs485_recover
0000294a 56 func ,g *
00002930 56 func ,g *
_UART1_WaitTxIdle@1
000029a0 2c func ,l *
00002986 2c func ,l *
_rs485_set_tx
000029cc b func ,g *
000029b2 b func ,g *
_rs485_init
000029d7 c func ,g *
000029bd c func ,g *
_UART0_WaitTxDone_Us
000029e3 2f func ,g *
000029c9 2f func ,g *
_RS485_Send
00002a12 1e func ,g *
000029f8 1e func ,g *
_RS485_SendString
00002a30 11 func ,g *
00002a16 11 func ,g *
_uart_send_string
00002a41 11 func ,g *
00002a27 11 func ,g *
_uart1_send_string
00002a52 40 func ,g *
00002a38 40 func ,g *
_uart_send_hex
00002a92 43 func ,g *
00002a78 43 func ,g *
_uart1_send_hex
00002ad5 4b func ,g *
00002abb 4b func ,g *
FILE=DefaultBuild\delay.obj
00002b20 00002bde bf
00002b06 00002bc4 bf
_delay
00002b20 18 func ,g *
00002b06 18 func ,g *
_delay_us
00002b38 82 func ,g *
00002b1e 82 func ,g *
_delay_ms
00002bba 25 func ,g *
00002ba0 25 func ,g *
FILE=DefaultBuild\dipSwitch.obj
00002bdf 00002bef 11
00002bc5 00002bd5 11
_DipSwitch_Init
00002bdf 8 func ,g *
00002bc5 8 func ,g *
_DipSwitch_ReadAddr_0to31
00002be7 9 func ,g *
00002bcd 9 func ,g *
FILE=DefaultBuild\gatectrl.obj
00002bf0 00002fb3 3c4
00002bd6 00002f99 3c4
_Gate_SetByNum
00002bf0 372 func ,g *
00002bd6 372 func ,g *
_Cal_Init
00002f62 21 func ,g *
00002f48 21 func ,g *
_Eol_Init
00002f83 21 func ,g *
00002f69 21 func ,g *
_GateCtrl_SelectChannel
00002fa4 10 func ,g *
00002f8a 10 func ,g *
SECTION=.const
FILE=DefaultBuild\r_main.obj
00003000 000031dc 1dd
FILE=DefaultBuild\owi.obj
000031de 000032ae d1
000031de 00003298 bb
FILE=DefaultBuild\i2c.obj
000032b0 0000339d ee
0000329a 00003387 ee
FILE=DefaultBuild\gatectrl.obj
0000339e 000033d9 3c
00003388 000033c3 3c
SECTION=.SLIB
FILE=isdigit
000033da 000033e3 a
000033c4 000033cd a
_isdigit
000033da 0 none ,g *
000033c4 0 none ,g *
FILE=memcpy
000033e4 000033f3 10
000033ce 000033dd 10
_memcpy
000033e4 0 none ,g *
000033ce 0 none ,g *
FILE=memset
000033f4 00003401 e
000033de 000033eb e
_memset
000033f4 0 none ,g *
000033de 0 none ,g *
FILE=sprintf
00003402 000034fa f9
000033ec 000034e4 f9
_sprintf
00003402 e1 func ,g *
000033ec e1 func ,g *
__REL_sp@1
000034e3 18 func ,l *
000034cd 18 func ,l *
FILE=strcpy
000034fb 00003507 d
000034e5 000034f1 d
_strcpy
000034fb 0 none ,g *
000034e5 0 none ,g *
FILE=strlen
00003508 00003512 b
000034f2 000034fc b
_strlen
00003508 0 none ,g *
000034f2 0 none ,g *
FILE=toupper
00003513 00003520 e
000034fd 0000350a e
_toupper
00003513 0 none ,g *
000034fd 0 none ,g *
FILE=_REL_print
00003521 00005478 1f58
0000350b 00005462 1f58
__REL_print
00003521 1046 func ,g *
0000350b 1046 func ,g *
__REL_fltprn@1
00004567 941 func ,l *
00004551 941 func ,l *
__REL_henkan1@1
00004ea8 28 func ,l *
00004e92 28 func ,l *
__REL_henkan2@1
00004ed0 33 func ,l *
00004eba 33 func ,l *
__REL_pri@1
00004f03 298 func ,l *
00004eed 298 func ,l *
__REL_fltgeti@1
0000519b 19d func ,l *
00005185 19d func ,l *
__REL_inmod@1
00005338 141 func ,l *
00005322 141 func ,l *
FILE=_COM_fdiv
00005479 000055a6 12e
00005463 00005590 12e
__COM_fdiv
000054d8 0 none ,g *
000054c2 0 none ,g *
FILE=_COM_feq
000055a7 000055bc 16
00005591 000055a6 16
__COM_feq
000055a7 0 none ,g *
00005591 0 none ,g *
FILE=_COM_fge
000055bd 000055d2 16
000055a7 000055bc 16
__COM_fge
000055bd 0 none ,g *
000055a7 0 none ,g *
FILE=_COM_flt
000055d3 000055e8 16
000055bd 000055d2 16
__COM_flt
000055d3 0 none ,g *
000055bd 0 none ,g *
FILE=_COM_fmul
000055e9 000056d5 ed
000055d3 000056bf ed
__COM_fmul
00005634 0 none ,g *
0000561e 0 none ,g *
FILE=_COM_fne
000056d6 000056e6 11
000056c0 000056d0 11
__COM_fne
000056d6 0 none ,g *
000056c0 0 none ,g *
FILE=_COM_ftosl
000056e7 000056ee 8
000056d1 000056d8 8
__COM_ftosl
000056e7 0 none ,g *
000056d1 0 none ,g *
FILE=_COM_sidiv
000056ef 00005710 22
000056d9 000056fa 22
__COM_sidiv
000056f1 0 none ,g *
000056db 0 none ,g *
FILE=_COM_sirem
00005711 00005730 20
000056fb 0000571a 20
__COM_sirem
00005711 0 none ,g *
000056fb 0 none ,g *
FILE=_COM_ulldiv
00005731 0000575a 2a
0000571b 00005744 2a
__COM_ulldiv
00005731 0 none ,g *
0000571b 0 none ,g *
FILE=_COM_ullrem
0000575b 0000578b 31
00005745 00005775 31
__COM_ullrem
0000575b 0 none ,g *
00005745 0 none ,g *
FILE=_REL_f_inf
0000578c 00005793 8
00005776 0000577d 8
__REL_f_inf
0000578c 0 none ,g *
00005776 0 none ,g *
FILE=_REL_f_norm
00005794 000057a3 10
0000577e 0000578d 10
__REL_f_norm
00005794 0 none ,g *
0000577e 0 none ,g *
FILE=_REL_f_round
000057a4 000057b6 13
0000578e 000057a0 13
__REL_f_round
000057a4 0 none ,g *
0000578e 0 none ,g *
FILE=_REL_fcmp
000057b7 000057ee 38
000057a1 000057d8 38
__REL_fcmp
000057b7 0 none ,g *
000057a1 0 none ,g *
FILE=_REL_fordered_core
000057ef 0000580a 1c
000057d9 000057f4 1c
__REL_fordered_core
000057ef 0 none ,g *
000057d9 0 none ,g *
FILE=_REL_ftol
0000580b 0000583f 35
000057f5 00005829 35
__REL_ftol
0000580b 0 none ,g *
000057f5 0 none ,g *
FILE=_REL_lldiv
00005840 00005a45 206
0000582a 00005a2f 206
__REL_lldiv
0000585c 0 none ,g *
00005846 0 none ,g *
FILE=_REL_llrem
00005a46 00005c49 204
00005a30 00005c33 204
__REL_llrem
00005a63 0 none ,g *
00005a4d 0 none ,g *
FILE=_REL_ltosl
00005c4a 00005c6e 25
00005c34 00005c58 25
__REL_ltosl
00005c4a 0 none ,g *
00005c34 0 none ,g *
FILE=_COM_lshr
00005c6f 00005c8f 21
00005c59 00005c79 21
__COM_lshr
00005c79 0 none ,g *
00005c63 0 none ,g *
SECTION=.monitor2
FILE=rlink_generates_02
@ -724,11 +724,11 @@ FILE=rlink_generates_05
__s.textf
00000acc 0 none ,g *
__e.textf
00002fb4 0 none ,g *
00002f9a 0 none ,g *
__s.const
00003000 0 none ,g *
__e.const
000033da 0 none ,g *
000033c4 0 none ,g *
__s.constf
00000080 0 none ,g *
__e.constf
@ -766,9 +766,9 @@ FILE=rlink_generates_05
__e.RLIB
000000c4 0 none ,g *
__s.SLIB
000033da 0 none ,g *
000033c4 0 none ,g *
__e.SLIB
00005c90 0 none ,g *
00005c7a 0 none ,g *
__s.option_byte
000000c0 0 none ,g *
__e.option_byte

1943
DefaultBuild/multical.mot

File diff suppressed because it is too large

BIN
DefaultBuild/owi.obj

Binary file not shown.

100
QualityReport(multical,DefaultBuild).txt

@ -1,95 +1,13 @@
QualityReport
2026년 3월 6일 금요일 오후 10:08:42
2026년 3월 9일 월요일 오후 7:50:32
------ Start build(multical, DefaultBuild) ------
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.15.00\Bin\ccrl.exe r_main.c -cpu=S3 -o DefaultBuild\r_main.obj "-dev=C:\Program Files (x86)\Renesas Electronics\CS+\CC\Device\RL78\Devicefile\DR5F10PPJ.DVF" -g -g_line -I "..\..\Documents\카카오톡 받은 파일\IDH1.1\IDH1.1" -I ..\IDH1.1 -I . -c -msg_lang=english
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.15.00\Bin\ccrl.exe owi.c -cpu=S3 -o DefaultBuild\owi.obj "-dev=C:\Program Files (x86)\Renesas Electronics\CS+\CC\Device\RL78\Devicefile\DR5F10PPJ.DVF" -g -g_line -I "..\..\Documents\카카오톡 받은 파일\IDH1.1\IDH1.1" -I ..\IDH1.1 -I . -c -msg_lang=english
W0511106:The folder "..\..\Documents\카카오톡 받은 파일\IDH1.1\IDH1.1" specified by the "-I" option is not found.
W0511106:The folder "..\..\Documents\카카오톡 받은 파일\IDH1.1\IDH1.1" specified by the "-I" option is not found.
W0511106:The folder "..\IDH1.1" specified by the "-I" option is not found.
W0511106:The folder "..\IDH1.1" specified by the "-I" option is not found.
W0511187:The evaluation period for the option "-Odefault" of CC-RL V1 has expired. It is implicitly changed to "-Olite". Please consider purchasing the product to continue using "-Odefault". By explicitly specifying "-Olite" or "-Onothing", this warning message disappears.
W0511187:The evaluation period for the option "-Odefault" of CC-RL V1 has expired. It is implicitly changed to "-Olite". Please consider purchasing the product to continue using "-Odefault". By explicitly specifying "-Olite" or "-Onothing", this warning message disappears.
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.15.00\inc\stdint.h(18):W0520301:Typedef name has already been declared (with same type)
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.15.00\inc\stdint.h(19):W0520301:Typedef name has already been declared (with same type)
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.15.00\inc\stdint.h(18):W0520301:Typedef name has already been declared (with same type)
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.15.00\inc\stdint.h(20):W0520301:Typedef name has already been declared (with same type)
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.15.00\inc\stdint.h(19):W0520301:Typedef name has already been declared (with same type)
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.15.00\inc\stdint.h(25):W0520301:Typedef name has already been declared (with same type)
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.15.00\inc\stdint.h(20):W0520301:Typedef name has already been declared (with same type)
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.15.00\inc\stdint.h(26):W0520301:Typedef name has already been declared (with same type)
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.15.00\inc\stdint.h(25):W0520301:Typedef name has already been declared (with same type)
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.15.00\inc\stdint.h(27):W0520301:Typedef name has already been declared (with same type)
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.15.00\inc\stdint.h(26):W0520301:Typedef name has already been declared (with same type)
uart.h(15):W0520047:Incompatible redefinition of macro "RAM_BYTES" (declared at line 47 of "owi.h")
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.15.00\inc\stdint.h(27):W0520301:Typedef name has already been declared (with same type)
owi.c(153):W0520177:Function "OWI_StopWrite" was declared but never referenced
i2c.h(8):W0520047:Incompatible redefinition of macro "RAM_BYTES" (declared at line 15 of "uart.h")
r_main.c(595):W0520172:External/internal linkage conflict with previous declaration
r_main.c(769):W0520167:Argument of type "uint32_t __near" is incompatible with parameter of type "const char *__near"
r_main.c(886):W0520167:Argument of type "uint32_t __near" is incompatible with parameter of type "const char *__near"
r_main.c(800):W0520177:Variable "total_us" was declared but never referenced
r_main.c(801):W0520177:Variable "idle_us" was declared but never referenced
r_main.c(803):W0520177:Variable "got_any" was declared but never referenced
r_main.c(84):W0520177:Variable "s_end_pat" was declared but never referenced
r_main.c(179):W0520177:Function "UART1_SendBytes_Safe" was declared but never referenced
r_main.c(318):W0520177:Function "bridge_wait_until_end" was declared but never referenced
r_main.c(433):W0520177:Function "RS485_FlushJunk" was declared but never referenced
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.15.00\Bin\rlink.exe -subcommand=DefaultBuild\multical.clnk
W0561017:Paid license of CC-RL V1 is not found, and the evaluation period has expired. Please consider purchasing the product.
W0561017:Paid license of CC-RL V1 is not found, and the evaluation period has expired. Please consider purchasing the product.
Renesas Optimizing Linker Completed
------ Build ended(Error:0, Warning:33)(multical, DefaultBuild) ------
--- CommandFile 1 ---
DefaultBuild\multical.clnk :
-Input=DefaultBuild\cstart.obj
-Input=DefaultBuild\stkinit.obj
-Input=DefaultBuild\r_main.obj
-Input=DefaultBuild\r_systeminit.obj
-Input=DefaultBuild\r_cg_cgc.obj
-Input=DefaultBuild\r_cg_cgc_user.obj
-Input=DefaultBuild\r_cg_serial.obj
-Input=DefaultBuild\r_cg_serial_user.obj
-Input=DefaultBuild\r_cg_port.obj
-Input=DefaultBuild\r_cg_port_user.obj
-Input=DefaultBuild\owi.obj
-Input=DefaultBuild\i2c.obj
-Input=DefaultBuild\uart.obj
-Input=DefaultBuild\delay.obj
-Input=DefaultBuild\dipSwitch.obj
-Input=DefaultBuild\gatectrl.obj
-SECURITY_ID=00000000000000000000
-DEVICE=C:\Program Files (x86)\Renesas Electronics\CS+\CC\Device\RL78\Devicefile\DR5F10PPJ.DVF
-DEBug
-NOCOmpress
-NOOPtimize
-OUtput=DefaultBuild\multical.abs
-OCDBG=84
-DEBUG_MONITOR=3FE00-3FFFF
-USER_OPT_BYTE=E9FFF8
-OCDTR
-LISt=DefaultBuild\multical.map
-SHow=SYmbol,Total_size
-AUTO_SECTION_LAYOUT
-ROm=.data=.dataR
-ROm=.sdata=.sdataR
-NOMessage
-MEMory=High
-NOLOgo
-LIBrary=DefaultBuild\multical.lib
-end
-Input=DefaultBuild\multical.abs
-DEVICE=C:\Program Files (x86)\Renesas Electronics\CS+\CC\Device\RL78\Devicefile\DR5F10PPJ.DVF
-OUtput=DefaultBuild\multical.mot
-FOrm=Stype
-NOMessage
-exit
------ Build ended(Error:0, Warning:0)(multical, DefaultBuild) ------
--- SHA1 hash value of output files ---
C:\Users\MSI\Desktop\amosense\multical_4251_fw\new_fw\DefaultBuild\multical.abs: f6d5043d0c79382af1472086cda7f117177f5db8
C:\Users\MSI\Desktop\amosense\multical_4251_fw\new_fw\DefaultBuild\multical.mot: 515303f4fb1fcb2631f43f6517c666f60f8656fe
C:\Users\MSI\Desktop\amosense\multical_4251_fw\new_fw\DefaultBuild\multical.abs: 94fbf45774f2ea43daa7a8db22cbf45f788c71ea
C:\Users\MSI\Desktop\amosense\multical_4251_fw\new_fw\DefaultBuild\multical.mot: f2229e51dad223e9af4cdb77e1f8ebecb45c5527
--- System Information ---
@ -100,7 +18,7 @@ C:\Users\MSI\Desktop\amosense\multical_4251_fw\new_fw\DefaultBuild\multical.mot:
*.NET Framework Version
Microsoft .NET Framework 4 [.NET 4.8 or later] (533509)
*WebView2 Version
145.0.3800.82
145.0.3800.97
--- Application Information ---
*Product Name
@ -119,11 +37,11 @@ C:\Users\MSI\Desktop\amosense\multical_4251_fw\new_fw\DefaultBuild\multical.mot:
C:\Program Files (x86)\Renesas Electronics\CS+\CC
*Memory Usage
*Private Working Set
439 MB
465 MB
*Number of GDI Objects
2626
2580
*Number of USER Objects
1442
1390
*Opened Files
25 editors, 25 files, 212 KB
@ -302,8 +220,6 @@ Build Tool Information
Debug Tool Information
*RL78 E1(Serial)
Debugger Library V8.13.00.04 [26 Nov 2024]
RL78 E1/E20 Executor V4.14d [12 Nov 2024]
E1 4100 A F/W V07.52
Other Tool Information

88
multical.MSI.mtud

File diff suppressed because one or more lines are too long

14
owi.c

@ -232,16 +232,16 @@ uint8_t OWI_ReadBit(void)
if (timeout <= 0) {
if (!g_owi_timeout_latched) {
char msg[64];
// char msg[64];
g_owi_timeout_latched = 1;
g_owi_last_timeout_byte_index = g_owi_current_read_byte_index;
g_owi_last_timeout_bit_index = g_owi_current_read_bit_index;
sprintf(msg, "OWI Timeout B%u b%u\r\n",
(unsigned)g_owi_last_timeout_byte_index,
(unsigned)g_owi_last_timeout_bit_index);
HOST_PRINT(msg);
// sprintf(msg, "OWI Timeout B%u b%u\r\n",
// (unsigned)g_owi_last_timeout_byte_index,
// (unsigned)g_owi_last_timeout_bit_index);
// HOST_PRINT(msg);
}
/* 기존 0xFF는 데이터를 오염시킴 */
@ -286,6 +286,7 @@ void OWI_T_ReadBytesAndPrint(int length)
for (i = 0; i < length; i++) {
g_owi_current_read_byte_index = (uint16_t)i;
buf[i] = OWI_ReadByte();
if (OWI_HasTimeout()) break;
}
sprintf(uart_buf, "%02X ", buf[0]);
@ -350,6 +351,7 @@ void OWI_A_CommandMode(const uint8_t *tx_data, uint8_t tx_len, uint8_t id)
for (i = 0; i < RAM_BYTES; i++) {
g_owi_current_read_byte_index = (uint16_t)i;
rx[i] = OWI_ReadByte();
if (OWI_HasTimeout()) break;
}
OWI_Stop();
@ -397,6 +399,7 @@ void OWI_A_CommandMode(const uint8_t *tx_data, uint8_t tx_len, uint8_t id)
for (i = 0; i < RAM_BYTES; i++) {
g_owi_current_read_byte_index = (uint16_t)i;
rx[i] = OWI_ReadByte();
if (OWI_HasTimeout()) break;
}
OWI_Stop();
@ -492,6 +495,7 @@ void OWI_ReadBytesAndPrint(int length, uint8_t id)
for (i = 0; i < length; i++) {
g_owi_current_read_byte_index = (uint16_t)i;
buf[i] = OWI_ReadByte();
if (OWI_HasTimeout()) break;
}
for (i = 0; i < length; i++) {

Loading…
Cancel
Save