Browse Source

feat: init 개발 완료 , hash, anaout, check 핀 할당 완료

최원형 1 week ago
parent
commit
81f850ca14
  1. BIN
      DefaultBuild/anaout.obj
  2. BIN
      DefaultBuild/check_pin.obj
  3. BIN
      DefaultBuild/delay.obj
  4. BIN
      DefaultBuild/dipSwitch.obj
  5. BIN
      DefaultBuild/gatectrl.obj
  6. BIN
      DefaultBuild/hash_pin.obj
  7. BIN
      DefaultBuild/i2c.obj
  8. BIN
      DefaultBuild/multical.abs
  9. 5
      DefaultBuild/multical.clnk
  10. 711
      DefaultBuild/multical.map
  11. 595
      DefaultBuild/multical.mot
  12. BIN
      DefaultBuild/owi.obj
  13. BIN
      DefaultBuild/r_cg_adc.obj
  14. BIN
      DefaultBuild/r_cg_adc_user.obj
  15. BIN
      DefaultBuild/r_cg_cgc.obj
  16. BIN
      DefaultBuild/r_cg_cgc_user.obj
  17. BIN
      DefaultBuild/r_cg_port.obj
  18. BIN
      DefaultBuild/r_cg_port_user.obj
  19. BIN
      DefaultBuild/r_cg_serial.obj
  20. BIN
      DefaultBuild/r_cg_serial_user.obj
  21. BIN
      DefaultBuild/r_cg_wdt.obj
  22. BIN
      DefaultBuild/r_cg_wdt_user.obj
  23. BIN
      DefaultBuild/r_main.obj
  24. BIN
      DefaultBuild/r_systeminit.obj
  25. BIN
      DefaultBuild/uart.obj
  26. 465
      QualityReport(multical,DefaultBuild).txt
  27. 180
      check_pin.c
  28. 1
      dipSwitch.c
  29. 206
      gatectrl.c
  30. 39
      gatectrl.h
  31. 146
      i2c.c
  32. 1
      i2c.h
  33. 2241
      multical.mtpj
  34. 1150
      multical.rcpe
  35. 853
      multical.user.mtud
  36. 122
      owi.c
  37. 1
      owi.h
  38. 2
      r_cg_adc.c
  39. 2
      r_cg_adc.h
  40. 2
      r_cg_adc_user.c
  41. 2
      r_cg_cgc.c
  42. 2
      r_cg_cgc.h
  43. 2
      r_cg_cgc_user.c
  44. 2
      r_cg_macrodriver.h
  45. 43
      r_cg_port.c
  46. 2
      r_cg_port.h
  47. 2
      r_cg_port_user.c
  48. 2
      r_cg_serial.c
  49. 2
      r_cg_serial.h
  50. 2
      r_cg_serial_user.c
  51. 2
      r_cg_userdefine.h
  52. 2
      r_cg_wdt.c
  53. 2
      r_cg_wdt.h
  54. 2
      r_cg_wdt_user.c
  55. 8
      r_main.c
  56. 4
      r_systeminit.c
  57. 62
      uart.c
  58. 5
      uart.h

BIN
DefaultBuild/anaout.obj

Binary file not shown.

BIN
DefaultBuild/check_pin.obj

Binary file not shown.

BIN
DefaultBuild/delay.obj

Binary file not shown.

BIN
DefaultBuild/dipSwitch.obj

Binary file not shown.

BIN
DefaultBuild/gatectrl.obj

Binary file not shown.

BIN
DefaultBuild/hash_pin.obj

Binary file not shown.

BIN
DefaultBuild/i2c.obj

Binary file not shown.

BIN
DefaultBuild/multical.abs

Binary file not shown.

5
DefaultBuild/multical.clnk

@ -8,19 +8,14 @@
-Input=DefaultBuild\r_cg_serial_user.obj
-Input=DefaultBuild\r_cg_wdt.obj
-Input=DefaultBuild\r_cg_wdt_user.obj
-Input=DefaultBuild\r_cg_adc.obj
-Input=DefaultBuild\r_cg_adc_user.obj
-Input=DefaultBuild\r_cg_port.obj
-Input=DefaultBuild\r_cg_port_user.obj
-Input=DefaultBuild\anaout.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
-Input=DefaultBuild\hash_pin.obj
-Input=DefaultBuild\check_pin.obj
-SECURITY_ID=00000000000000000000
-DEVICE=C:\Program Files (x86)\Renesas Electronics\CS+\CC\Device\RL78\Devicefile\DR5F10PPJ.DVF
-DEBug

711
DefaultBuild/multical.map

@ -1,4 +1,4 @@
Renesas Optimizing Linker (W3.07.00 ) 14-Jan-2026 18:55:13
Renesas Optimizing Linker (W3.07.00 ) 21-Jan-2026 11:35:14
*** Options ***
@ -13,19 +13,14 @@ Renesas Optimizing Linker (W3.07.00 ) 14-Jan-2026 18:55:13
-Input=DefaultBuild\r_cg_serial_user.obj
-Input=DefaultBuild\r_cg_wdt.obj
-Input=DefaultBuild\r_cg_wdt_user.obj
-Input=DefaultBuild\r_cg_adc.obj
-Input=DefaultBuild\r_cg_adc_user.obj
-Input=DefaultBuild\r_cg_port.obj
-Input=DefaultBuild\r_cg_port_user.obj
-Input=DefaultBuild\anaout.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
-Input=DefaultBuild\hash_pin.obj
-Input=DefaultBuild\check_pin.obj
-SECURITY_ID=00000000000000000000
-DEVICE=C:\Program Files (x86)\Renesas Electronics\CS+\CC\Device\RL78\Devicefile\DR5F10PPJ.DVF
-DEBug
@ -47,705 +42,5 @@ Renesas Optimizing Linker (W3.07.00 ) 14-Jan-2026 18:55:13
*** Error information ***
*** Mapping List ***
SECTION START END SIZE ALIGN
.vect
00000000 0000007f 80 0
.constf
00000080 00000093 14 2
.init_array
00000094 00000094 0 2
.sdata
00000080 00000080 0 2
.option_byte
000000c0 000000c3 4 1
.security_id
000000c4 000000cd a 1
.RLIB
000000c4 000000c4 0 1
.data
000000ce 0000014c 7f 2
.text
0000014d 000002ff 1b3 1
.textf
00000300 00001ecd 1bce 1
.const
00003000 00003413 414 2
.SLIB
00003414 00005e55 2a42 1
.bss
000faf00 000fafa3 a4 2
.dataR
000fafa4 000fb022 7f 2
.sbss
000ffe20 000ffe20 0 2
.sdataR
000ffe20 000ffe20 0 2
*** Total Section Size ***
RAMDATA SECTION: 00000123 Byte(s)
ROMDATA SECTION: 00000535 Byte(s)
PROGRAM SECTION: 000047c3 Byte(s)
*** Symbol List ***
SECTION=
FILE= START END SIZE
SYMBOL ADDR SIZE INFO COUNTS OPT
SECTION=.vect
FILE=rlink_generates_03
00000000 0000007f 80
SECTION=.constf
FILE=_REL_print
00000080 00000093 14
SECTION=.option_byte
FILE=rlink_generates_01
000000c0 000000c3 4
SECTION=.security_id
FILE=rlink_generates_02
000000c4 000000cd a
SECTION=.data
FILE=DefaultBuild\r_main.obj
000000ce 00000132 65
FILE=DefaultBuild\i2c.obj
00000134 00000139 6
FILE=DefaultBuild\uart.obj
0000013a 0000014a 11
FILE=DefaultBuild\gatectrl.obj
0000014c 0000014c 1
SECTION=.text
FILE=DefaultBuild\cstart.obj
0000014d 000001bf 73
_start
0000014d 0 none ,g *
_exit
000001bd 0 none ,g *
_atexit
000001bf 0 none ,g *
FILE=DefaultBuild\r_cg_serial_user.obj
000001c0 000002fb 13c
_r_uart0_interrupt_receive@1
000001c0 5f func ,l *
_r_uart0_interrupt_send@1
0000021f 2f func ,l *
_r_uart1_interrupt_receive@1
0000024e 5f func ,l *
_r_uart1_interrupt_send@1
000002ad 2f func ,l *
_r_iica0_interrupt@1
000002dc 20 func ,l *
FILE=DefaultBuild\r_cg_wdt_user.obj
000002fc 000002fd 2
_r_wdt_interrupt@1
000002fc 2 func ,l *
FILE=DefaultBuild\r_cg_adc_user.obj
000002fe 000002ff 2
_r_adc_interrupt@1
000002fe 2 func ,l *
SECTION=.textf
FILE=DefaultBuild\stkinit.obj
00000300 00000343 44
_stkinit
00000300 0 none ,g *
LSTINIT1
0000030e 0 none ,l *
LSTINIT2
00000338 0 none ,l *
LSTINIT3
00000343 0 none ,l *
FILE=DefaultBuild\r_main.obj
00000344 00000903 5c0
_hex2byte@1
00000344 34 func ,l *
_handle_uart_command_line
00000378 539 func ,g *
_main
000008b1 31 func ,g *
_R_MAIN_UserInit
000008e2 22 func ,g *
FILE=DefaultBuild\r_systeminit.obj
00000904 0000094a 47
_R_Systeminit
00000904 42 func ,g *
_hdwinit
00000946 5 func ,g *
FILE=DefaultBuild\r_cg_cgc.obj
0000094b 00000974 2a
_R_CGC_Create
0000094b 2a func ,g *
FILE=DefaultBuild\r_cg_cgc_user.obj
00000975 00000977 3
_R_CGC_Get_ResetSource
00000975 3 func ,g *
FILE=DefaultBuild\r_cg_serial.obj
00000978 00000c4b 2d4
_R_SAU0_Create
00000978 c func ,g *
_R_UART0_Create
00000984 6e func ,g *
_R_UART0_Start
000009f2 26 func ,g *
_R_UART0_Stop
00000a18 1e func ,g *
_R_UART0_Receive
00000a36 18 func ,g *
_R_UART0_Send
00000a4e 26 func ,g *
_R_SAU1_Create
00000a74 c func ,g *
_R_UART1_Create
00000a80 6e func ,g *
_R_UART1_Start
00000aee 26 func ,g *
_R_UART1_Stop
00000b14 1e func ,g *
_R_UART1_Receive
00000b32 18 func ,g *
_R_UART1_Send
00000b4a 26 func ,g *
_R_IICA0_Create
00000b70 50 func ,g *
_R_IICA0_Stop
00000bc0 5 func ,g *
_R_IICA0_StopCondition
00000bc5 5 func ,g *
_R_IICA0_Master_Send
00000bca 3f func ,g *
_R_IICA0_Master_Receive
00000c09 43 func ,g *
FILE=DefaultBuild\r_cg_serial_user.obj
00000c4c 00000d08 bd
_r_uart0_callback_receiveend@1
00000c4c 1 func ,l *
_r_uart0_callback_softwareoverrun@1
00000c4d 1 func ,l *
_r_uart0_callback_sendend@1
00000c4e 5 func ,l *
_r_uart0_callback_error@1
00000c53 1 func ,l *
_r_uart1_callback_receiveend@1
00000c54 2e func ,l *
_r_uart1_callback_softwareoverrun@1
00000c82 1 func ,l *
_r_uart1_callback_sendend@1
00000c83 1 func ,l *
_r_uart1_callback_error@1
00000c84 1 func ,l *
_iica0_masterhandler@1
00000c85 84 func ,l *
FILE=DefaultBuild\r_cg_wdt.obj
00000d09 00000d1c 14
_R_WDT_Create
00000d09 10 func ,g *
_R_WDT_Restart
00000d19 4 func ,g *
FILE=DefaultBuild\r_cg_adc.obj
00000d1d 00000dd0 b4
_R_ADC_Create
00000d1d 91 func ,g *
_R_ADC_Start
00000dae a func ,g *
_R_ADC_Stop
00000db8 a func ,g *
_R_ADC_Set_OperationOn
00000dc2 4 func ,g *
_R_ADC_Set_OperationOff
00000dc6 4 func ,g *
_R_ADC_Get_Result
00000dca 7 func ,g *
FILE=DefaultBuild\r_cg_port.obj
00000dd1 00000dd7 7
_R_PORT_Create
00000dd1 7 func ,g *
FILE=DefaultBuild\anaout.obj
00000dd8 00000e3a 63
_ANAOUT_Set
00000dd8 2b func ,g *
_ANAOUT_AllOff
00000e03 11 func ,g *
_ANAOUT_Select
00000e14 15 func ,g *
_anaout_pin
00000e29 10 func ,g *
_anaout_all_off
00000e39 2 func ,g *
FILE=DefaultBuild\owi.obj
00000e3b 000015a5 76b
_OWI_EnablePower
00000e3b 4 func ,g *
_OWI_DisablePower
00000e3f 3 func ,g *
_GPIO_Clear
00000e42 b func ,g *
_GPIO_Input
00000e4d 7 func ,g *
_GPIO_Read
00000e54 6 func ,g *
_OWI_Init
00000e5a f func ,g *
_OWI_Start
00000e69 16 func ,g *
_OWI_Stop
00000e7f 15 func ,g *
_OWI_SecureStop
00000e94 46 func ,g *
_OWI_WriteBit
00000eda 3a func ,g *
_OWI_WriteByte
00000f14 32 func ,g *
_OWI_ReadBit
00000f46 50 func ,g *
_OWI_ReadByte
00000f96 34 func ,g *
_OWI_T_ReadBytesAndPrint
00000fca c8 func ,g *
_OWI_A_CommandMode
00001092 26c func ,g *
_OWI_Diagnostic
000012fe 102 func ,g *
_OWI_disable
00001400 9 func ,g *
_OWI_T_CommandMode
00001409 4f func ,g *
_OWI_CommandMode
00001458 40 func ,g *
_OWI_ReadBytesAndPrint
00001498 10e func ,g *
FILE=DefaultBuild\i2c.obj
000015a6 00001a47 4a2
_disable
000015a6 19 func ,g *
_I2C_EnablePower
000015bf 4 func ,g *
_I2C_DisablePower
000015c3 3 func ,g *
_I2C_A_Command_Mode_receiveData
000015c6 213 func ,g *
_I2C_Diagnostic
000017d9 e4 func ,g *
_I2C_T_Command_Mode_receiveData
000018bd 37 func ,g *
_I2C_Command_Mode_receiveData
000018f4 26 func ,g *
_I2C_Command_Mode_Send
0000191a 12e func ,g *
FILE=DefaultBuild\uart.obj
00001a48 00001ba1 15a
_rs485_set_tx
00001a48 b func ,g *
_rs485_init
00001a53 a func ,g *
_uart_send_string
00001a5d 22 func ,g *
_uart1_send_string
00001a7f 10 func ,g *
_uart_send_hex
00001a8f 50 func ,g *
_uart1_send_hex
00001adf 4c func ,g *
_ADC_ReadAndSend_UART
00001b2b 77 func ,g *
FILE=DefaultBuild\delay.obj
00001ba2 00001c59 b8
_delay
00001ba2 16 func ,g *
_delay_us
00001bb8 7d func ,g *
_delay_ms
00001c35 25 func ,g *
FILE=DefaultBuild\dipSwitch.obj
00001c5a 00001c6f 16
_DipSwitch_Init
00001c5a 8 func ,g *
_DipSwitch_ReadValue_0to31
00001c62 9 func ,g *
_DipSwitch_ReadAddr_1to32
00001c6b 5 func ,g *
FILE=DefaultBuild\gatectrl.obj
00001c70 00001ce5 76
_write_port@1
00001c70 d func ,l *
_GateCtrl_Init
00001c7d 28 func ,g *
_GateCtrl_SetAll
00001ca5 8 func ,g *
_GateCtrl_SetZacwire
00001cad 8 func ,g *
_GateCtrl_ClearChannelPins
00001cb5 c func ,g *
_GateCtrl_SelectChannel
00001cc1 d func ,g *
_GateCtrl_Anaout
00001cce 8 func ,g *
_GateCtrl_Hash
00001cd6 8 func ,g *
_GateCtrl_Check
00001cde 8 func ,g *
FILE=DefaultBuild\hash_pin.obj
00001ce6 00001dd8 f3
_hash_write_port@1
00001ce6 d func ,l *
_hash_set_output_pm@1
00001cf3 7 func ,l *
_hash_init
00001cfa 47 func ,g *
_hash_all_off
00001d41 10 func ,g *
_hash_pin
00001d51 88 func ,g *
FILE=DefaultBuild\check_pin.obj
00001dd9 00001ecd f5
_write_port@1
00001dd9 d func ,l *
_set_output_pm@1
00001de6 7 func ,l *
_check_pin_init
00001ded 38 func ,g *
_check_all_off
00001e25 16 func ,g *
_check_pin
00001e3b 93 func ,g *
SECTION=.const
FILE=DefaultBuild\r_main.obj
00003000 00003145 146
FILE=DefaultBuild\anaout.obj
00003146 00003184 3f
_s_port@1
00003146 2a data ,l *
_s_mask@2
00003170 15 data ,l *
FILE=DefaultBuild\owi.obj
00003186 0000323f ba
FILE=DefaultBuild\i2c.obj
00003240 00003396 157
FILE=DefaultBuild\uart.obj
00003398 0000339b 4
_ADC_CHANNELS@1@ADC_ReadAndSend_UART
00003398 4 data ,l *
FILE=DefaultBuild\hash_pin.obj
0000339c 000033d7 3c
FILE=DefaultBuild\check_pin.obj
000033d8 00003413 3c
SECTION=.SLIB
FILE=_COM_faddsub
00003414 0000354e 13b
__COM_fsub
00003470 0 none ,g *
__COM_fadd
00003478 0 none ,g *
FILE=_COM_fdiv
0000354f 0000367c 12e
__COM_fdiv
000035ae 0 none ,g *
FILE=_COM_fmul
0000367d 00003769 ed
__COM_fmul
000036c8 0 none ,g *
FILE=_COM_ftoul
0000376a 00003775 c
__COM_ftoul
0000376a 0 none ,g *
FILE=_COM_ultof
00003776 0000377b 6
__COM_ultof
00003776 0 none ,g *
FILE=isdigit
0000377c 00003785 a
_isdigit
0000377c 0 none ,g *
FILE=memcpy
00003786 00003795 10
_memcpy
00003786 0 none ,g *
FILE=memset
00003796 000037a3 e
_memset
00003796 0 none ,g *
FILE=sprintf
000037a4 0000389c f9
_sprintf
000037a4 e1 func ,g *
__REL_sp@1
00003885 18 func ,l *
FILE=strcpy
0000389d 000038a9 d
_strcpy
0000389d 0 none ,g *
FILE=toupper
000038aa 000038b7 e
_toupper
000038aa 0 none ,g *
FILE=_REL_f_inf
000038b8 000038bf 8
__REL_f_inf
000038b8 0 none ,g *
FILE=_REL_f_norm
000038c0 000038cf 10
__REL_f_norm
000038c0 0 none ,g *
FILE=_REL_f_round
000038d0 000038e2 13
__REL_f_round
000038d0 0 none ,g *
FILE=_REL_ftol
000038e3 00003917 35
__REL_ftol
000038e3 0 none ,g *
FILE=_REL_ltof
00003918 00003961 4a
__REL_ltof
00003918 0 none ,g *
FILE=_REL_print
00003962 000058b9 1f58
__REL_print
00003962 1046 func ,g *
__REL_fltprn@1
000049a8 941 func ,l *
__REL_henkan1@1
000052e9 28 func ,l *
__REL_henkan2@1
00005311 33 func ,l *
__REL_pri@1
00005344 298 func ,l *
__REL_fltgeti@1
000055dc 19d func ,l *
__REL_inmod@1
00005779 141 func ,l *
FILE=_COM_feq
000058ba 000058cf 16
__COM_feq
000058ba 0 none ,g *
FILE=_COM_fge
000058d0 000058e5 16
__COM_fge
000058d0 0 none ,g *
FILE=_COM_flt
000058e6 000058fb 16
__COM_flt
000058e6 0 none ,g *
FILE=_COM_fne
000058fc 0000590c 11
__COM_fne
000058fc 0 none ,g *
FILE=_COM_ftosl
0000590d 00005914 8
__COM_ftosl
0000590d 0 none ,g *
FILE=_COM_lshr
00005915 00005935 21
__COM_lshr
0000591f 0 none ,g *
FILE=_COM_sidiv
00005936 00005957 22
__COM_sidiv
00005938 0 none ,g *
FILE=_COM_sirem
00005958 00005977 20
__COM_sirem
00005958 0 none ,g *
FILE=_COM_ulldiv
00005978 000059a1 2a
__COM_ulldiv
00005978 0 none ,g *
FILE=_COM_ullrem
000059a2 000059d2 31
__COM_ullrem
000059a2 0 none ,g *
FILE=_REL_fcmp
000059d3 00005a0a 38
__REL_fcmp
000059d3 0 none ,g *
FILE=_REL_fordered_core
00005a0b 00005a26 1c
__REL_fordered_core
00005a0b 0 none ,g *
FILE=_REL_lldiv
00005a27 00005c2c 206
__REL_lldiv
00005a43 0 none ,g *
FILE=_REL_llrem
00005c2d 00005e30 204
__REL_llrem
00005c4a 0 none ,g *
FILE=_REL_ltosl
00005e31 00005e55 25
__REL_ltosl
00005e31 0 none ,g *
SECTION=.bss
FILE=DefaultBuild\r_cg_serial.obj
000faf00 000faf1f 20
_gp_uart0_tx_address
000faf00 2 data ,g *
_g_uart0_tx_count
000faf02 2 data ,g *
_gp_uart0_rx_address
000faf04 2 data ,g *
_g_uart0_rx_count
000faf06 2 data ,g *
_g_uart0_rx_length
000faf08 2 data ,g *
_gp_uart1_tx_address
000faf0a 2 data ,g *
_g_uart1_tx_count
000faf0c 2 data ,g *
_gp_uart1_rx_address
000faf0e 2 data ,g *
_g_uart1_rx_count
000faf10 2 data ,g *
_g_uart1_rx_length
000faf12 2 data ,g *
_g_iica0_master_status_flag
000faf14 1 data ,g *
_g_iica0_slave_status_flag
000faf15 1 data ,g *
_gp_iica0_rx_address
000faf16 2 data ,g *
_g_iica0_rx_len
000faf18 2 data ,g *
_g_iica0_rx_cnt
000faf1a 2 data ,g *
_gp_iica0_tx_address
000faf1c 2 data ,g *
_g_iica0_tx_cnt
000faf1e 2 data ,g *
FILE=sprintf
000faf20 000faf23 4
__REL_pointer@1
000faf20 4 data ,l *
FILE=_REL_print
000faf24 000fafa3 80
_qt@1@_REL_inmod@1
000faf24 80 data ,l *
SECTION=.dataR
FILE=DefaultBuild\r_main.obj
000fafa4 000fb008 65
_uart_rx_done
000fafa4 1 data ,g *
_uart_rx_index
000fafa5 1 data ,g *
_uart_rx_buffer
000fafa6 60 data ,g *
_uart_rx_length
000fb006 2 data ,g *
_g_fixed_addr@1
000fb008 1 data ,l *
FILE=DefaultBuild\i2c.obj
000fb00a 000fb00f 6
_g_i2c_last_command
000fb00a 3 data ,g *
_g_i2c_command_valid
000fb00d 1 data ,g *
_dis@1@disable
000fb00e 2 data ,l *
FILE=DefaultBuild\uart.obj
000fb010 000fb020 11
_g_adc_bytes
000fb010 10 data ,g *
_g_adc_len
000fb020 1 data ,g *
FILE=DefaultBuild\gatectrl.obj
000fb022 000fb022 1
_s_ch@1
000fb022 1 data ,l *
Absolute value symbols
FILE=DefaultBuild\hash_pin.obj
@$IMM_28
00000028 0 none ,l *
FILE=DefaultBuild\check_pin.obj
@$IMM_28
00000028 0 none ,l *
FILE=rlink_generates_04
__s.text
0000014d 0 none ,g *
__e.text
00000300 0 none ,g *
__s.textf
00000300 0 none ,g *
__e.textf
00001ece 0 none ,g *
__s.const
00003000 0 none ,g *
__e.const
00003414 0 none ,g *
__s.constf
00000080 0 none ,g *
__e.constf
00000094 0 none ,g *
__s.data
000000ce 0 none ,g *
__e.data
0000014d 0 none ,g *
__s.sdata
00000080 0 none ,g *
__e.sdata
00000080 0 none ,g *
__s.bss
000faf00 0 none ,g *
__e.bss
000fafa4 0 none ,g *
__s.sbss
000ffe20 0 none ,g *
__e.sbss
000ffe20 0 none ,g *
__s.dataR
000fafa4 0 none ,g *
__e.dataR
000fb023 0 none ,g *
__s.sdataR
000ffe20 0 none ,g *
__e.sdataR
000ffe20 0 none ,g *
__s.init_array
00000094 0 none ,g *
__e.init_array
00000094 0 none ,g *
__s.RLIB
000000c4 0 none ,g *
__e.RLIB
000000c4 0 none ,g *
__s.SLIB
00003414 0 none ,g *
__e.SLIB
00005e56 0 none ,g *
__s.option_byte
000000c0 0 none ,g *
__e.option_byte
000000c4 0 none ,g *
__s.security_id
000000c4 0 none ,g *
__e.security_id
000000ce 0 none ,g *
__s.vect
00000000 0 none ,g *
__e.vect
00000080 0 none ,g *
__RAM_ADDR_START
000faf00 0 none ,g *
__RAM_ADDR_END
000ffee0 0 none ,g *
__STACK_ADDR_START
000ffe20 0 none ,g *
__STACK_ADDR_END
000fb024 0 none ,g *
*** Unfilled Areas ***
AREA START END
*** Delete Symbols ***
SYMBOL SIZE INFO
E0562310:Undefined external symbol "_GateCtrl_Init" referenced in "DefaultBuild\r_main.obj"
E0562310:Undefined external symbol "_GateCtrl_SelectChannel" referenced in "DefaultBuild\r_main.obj"

595
DefaultBuild/multical.mot

@ -76,7 +76,7 @@ S11304900061080C30738804500AD6880361080C84
S11304A0F072300900B800E61415440100DF7A62E6
S11304B0D1DD044C21DC0A301D30EF5D300E30EF0D
S11304C05863D1DD044C15DC05302E30EF4B624F00
S11304D008B0DF4263FCC11C00C4C5A80C25B80CDD
S11304D008B0DF4263FCC71C00C4C5A80C25B80CD7
S11304E07C80B804440180DC28F6B802A80A12B85B
S11304F000F67C8016A8043747DE211503168B739B
S1130500C6C7639BA800A112B800A802A1B802EF55
@ -125,25 +125,25 @@ S11307A03161F8EEF000A80C12A802433030316138
S11307B0E8EEE2008806D1DD4191DD4F91DD5D91E7
S11307C0DD6B91DD759161F8EE80009161F8EE8545
S11307D0009161F8EE90009161F8EE9B009161F850
S11307E0EE9B009161F8EE9D00300030FC7F1A0012
S11307F0E730A086FCA21B00EF6B880773880872A1
S1130800AEF8046E00FCBD1800EF71880773880809
S113081072AEF8046E00FC091400EF708807738848
S11308200872AEF8046E00FCF41800EF6D880873CB
S113083088077063FC1A1900EF60880773880872D0
S1130840AEF8046E00FC581400EF4F880772A80835
S1130850FC981400EF44880773880872AEF8046E9D
S113086000FCC61500EF33880773880872AEF804DD
S11308706E00FC921000EF22FC001400EF1C8807AD
S1130880FCFE1200EF148807FCD91700EF0C307F30
S113089030EF03307030FC7F1A00F5A5AFF6BF06C9
S11307E0EE9B009161F8EE9D00300030FC821A000F
S11307F0E730A086FCA51B00EF6B8807738808729E
S1130800AEF8046E00FCC01800EF71880773880806
S113081072AEF8046E00FC0C1400EF708807738845
S11308200872AEF8046E00FCF71800EF6D880873C8
S113083088077063FC1D1900EF60880773880872CD
S1130840AEF8046E00FC5B1400EF4F880772A80832
S1130850FC9B1400EF44880773880872AEF8046E9A
S113086000FCC91500EF33880773880872AEF804DA
S11308706E00FC951000EF22FC031400EF1C8807A7
S1130880FC011300EF148807FCDC1700EF0C307F29
S113089030EF03307030FC821A00F5A5AFF6BF06C6
S11308A0B08FA5AF318E04A6AFE7FC320B00EECDBE
S11308B0FAFE2E00FC840900FC800A00FC700B0088
S11308C0FCF20900FCEE0A008FA5AF318E04A6AF3E
S11308D0E7FC320B00FEA0FAE730A086FCA21B0066
S11308E0EFFE717AFAFCD10D00FC531A00FC1D0DC9
S11308F000FCC20D00FC5A1C00FC6B1C009F08B0DD
S1130900EC7D1C00341600CA0000CA0100CA0200B3
S11308D0E7FC320B00FEA0FAE730A086FCA51B0063
S11308E0EFFE717AFAFCD10D00FC561A00FC1D0DC6
S11308F000FCC20D00FC5D1C00FC6E1C009F08B0D7
S1130900EC831C00341600CA0000CA0100CA0200AD
S1130910CA0300CA0400CA0500CA0600CA0700CAFE
S11309200800FC750900FC4B0900FCD10D00FC78A3
S11309300900FC740A00FC700B00FC1D0D00FC098E
@ -196,7 +196,7 @@ S1130C102AE631E4520C31F25108712BE63082009D
S1130C20C2D771103002712BE68191DFFDF731924A
S1130C305102528315BF18AFF6BF1AAF17BF16AFD4
S1130C40F514AF8800718A9E5013C2D7D7D7F1EC40
S1130C50481A00D7E9A5AF09A6AF73A0A5AF8FA521
S1130C504B1A00D7E9A5AF09A6AF73A0A5AF8FA51E
S1130C60AF318EBF06B0634C0ADD1340A5AF5FDE23
S1130C700D8FA5AF318E04A6AFE7EC320B00E5A4CF
S1130C80AFD7D7D7D731E25208AF1EAF616861E85A
@ -220,278 +220,279 @@ S1130D9071CA9951106F27FF9E27CE3000CE3200C2
S1130DA0F51000CF1100FFF51200CE3100D7710B02
S1130DB0E3710BE7717A30D7717B30710AE7710BFD
S1130DC0E3D7710A30D7710B30D714AD1E316EB929
S1130DD0D7F40DCF56000CD7C1C79800D1DD044C11
S1130DE015DC031004D7318E12311C8802D17946E8
S1130DF03116880073097031DF057CFF5DEF016DEA
S1130E009BEFE0C7F1819800F0FECCFF88004C1402
S1130E10DFF3C0D7C79800D1DD044C15DC02C0D77E
S1130E20FEE0FF8800E0C2EFAFD1DD044C1561C8DD
S1130E30D7D0DF03F0EFA1EFDBEFC8CD0702D7F483
S1130E4007D75A07FE51FE5F27FF9E27D7E16F277A
S1130E50FF9E27D7E15B07318ED73437008A207194
S1130E608A9A2089718A99EFE4FED6FFF73032001E
S1130E70FCB81B00FED6FFF7303200ECB81B00FEB6
S1130E80CBFFF730C800FCB81B00F7302C01FCB8CE
S1130E901B00EFAEC7FEAAFFF730FA00FCB81B0038
S1130EA0C80003FEA7FFF7303C00FCB81B00FE910E
S1130EB0FFF7302800FCB81B008800919800DFE39E
S1130EC0FE8AFFF730FA00FCB81B00FE74FFF7300F
S1130ED03200FCB81B00C0EE73FF2004616832C806
S1130EE04161F8329642F6FC6A3700B802C0C3FE8C
S1130EF05BFFA802123064002314C2C3F661D8B1A8
S1130F00231215FCB81B00FE38FFC2C3A80210044C
S1130F10ECB81B00C1C73007FFB800C80208A8001E
S1130F2060738803318ED3EF03311E93DFFB31FDF1
S1130F3031FEFEA5FF8802919802A800B1B800DF37
S1130F40DF1004EE07FFC7F6B800FE07FF14A80081
S1130F5004F4011215616813DF140161D30BF7E681
S1130F60FCB81B00A800B1EFDFA80004F301016185
S1130F70C30B308631FC5D1A0051FFC2D7F7303203
S1130F8000FCB81B00FECCFEB800F7301E00FCB815
S1130F901B008800C2D72004F198023007FFB80074
S1130FA0C80308FEA0FF72C4C5647362318ED3EF18
S1130FB0020193DFFC880261689802880391980318
S1130FC0B5C0C5DFDE88021004D7C12098F713B876
S1130FD002AEF8041600B800A8987C80B804637CBC
S1130FE08073A8043343DE12FEABFF73C4C5639958
S1130FF0A802A112B802A515EFDC8816318EC1AE85
S1131000F8040800B80214329431300F0FFCA437EE
S113101000C0C2C3AEF8040E00B800FC9D3800A89E
S113102000FC5D1A00AEF8041700B898E6B8027C1C
S11310308012A8043343DE57A89814F78A01980055
S1131040899801301027FCA21B008800318EC188CA
S113105003318EC1AEF8040A00B80414329A313058
S11310600F0FFCA437001004C2C3AEF8040E00B87E
S113107000FC9D3800A800FC5D1A00F7301027FC26
S1131080A21B00A898A1A1B898A802A1A1EF9E1044
S11310909AD7C3C1209AFC2B1B008F20B098024C16
S11310A00461E8EE4F02F614B8083010B0B8061523
S11310B0B800128802318E6C8016157C8047DE528F
S11310C0A80614AA0216A914C7C5AEF8041D00B8D0
S11310D008031432CC31300F0FFCA4370010041273
S11310E0A80003B8008F20B09802318E6C8012A83B
S11310F008A114B808157C8043DE0CC2C3A80403FD
S113110016A3CC002CC0C3A806040400B806A8008B
S1131110EFA0AEF8041900B80A0314F6B808CA0020
S11311202CCD0702F730581BFCB81B00A800A1B84F
S113113006FE60FDA808312D04A431B800C80204DD
S1131140C4C589FECEFD8802919802A800A1B8000A
S1131150DFEEFE2AFDF730F401FCB81B00530DAEA0
S1131160F8040C0014CA00FF93A5DFF9F6B804F7DD
S113117030F401FCB81B00FE1AFD5151FE95FDC868
S1131180020DAEF8040C00B800FE0AFE73C4C56379
S1131190998802919802A5C0C5DFEEFEE1FC530DCB
S11311A0AEF8040C00148981DF1893A5DFF8A804B5
S11311B044020061F8EE0601A1B8047C8044038077
S11311C0DCAD880E318EC1880F318EC1A80A12A8F9
S11311D00E031432D131300F0FFCA4370010041267
S11311E0A8060312A80A0314A3CA002C13B806A85D
S11311F008A1B8087C8044068061D8EE33FF889C3F
S11312004C0361E8EEBC00A89A616861F8EEB30093
S1131210F6B804FE7EFC889D61019802FEF5FCC8C8
S11312209C03A89A14B80089FEE9FC889C91989CB8
S1131230A800A114B800DFEFFE44FCF730F401FC71
S1131240B81B00530DAEF8040C0014CA00FF93A59C
S1131250DFF9FE3FFC8802718AFEB8FCC89C0DAE23
S1131260F8040C00B800FE2DFD73C4C56399889C76
S113127091989CA5C0C5DFEEFE04FC530DAEF804A6
S11312800C00148981DF1893A5DFF8A80444020038
S1131290DD2CA1B8047C8044038061D8EE74FF88FF
S11312A00E318EC1880F318EC1A80A12A80E031404
S11312B032DA31300F0FFCA437001004EF13F407B7
S11312C0109ED7A80A031432E331300F0FFCA43761
S11312D00012A8060312A80A33031413CA000DA5AA
S11312E0CA000AA5CA0000FC5D1A00F7301027FCEA
S11312F0A21B00EFC930BC31FC5D1A00EFC220987C
S1131300F6B808B806FE8CFBA808312D04E831B8FD
S113131000C80204C4C589FEFAFB8802919802A899
S113132000A1B800DFEEFE56FBF730F401FCB81B59
S113133000530DAEF8040A0014CA00FF93A5DFF9A8
S1131340F6B804F730F401FCB81B00FE46FB51511B
S1131350FEC1FBC8020DAEF8040A00B800FE36FC5C
S113136073C4C563998802919802A5C0C5DFEEFED7
S11313700DFB530DAEF8040A00148981DF1593A503
S1131380DFF8A804440200DD72A1B8047C804403A1
S113139080DCB0880C318EC1880D318EC1A80A1250
S11313A0AEF8041B00B8040314321032300F0FFCE3
S11313B0A43700100412A8060314A808127C804461
S11313C00980DE08A8000516A5CC002CA313B808D4
S11313D0137C80440A801561D8EE27FFA80012050B
S11313E01413CA000DA5CA000AA5CA0000FC5D1AA0
S11313F000F7301027FCA21B00EF02F4071098D767
S1131400F407301932EC5D1A00C1C3C7CD0702F6E8
S1131410B800F730581BFCB81B00F7306400FE39E5
S1131420FAFE70FA88036101FEE9FA8802318E6CD3
S11314308012A8007C8043DE13A8041489FED4FA29
S1131440A800A1B800A804A1B804EFDFFE30FA3068
S11314501E321006EC5D1A00C1C3C7639800FE3348
S1131460FA88006101FEACFAF7C0C38802318E6CC1
S11314708014137C8045DE14A8041489FE95FAA810
S113148000A112B800A804A1B804EFDFFEF0F930FF
S113149023321006EC5D1A0020FE20FE2074B804EE
S11314A0629800FEEEF98800610181FE66FAF71386
S11314B0B802AEF8041800B800A8047C80B806632B
S11314C07C8073A8063343DE12FECAFA73C4C56374
S11314D099A802A112B802A515EFDC8818318EC1B3
S11314E0AEF8040A00B80214322832300F0FFCA4FC
S11314F03700C0C2C3AEF8041000B800FC9D380029
S1131500A800FC5D1A00AEF8041900B802F6B8048D
S1131510A80612A804A1147C8043DE7C15A1B8049B
S11315207C8043A80214F7899801DE298A01980077
S1131530301027FCA21B008800318EC18803318E35
S1131540C1AEF8040C0014322E32300F0FFCA43755
S1131550001004EF1D301027FCA21B008801318EFF
S1131560C1AEF8040A0014323832300F0FFCA4372D
S113157000C0AEF804080012040800B800FC9D384E
S113158000A800FC5D1A00F7301027FCA21B00A87D
S113159002A1A1B802EE78FF303D32FC5D1A0010C2
S11315A0FE10FE1074D7340200320EB0306450FCCA
S11315B0CA0B00616861F8D7304032EC5D1A00CD87
S11315C00702D7F407D7C3C120AAAEF8041700B89E
S11315D008341200325232FC863700F6B800340D5B
S11315E000F7AEF8040A00FC963700C80A00FC2B8A
S11315F01B004020B00461E8EED901F6B802F743BD
S1131600DD1D04FFFFDD2004FFFFDD2304FFFFDDFC
S113161026A343F612DF34DB1EB0AF1CB0EF2CDB85
S113162012B0AF10B0EF24DB16B0AF14B0EF1CDB78
S11316301AB0AF18B0EF14AF1AB0C1AF18B0C1DB15
S113164016B0AF14B0FC7034001004C3C1A8041267
S1131650AEF8042D00B80A0314327432300F0FFCB4
S1131660A43700100412A8000312A8060314A3CA86
S1131670002CC0C3A802A1B802440500DD05A802DD
S1131680EE7BFFE730A086FCA21B00F6B804A80896
S11316901288AD610198023403005064FCCA0B0047
S11316A0F74361E8EE2301301027FCA21B00AEF8DB
S11316B0040A00128802340D005064FC090C00F77F
S11316C04361E8EEFF00301027FCA21B00880C31B8
S11316D08EC1880D318EC1A80412A80A031432A049
S11316E032300F0FFCA43700100412A80003B80016
S11316F0A804127C80440580DE0CC4C5A806051627
S1131700A5CC002CC0C5A808040300B808A313B8CE
S113171004137C8044068061D8EE72FFC2C3A8061D
S113172003B8041488ACD1CA002CDD06A8AA6168E9
S1131730DF0DA532E932300F0FFCA43700EF5288D9
S1131740AC318E14A8AA1288025064FCCA0B00F7AC
S113175043DF6DA330A086FCA21B00AEF8040A0090
S1131760128802340D005064FC090C00F743DF4B6F
S1131770301027FCA21B00880C318EC1880D318EDD
S1131780C1A80814A532E032300F0FFCA4370010B2
S11317900412A8000312A806330316A11417CA00E2
S11317A00DA5040300CA000A1413CA0000FC5D1A44
S11317B000F7301027FCA21B00EF1630C332EF0DE8
S11317C030A932EF08308B32EF03307932FC5D1AE6
S11317D00010AED7306432EFF4C120B4AEF8041573
S11317E000B806341E0032EE32FC863700F6B80428
S11317F0340D00F7AEF8040800FC963700C8080062
S1131800F6B802A8061288B56101980034030050A6
S113181064FCCA0B00F74361E8EE9C00301027FC1F
S1131820A21B00AEF8040800128800340D005064B6
S1131830FC090C00F743DF76301027FCA21B00885C
S11318400A318EC1880B318EC1A80612AEF8043756
S113185000B8040314323333300F0FFCA4370010E4
S11318600412A8020314A804127C80440980DE0830
S1131870A8000516A5CC002CA806040300B806A3EE
S113188013B804137C80440A801561D8EE72FFA853
S11318900012051413CA000DA5CA000AA5CA000047
S11318A0FC5D1A00F7301027FCA21B00EF07301E66
S11318B033FC5D1A0010B6D7300C33EFF4C1C3FC0F
S11318C0700B00CD0702320F00304042FCA21B0017
S11318D08800318E14A80212880161015064FCCA88
S11318E00B006168DF09304E331004EC5D1A0030E0
S11318F03C33EFF5C71663980062318E14C7C28873
S11319000061015064FCCA0B006168DF0830653374
S1131910C2EC5D1A00305333EFF620FE20FE207C2B
S11319203410009802609803F6B804F7AEF8041077
S113193000FC963700340800F7AEF8040800FC9663
S11319403700AEF8042000B800345802F7FC96378C
S1131950008802318EB80614C2C38803610150E8BE
S1131960FC090C00F74361E8EED800520F30404206
S1131970FCA21B008820318EC1AEF8041200B8020C
S113198014327F33300F0FFCA43700C0C2C3AEF84B
S1131990040800FC9D3800A800FC5D1A00F7301014
S11319A027FCA21B00AEF8042100B802A8066C8034
S11319B012A804A1147C8043DE7B15A1B8047C80AA
S11319C043A80214F7899801DE298A01980030108F
S11319D027FCA21B008800318EC18803318EC1AE62
S11319E0F804140014328533300F0FFCA4370010B0
S11319F004EF2A301027FCA21B008801318EC1AEEF
S1131A00F8041200B80214328F33300F0FFCA437DD
S1131A1000C0C2C3AEF8040800FC9D3800AEF80450
S1131A201000FC5D1A00F7301027FCA21B00A8026E
S1131A30A1A1EE75FF309433FC5D1A0010FE10FE78
S1131A40107CD7306A33EFF0D1DF045A04DFD76A51
S1131A500420D751DF5F24FF9E24F1EFEBC1C7F6CA
S1131A60B800A8021489D1DD08A800A1B800A5EF28
S1131A70F4E1FED3FFC2C3A8021004EC4E0A001620
S1131A80F71489D1DD04A3A5EFF817EC4A0B00C7BE
S1131A9075314A74318E12655C0F77644C0A3430A8
S1131AA000DC081304F6FF143241001503609800AB
S1131AB067318E12674C0A343000DC081304F6FFD9
S1131AC0143241001503609801E1FE7BFFE7A3AEE9
S1131AD0F8FC4E0A00F7301027FCA21B00C0D7C741
S1131AE075314A74318E12655C0F77644C0A343058
S1131AF000DC081304F6FF1432410015036098005B
S1131B0067318E12674C0A343000DC081304F6FF88
S1131B10143241001503609801E7A3AEF8FC4A0BA8
S1131B2000F7301027FCA21B00C0D72008F520B016
S1131B303010B0B800C8020434983315B804899E34
S1131B4031FCAE0D003184E3FC710BE3AEF8040606
S1131B5000FCCA0D00FCB80D00A806F7FC7637009F
S1131B6014307F44C13000C0C115FCAE35001410E0
S1131B700430A140C13085EBC115FCC836001610F5
S1131B8004A020B0C4C513BA0217B9A80004040005
S1131B90B8008802919802A804A114B804DF9F1029
S1131BA008D70401001461D8A31504FFFF1461C809
S1131BB0B31305DFF4DCF2D7200EB80213B804A87F
S1131BC004F743A80261F8449700A804DE0A5264AB
S1131BD0CEFB02326400EF08526ACEFB02326A0086
S1131BE016A802CEFB011417031215043200146167
S1131BF0D8A315360000346400CEFB0B001413B8D0
S1131C000C15B80AF6B808B806A80816A806B8004D
S1131C10A80C12A80A141743A80061F845DE1300A3
S1131C20A80814A806040100121561D8A1B8081365
S1131C30EFD5100ED7200414F6B802A802121543EB
S1131C4061D314F6B800A800442003DE05A800A15F
S1131C50EFF2A802A1EFE21004D7513E6F28FF9ED5
S1131C6028D78D08311A5C1F7C1FD7FEF4FF81D75B
S1131C701662D3DF057CFF5D9BD76D9BD7517F5FD9
S1131C8024FF9E24517F5F2FFF9E2F32800030045B
S1131C90FFFEDCFF328000300FFFFED3FFFCFA1C96
S1131CA000ECED1D007352803004FFEFC3735280CB
S1131CB0300FFFEFBBFC411D00FC251E00EC390E6C
S1131CC000D1DD044C1561C8D79F22B0EFE7708FB7
S1131CD022B0EC290E00708F22B0EC511D00708FE1
S1131CE022B0EC3B1E001662D3DF057CFF5D9BD760
S1131CF06D9BD716627CFF5D9BD7520F302FFFFE82
S1131D00F1FFE2302CFFFEEAFF5220302CFFFEE20E
S1131D10FF52023020FFFEDAFF5240302CFFFED289
S1131D20FF5280302CFFFECAFF52043020FFFEC257
S1131D30FF520F302AFFFEBAFF52FC3029FFFEB2D9
S1131D40FF5A0FF05A0C1E5A00F95A0AF05A0903A6
S1131D50D7C19175318E12654C14DE12131249C429
S1131D6033311C9EFC799C3361CB5208EF08C0D7F9
S1131D705204EF025202880073300FFFEF36E2EF95
S1131D80F5E2EF105220EF0C52028800733000FF8E
S1131D90EF225240880073300CFFEF185280EFF4AA
S1131DA05204EFE65208EF065204EF025202880092
S1131DB073300AFFC4EE2EFFE2EFF35280EF0E52AF
S1131DC040EF0A5220EF065210EF025208880073C7
S1131DD03009FFEFDF5204EFF41662D3DF057CFF16
S1131DE05D9BD76D9BD716627CFF5D9BD75270308D
S1131DF02FFFFEF1FF52093020FFFEE9FF520530AC
S1131E0023FFFEE1FF52033027FFFED9FF52F030DB
S1131E102AFFFED1FF52F03025FFFEC9FF521930D0
S1131E2021FFFEC1FF5A0F8F5A00F65A03FA5A07D0
S1131E30FC5A0A0F5A050F5A01E6D7C19175318E23
S1131E4012654C14DE121312490034311C9EFC79C5
S1131E50D83361CB5210EF04C0D7522088007330BE
S1131E600FFFEF51E28800733000FFEF485240EF5C
S1131E70EBE28800733003FFEF3B5204EFF45208A7
S1131E80EFE3E28800733007FFEF2A5202EFF452C7
S1131E9010EF065220EF025240880073300AFFEF21
S1131EA0145280EFF45280EF065240EF0252208821
S1131EB000733005FFC4EE20FF5210EFF2E2EF0290
S1111EC052088800733001FFEFEB5210EFF46C
S1130DD0D7F40DCF56000CCE2FFFD7C1C79800D142
S1130DE0DD044C15DC031004D7318E12311C88024B
S1130DF0D179463116880073097031DF057CFF5DB7
S1130E00EF016D9BEFE0C7F1819800F0FECCFF8805
S1130E10004C14DFF3C0D7C79800D1DD044C15DCB7
S1130E2002C0D7FEE0FF8800E0C2EFAFD1DD044C82
S1130E301561C8D7D0DF03F0EFA1EFDBEFC8CD0712
S1130E4002D7F407D75A07FE51FE5F27FF9E27D724
S1130E50E16F27FF9E27D7E15B07318ED734370038
S1130E608A20718A9A2089718A99EFE4FED6FFF765
S1130E70303200FCBB1B00FED6FFF7303200ECBB67
S1130E801B00FECBFFF730C800FCBB1B00F7302C67
S1130E9001FCBB1B00EFAEC7FEAAFFF730FA00FC53
S1130EA0BB1B00C80003FEA7FFF7303C00FCBB1BC4
S1130EB000FE91FFF7302800FCBB1B0088009198CE
S1130EC000DFE3FE8AFFF730FA00FCBB1B00FE7470
S1130ED0FFF7303200FCBB1B00C0EE73FF2004613F
S1130EE06832C84161F8329642F6FC6A3700B802AB
S1130EF0C0C3FE5BFFA802123064002314C2C3F611
S1130F0061D8B1231215FCBB1B00FE38FFC2C3A875
S1130F10021004ECBB1B00C1C73007FFB800C802B5
S1130F2008A80060738803318ED3EF03311E93DF6A
S1130F30FB31FD31FEFEA5FF8802919802A800B1A5
S1130F40B800DFDF1004EE07FFC7F6B800FE07FFA6
S1130F5014A80004F4011215616813DF140161D3AD
S1130F600BF7E6FCBB1B00A800B1EFDFA80004F3FD
S1130F70010161C30B308631FC601A0051FFC2D7F6
S1130F80F7303200FCBB1B00FECCFEB800F7301E6D
S1130F9000FCBB1B008800C2D72004F19802300774
S1130FA0FFB800C80308FEA0FF72C4C564736231B1
S1130FB08ED3EF020193DFFC8802616898028803F4
S1130FC0919803B5C0C5DFDE88021004D7C120980C
S1130FD0F713B802AEF8041600B800A8987C80B8DD
S1130FE004637C8073A8043343DE12FEABFF73C436
S1130FF0C56399A802A112B802A515EFDC881631C1
S11310008EC1AEF8040800B80214329431300F0FC8
S1131010FCA43700C0C2C3AEF8040E00B800FC9DA7
S11310203800A800FC601A00AEF8041700B898E66F
S1131030B8027C8012A8043343DE57A89814F78AB8
S1131040019800899801301027FCA51B0088003105
S11310508EC18803318EC1AEF8040A00B80414327C
S11310609A31300F0FFCA437001004C2C3AEF80449
S11310700E00B800FC9D3800A800FC601A00F73090
S11310801027FCA51B00A898A1A1B898A802A1A1AB
S1131090EF9E109AD7C3C1209AFC2E1B008F20B05C
S11310A098024C0461E8EE4F02F614B8083010B010
S11310B0B80615B800128802318E6C8016157C8033
S11310C047DE52A80614AA0216A914C7C5AEF8042E
S11310D01D00B808031432CC31300F0FFCA43700C4
S11310E0100412A80003B8008F20B09802318E6C4F
S11310F08012A808A114B808157C8043DE0CC2C372
S1131100A8040316A3CC002CC0C3A806040400B88A
S113111006A800EFA0AEF8041900B80A0314F6B844
S113112008CA002CCD0702F730581BFCBB1B00A8D3
S113113000A1B806FE60FDA808312D04A431B80052
S1131140C80204C4C589FECEFD8802919802A80095
S1131150A1B800DFEEFE2AFDF730F401FCBB1B0052
S1131160530DAEF8040C0014CA00FF93A5DFF9F682
S1131170B804F730F401FCBB1B00FE1AFD5151FE0C
S113118095FDC8020DAEF8040C00B800FE0AFE730B
S1131190C4C563998802919802A5C0C5DFEEFEE13B
S11311A0FC530DAEF8040C00148981DF1893A5DFFD
S11311B0F8A80444020061F8EE0601A1B8047C809A
S11311C0440380DCAD880E318EC1880F318EC1A8F6
S11311D00A12A80E031432D131300F0FFCA43700C9
S11311E0100412A8060312A80A0314A3CA002C139D
S11311F0B806A808A1B8087C8044068061D8EE33FC
S1131200FF889C4C0361E8EEBC00A89A616861F811
S1131210EEB300F6B804FE7EFC889D61019802FEE0
S1131220F5FCC89C03A89A14B80089FEE9FC889CC4
S113123091989CA800A114B800DFEFFE44FCF7309D
S1131240F401FCBB1B00530DAEF8040C0014CA00DF
S1131250FF93A5DFF9FE3FFC8802718AFEB8FCC843
S11312609C0DAEF8040C00B800FE2DFD73C4C563DC
S113127099889C91989CA5C0C5DFEEFE04FC530D93
S1131280AEF8040C00148981DF1893A5DFF8A804D4
S1131290440200DD2CA1B8047C8044038061D8EEB4
S11312A074FF880E318EC1880F318EC1A80A12A82E
S11312B00E031432DA31300F0FFCA437001004EFA0
S11312C013F407109ED7A80A031432E331300F0F2A
S11312D0FCA4370012A8060312A80A33031413CA85
S11312E0000DA5CA000AA5CA0000FC601A00F73068
S11312F01027FCA51B00EFC930BC31FC601A00EFBD
S1131300C22098F6B808B806FE8CFBA808312D0454
S1131310E831B800C80204C4C589FEFAFB8802910A
S11313209802A800A1B800DFEEFE56FBF730F401E6
S1131330FCBB1B00530DAEF8040A0014CA00FF9353
S1131340A5DFF9F6B804F730F401FCBB1B00FE4638
S1131350FB5151FEC1FBC8020DAEF8040A00B800EF
S1131360FE36FC73C4C563998802919802A5C0C572
S1131370DFEEFE0DFB530DAEF8040A00148981DF85
S11313801593A5DFF8A804440200DD72A1B8047C1B
S113139080440380DCB0880C318EC1880D318EC14D
S11313A0A80A12AEF8041B00B80403143210323039
S11313B00F0FFCA43700100412A8060314A8081287
S11313C07C80440980DE08A8000516A5CC002CA367
S11313D013B808137C80440A801561D8EE27FFA84F
S11313E00012051413CA000DA5CA000AA5CA0000FC
S11313F0FC601A00F7301027FCA51B00EF02F4076D
S11314001098D7F407301932EC601A00C1C3C7CD65
S11314100702F6B800F730581BFCBB1B00F730641A
S113142000FE39FAFE70FA88036101FEE9FA8802C7
S1131430318E6C8012A8007C8043DE13A8041489CA
S1131440FED4FAA800A1B800A804A1B804EFDFFEF6
S113145030FA301E321006EC601A00C1C3C763981C
S113146000FE33FA88006101FEACFAF7C0C38802BB
S1131470318E6C8014137C8045DE14A8041489FE1C
S113148095FAA800A112B800A804A1B804EFDFFEE1
S1131490F0F93023321006EC601A0020FE20FE2002
S11314A074B804629800FEEEF98800610181FE665A
S11314B0FAF713B802AEF8041800B800A8047C8048
S11314C0B806637C8073A8063343DE12FECAFA733F
S11314D0C4C56399A802A112B802A515EFDC881847
S11314E0318EC1AEF8040A00B80214322832300F2B
S11314F00FFCA43700C0C2C3AEF8041000B800FC4F
S11315009D3800A800FC601A00AEF8041900B80267
S1131510F6B804A80612A804A1147C8043DE7C1546
S1131520A1B8047C8043A80214F7899801DE298AB3
S1131530019800301027FCA51B008800318EC1885B
S113154003318EC1AEF8040C0014322E32300F0F6A
S1131550FCA437001004EF1D301027FCA51B0088E5
S113156001318EC1AEF8040A0014323832300F0F44
S1131570FCA43700C0AEF804080012040800B80048
S1131580FC9D3800A800FC601A00F7301027FCA569
S11315901B00A802A1A1B802EE78FF303D32FC6026
S11315A01A0010FE10FE1074D7340200320EB03050
S11315B06450FCCA0B00616861F8D7304032EC60BB
S11315C01A00CD0702D7F407D7C3C120AAAEF80486
S11315D01700B808341200325232FC863700F6B8CD
S11315E000340D00F7AEF8040A00FC963700C80A70
S11315F000FC2E1B004020B00461E8EED901F6B8CF
S113160002F743DD1D04FFFFDD2004FFFFDD23049B
S1131610FFFFDD26A343F612DF34DB1EB0AF1CB0A0
S1131620EF2CDB12B0AF10B0EF24DB16B0AF14B068
S1131630EF1CDB1AB0AF18B0EF14AF1AB0C1AF187B
S1131640B0C1DB16B0AF14B0FC7034001004C3C1D9
S1131650A80412AEF8042D00B80A03143274323010
S11316600F0FFCA43700100412A8000312A80603ED
S113167014A3CA002CC0C3A802A1B802440500DD0B
S113168005A802EE7BFFE730A086FCA51B00F6B898
S113169004A8081288AD610198023403005064FC68
S11316A0CA0B00F74361E8EE2301301027FCA51BA9
S11316B000AEF8040A00128802340D005064FC09DC
S11316C00C00F74361E8EEFF00301027FCA51B0077
S11316D0880C318EC1880D318EC1A80412A80A036A
S11316E01432A032300F0FFCA43700100412A800EB
S11316F003B800A804127C80440580DE0CC4C5A88D
S1131700060516A5CC002CC0C5A808040300B8081B
S1131710A313B804137C8044068061D8EE72FFC220
S1131720C3A80603B8041488ACD1CA002CDD06A8EB
S1131730AA6168DF0DA532E932300F0FFCA437002F
S1131740EF5288AC318E14A8AA1288025064FCCAE5
S11317500B00F743DF6DA330A086FCA51B00AEF899
S1131760040A00128802340D005064FC090C00F7CE
S113177043DF4B301027FCA51B00880C318EC18839
S11317800D318EC1A80814A532E032300F0FFCA42D
S11317903700100412A8000312A806330316A1147C
S11317A017CA000DA5040300CA000A1413CA0000D6
S11317B0FC601A00F7301027FCA51B00EF1630C39D
S11317C032EF0D30A932EF08308B32EF033079322B
S11317D0FC601A0010AED7306432EFF4C120B4AE0E
S11317E0F8041500B806341E0032EE32FC863700C9
S11317F0F6B804340D00F7AEF8040800FC96370080
S1131800C80800F6B802A8061288B5610198003429
S113181003005064FCCA0B00F74361E8EE9C0030FF
S11318201027FCA51B00AEF8040800128800340D34
S1131830005064FC090C00F743DF76301027FCA548
S11318401B00880A318EC1880B318EC1A80612AEE6
S1131850F8043700B8040314323333300F0FFCA4F8
S11318603700100412A8020314A804127C8044094F
S113187080DE08A8000516A5CC002CA806040300E9
S1131880B806A313B804137C80440A801561D8EE0B
S113189072FFA80012051413CA000DA5CA000AA5F8
S11318A0CA0000FC601A00F7301027FCA51B00EFEB
S11318B007301E33FC601A0010B6D7300C33EFF437
S11318C0C1C3FC700B00CD0702320F00304042FC54
S11318D0A51B008800318E14A802128801610150F2
S11318E064FCCA0B006168DF09304E331004EC60FD
S11318F01A00303C33EFF5C71663980062318E143A
S1131900C7C2880061015064FCCA0B006168DF082B
S1131910306533C2EC601A00305333EFF620FE20FA
S1131920FE207C3410009802609803F6B804F7AEE9
S1131930F8041000FC963700340800F7AEF80408E9
S113194000FC963700AEF8042000B800345802F7C3
S1131950FC9637008802318EB80614C2C38803612E
S11319600150E8FC090C00F74361E8EED800520F7F
S1131970304042FCA51B008820318EC1AEF8041211
S113198000B80214327F33300F0FFCA43700C0C2FA
S1131990C3AEF8040800FC9D3800A800FC601A00DF
S11319A0F7301027FCA51B00AEF8042100B802A8EC
S11319B0066C8012A804A1147C8043DE7B15A1B8B8
S11319C0047C8043A80214F7899801DE298A0198CF
S11319D000301027FCA51B008800318EC18803311C
S11319E08EC1AEF804140014328533300F0FFCA4FA
S11319F037001004EF2A301027FCA51B00880131A2
S1131A008EC1AEF8041200B80214328F33300F0FB7
S1131A10FCA43700C0C2C3AEF8040800FC9D380023
S1131A20AEF8041000FC601A00F7301027FCA51B68
S1131A3000A802A1A1EE75FF309433FC601A0010D7
S1131A40FE10FE107CD7306A33EFF0D1DF045A0465
S1131A50DFD76A0420D751DF5F24FF9E24F1EFEB28
S1131A60C1C7F6B800A8021489D1DD08A800A1B83E
S1131A7000A5EFF4E1FED3FFC2C3A8021004EC4EAC
S1131A800A0016F71489D1DD04A3A5EFF817EC4A70
S1131A900B00C775314A74318E12655C0F77644C44
S1131AA00A343000DC081304F6FF14324100150335
S1131AB060980067318E12674C0A343000DC0813DA
S1131AC004F6FF143241001503609801E1FE7BFF28
S1131AD0E7A3AEF8FC4E0A00F7301027FCA51B0064
S1131AE0C0D7C775314A74318E12655C0F77644C68
S1131AF00A343000DC081304F6FF143241001503E5
S1131B0060980067318E12674C0A343000DC081389
S1131B1004F6FF143241001503609801E7A3AEF800
S1131B20FC4A0B00F7301027FCA51B00C0D7200887
S1131B30F520B03010B0B800C8020434983315B89A
S1131B4004899E31FCAE0D003184E3FC710BE3AEDD
S1131B50F8040600FCCA0D00FCB80D00A806F7FC4A
S1131B6076370014307F44C13000C0C115FCAE3557
S1131B700014100430A140C13085EBC115FCC836F7
S1131B8000161004A020B0C4C513BA0217B9A800E7
S1131B90040400B8008802919802A804A114B804AF
S1131BA0DF9F1008D70401001461D8A31504FFFFB8
S1131BB01461C8B31305DFF4DCF2D7200EB80213A6
S1131BC0B804A804F743A80261F8449700A804DE07
S1131BD00A5264CEFB02326400EF08526ACEFB0262
S1131BE0326A0016A802CEFB011417031215043240
S1131BF0001461D8A315360000346400CEFB0B003A
S1131C001413B80C15B80AF6B808B806A80816A82C
S1131C1006B800A80C12A80A141743A80061F845D6
S1131C20DE1300A80814A806040100121561D8A147
S1131C30B80813EFD5100ED7200414F6B802A80282
S1131C4012154361D314F6B800A800442003DE053E
S1131C50A800A1EFF2A802A1EFE21004D7513E6F51
S1131C6028FF9E28D78D08311A5C1F7C1FD7FEF4ED
S1131C70FF81D71662D3DF057CFF5DEF016D9B7199
S1131C803A2FD7517F5F24FF9E24517F5F2FFF9E01
S1131C902F3280003004FFFED9FF328000300FFF66
S1131CA0FED0FFFC001D00ECF31D007352803004D5
S1131CB0FFEFC0735280300FFFEFB8FC471D00FCEC
S1131CC02B1E00EC3C0E00D1DD044C1561C8D79FDF
S1131CD022B0EFE7708F22B0EC2C0E00708F22B090
S1131CE0EC571D00708F22B0EC411E001662D3DF4A
S1131CF0057CFF5D9BD76D9BD716627CFF5D9BD7F0
S1131D00520F302FFFFEF1FFE2302CFFFEEAFF52AC
S1131D1020302CFFFEE2FF52023020FFFEDAFF5299
S1131D2040302CFFFED2FF5280302CFFFECAFF52FF
S1131D30043020FFFEC2FF520F302AFFFEBAFF52CA
S1131D40FC3029FFFEB2FF5A0FF05A0C1E5A00F95C
S1131D505A0AF05A0903D7C19175318E12654C1491
S1131D60DE12131249C433311C9EFC799C3361CBBF
S1131D705208EF08C0D75204EF02520288007330B1
S1131D800FFFEF36E2EFF5E2EF105220EF0C5202B4
S1131D908800733000FFEF225240880073300CFF3C
S1131DA0EF185280EFF45204EFE65208EF065204A3
S1131DB0EF025202880073300AFFC4EE2EFFE2EFF6
S1131DC0F35280EF0E5240EF0A5220EF065210EF0A
S1131DD00252088800733009FFEFDF5204EFF41653
S1131DE062D3DF057CFF5D9BD76D9BD716627CFFBA
S1131DF05D9BD75270302FFFFEF1FF52093020FF58
S1131E00FEE9FF52053023FFFEE1FF52033027FFB6
S1131E10FED9FF52F0302AFFFED1FF52F03025FFE9
S1131E20FEC9FF52193021FFFEC1FF5A0F8F5A001D
S1131E30F65A03FA5A07FC5A0A0F5A050F5A01E6D2
S1131E40D7C19175318E12654C14DE1213124900FC
S1131E5034311C9EFC79D83361CB5210EF04C0D7C7
S1131E605220880073300FFFEF51E2880073300076
S1131E70FFEF485240EFEBE28800733003FFEF3B83
S1131E805204EFF45208EFE3E28800733007FFEFE7
S1131E902A5202EFF45210EF065220EF0252408809
S1131EA00073300AFFEF145280EFF45280EF0652B1
S1131EB040EF0252208800733005FFC4EE20FF5229
S1131EC010EFF2E2EF0252088800733001FFEFEBEB
S1071ED05210EFF4C5
S1133000556E6B6E6F776E20636D640D0A004572AA
S1133010723A585F7072656669780D0A004572727B
S11330203A616464725F72616E67650D0A0045728D
@ -549,13 +550,13 @@ S11333500D0A004932432053656E64204661696C4E
S113336065640D0A0035310D0A0049324320526567
S11333706365697665204661696C65640D0A00259C
S1133380303258200025303258253032582000255C
S1133390303258000D0A0000020304056A1D701D36
S11333A0741D7E1D811D841D881D921D9C1DA01DE4
S11333B0A41DA81DAC1DB81DBB1DBF1DC31DC71D6D
S11333C0CB1DD51D0000000000000000000000001F
S11333D00000000000000000541E5A1E641E6D1EF2
S11333E0711E7A1E7E1E821E8B1E8F1E931E971EBA
S11333F0A11EA51EA91EAD1EB91EBD1EC01ECA1E3D
S1133390303258000D0A000002030405701D761D2A
S11333A07A1D841D871D8A1D8E1D981DA21DA61DB4
S11333B0AA1DAE1DB21DBE1DC11DC51DC91DCD1D3D
S11333C0D11DDB1D00000000000000000000000013
S11333D000000000000000005A1E601E6A1E731EDA
S11333E0771E801E841E881E911E951E991E9D1E8A
S11333F0A71EAB1EAF1EB31EBF1EC31EC61ED01E0D
S113340000000000000000000000000000000000B8
S107341000000000B4
S1133414F7F6D7C031730AA8040514880661121597

BIN
DefaultBuild/owi.obj

Binary file not shown.

BIN
DefaultBuild/r_cg_adc.obj

Binary file not shown.

BIN
DefaultBuild/r_cg_adc_user.obj

Binary file not shown.

BIN
DefaultBuild/r_cg_cgc.obj

Binary file not shown.

BIN
DefaultBuild/r_cg_cgc_user.obj

Binary file not shown.

BIN
DefaultBuild/r_cg_port.obj

Binary file not shown.

BIN
DefaultBuild/r_cg_port_user.obj

Binary file not shown.

BIN
DefaultBuild/r_cg_serial.obj

Binary file not shown.

BIN
DefaultBuild/r_cg_serial_user.obj

Binary file not shown.

BIN
DefaultBuild/r_cg_wdt.obj

Binary file not shown.

BIN
DefaultBuild/r_cg_wdt_user.obj

Binary file not shown.

BIN
DefaultBuild/r_main.obj

Binary file not shown.

BIN
DefaultBuild/r_systeminit.obj

Binary file not shown.

BIN
DefaultBuild/uart.obj

Binary file not shown.

465
QualityReport(multical,DefaultBuild).txt

@ -1,28 +1,301 @@
QualityReport
2026년 1월 14일 수요일 오후 6:55:13
2026년 1월 15일 목요일 오후 4:25:01
------ 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 anaout.c -cpu=S3 -o DefaultBuild\anaout.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 gatectrl.c -cpu=S3 -o DefaultBuild\gatectrl.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 r_cg_serial_user.c -cpu=S3 -o DefaultBuild\r_cg_serial_user.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
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.15.00\Bin\ccrl.exe uart.c -cpu=S3 -o DefaultBuild\uart.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 "..\IDH1.1" specified by the "-I" option is not found.
W0511186:The evaluation period for the option "-Odefault" of CC-RL V1 is valid for the remaining 59 days. After that, it will be implicitly changed to "-Olite". Please consider purchasing the product to continue using "-Odefault".
owi.h(47):W0523076:Function declarations should have prototype
i2c.h(8):W0520047:Incompatible redefinition of macro "RAM_BYTES" (declared at line 9 of "uart.h")
r_main.c(115):W0520172:External/internal linkage conflict with previous declaration
r_main.c(133):W0523077:Called function should have prototype
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.
W0511186:The evaluation period for the option "-Odefault" of CC-RL V1 is valid for the remaining 59 days. After that, it will be implicitly changed to "-Olite". Please consider purchasing the product to continue using "-Odefault".
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.
W0511186:The evaluation period for the option "-Odefault" of CC-RL V1 is valid for the remaining 59 days. After that, it will be implicitly changed to "-Olite". Please consider purchasing the product to continue using "-Odefault".
W0511186:The evaluation period for the option "-Odefault" of CC-RL V1 is valid for the remaining 59 days. After that, it will be implicitly changed to "-Olite". Please consider purchasing the product to continue using "-Odefault".
owi.h(47):W0523076:Function declarations should have prototype
uart.c(10):E0520020:Identifier "ADC_NUM_CH" is undefined
owi.c(390):W0523077:Called function should have prototype
owi.c(399):W0523077:Called function should have prototype
owi.c(478):W0523077:Called function should have prototype
owi.c(479):E0520020:Identifier "g_adc_len" is undefined
owi.c(479):E0520020:Identifier "ADC_NUM_CH" is undefined
owi.c(484):E0520020:Identifier "g_adc_bytes" is undefined
owi.c(485):W0523077:Called function should have prototype
owi.c(527):W0523077:Called function should have prototype
owi.c(561):W0523077:Called function should have prototype
owi.c(563):W0523077:Called function should have prototype
owi.c(665):W0523077:Called function should have prototype
owi.c(628):W0520177:Variable "v" was declared but never referenced
owi.c(697):W0523076:Function declarations should have prototype
owi.c(740):W0520177:Variable "rx" was declared but never referenced
owi.c(741):W0520177:Variable "uart_buf" was declared but never referenced
owi.c(794):W0520177:Variable "rx" was declared but never referenced
owi.c(795):W0520177:Variable "uart_buf" was declared but never referenced
owi.c(857):W0523077:Called function should have prototype
owi.c(869):W0523077:Called function should have prototype
owi.c(876):W0523077:Called function should have prototype
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.15.00\Bin\ccrl.exe i2c.c -cpu=S3 -o DefaultBuild\i2c.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 "..\IDH1.1" specified by the "-I" option is not found.
W0511186:The evaluation period for the option "-Odefault" of CC-RL V1 is valid for the remaining 59 days. After that, it will be implicitly changed to "-Olite". Please consider purchasing the product to continue using "-Odefault".
i2c.h(8):W0520047:Incompatible redefinition of macro "RAM_BYTES" (declared at line 9 of "uart.h")
uart.h(9):W0520047:Incompatible redefinition of macro "RAM_BYTES" (declared at line 8 of "i2c.h")
i2c.c(142):W0523077:Called function should have prototype
i2c.c(143):E0520020:Identifier "g_adc_len" is undefined
i2c.c(154):E0520020:Identifier "g_adc_bytes" is undefined
i2c.c(170):W0523077:Called function should have prototype
i2c.c(195):W0523077:Called function should have prototype
i2c.c(206):W0520167:Argument of type "const uint8_t *__near" is incompatible with parameter of type "uint8_t *const __near"
i2c.c(218):W0523077:Called function should have prototype
i2c.c(220):W0523077:Called function should have prototype
i2c.c(299):W0523077:Called function should have prototype
i2c.c(359):W0520167:Argument of type "const uint8_t *__near" is incompatible with parameter of type "uint8_t *const __near"
i2c.c(351):W0520177:Variable "uart_buf" was declared but never referenced
i2c.c(352):W0520177:Variable "j" was declared but never referenced
i2c.c(353):W0520177:Variable "rx" was declared but never referenced
i2c.c(404):W0520167:Argument of type "const uint8_t *__near" is incompatible with parameter of type "uint8_t *const __near"
i2c.c(400):W0520177:Variable "uart_buf" was declared but never referenced
i2c.c(401):W0520177:Variable "j" was declared but never referenced
i2c.c(402):W0520177:Variable "rx" was declared but never referenced
i2c.c(458):W0520069:Integer conversion resulted in truncation
i2c.c(464):W0523077:Called function should have prototype
i2c.c(474):W0523077:Called function should have prototype
i2c.c(479):W0523077:Called function should have prototype
i2c.c(447):W0520177:Variable "j" was declared but never referenced
i2c.c(450):W0520177:Variable "status" was declared but never referenced
i2c.c(451):W0520177:Variable "tries" was declared but never referenced
------ Build ended(Error:6, Warning:61)(multical, DefaultBuild) ------
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.15.00\Bin\ccrl.exe uart.c -cpu=S3 -o DefaultBuild\uart.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 "..\IDH1.1" specified by the "-I" option is not found.
W0511186:The evaluation period for the option "-Odefault" of CC-RL V1 is valid for the remaining 59 days. After that, it will be implicitly changed to "-Olite". Please consider purchasing the product to continue using "-Odefault".
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 "..\IDH1.1" specified by the "-I" option is not found.
W0511186:The evaluation period for the option "-Odefault" of CC-RL V1 is valid for the remaining 60 days. After that, it will be implicitly changed to "-Olite". Please consider purchasing the product to continue using "-Odefault".
W0511186:The evaluation period for the option "-Odefault" of CC-RL V1 is valid for the remaining 60 days. After that, it will be implicitly changed to "-Olite". Please consider purchasing the product to continue using "-Odefault".
W0511186:The evaluation period for the option "-Odefault" of CC-RL V1 is valid for the remaining 60 days. After that, it will be implicitly changed to "-Olite". Please consider purchasing the product to continue using "-Odefault".
W0511186:The evaluation period for the option "-Odefault" of CC-RL V1 is valid for the remaining 59 days. After that, it will be implicitly changed to "-Olite". Please consider purchasing the product to continue using "-Odefault".
owi.h(47):W0523076:Function declarations should have prototype
i2c.h(8):W0520047:Incompatible redefinition of macro "RAM_BYTES" (declared at line 11 of "uart.h")
r_main.c(116):W0520172:External/internal linkage conflict with previous declaration
r_main.c(134):W0523077:Called function should have prototype
owi.c(390):W0523077:Called function should have prototype
owi.c(399):W0523077:Called function should have prototype
owi.c(478):W0523077:Called function should have prototype
owi.c(479):E0520020:Identifier "g_adc_len" is undefined
owi.c(479):E0520020:Identifier "ADC_NUM_CH" is undefined
owi.c(484):E0520020:Identifier "g_adc_bytes" is undefined
owi.c(485):W0523077:Called function should have prototype
owi.c(527):W0523077:Called function should have prototype
owi.c(561):W0523077:Called function should have prototype
owi.c(563):W0523077:Called function should have prototype
owi.c(665):W0523077:Called function should have prototype
owi.c(628):W0520177:Variable "v" was declared but never referenced
owi.c(697):W0523076:Function declarations should have prototype
owi.c(740):W0520177:Variable "rx" was declared but never referenced
owi.c(741):W0520177:Variable "uart_buf" was declared but never referenced
owi.c(794):W0520177:Variable "rx" was declared but never referenced
owi.c(795):W0520177:Variable "uart_buf" was declared but never referenced
owi.c(857):W0523077:Called function should have prototype
owi.c(869):W0523077:Called function should have prototype
owi.c(876):W0523077:Called function should have prototype
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.15.00\Bin\ccrl.exe i2c.c -cpu=S3 -o DefaultBuild\i2c.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 "..\IDH1.1" specified by the "-I" option is not found.
W0511186:The evaluation period for the option "-Odefault" of CC-RL V1 is valid for the remaining 59 days. After that, it will be implicitly changed to "-Olite". Please consider purchasing the product to continue using "-Odefault".
i2c.h(8):W0520047:Incompatible redefinition of macro "RAM_BYTES" (declared at line 9 of "uart.h")
uart.h(9):W0520047:Incompatible redefinition of macro "RAM_BYTES" (declared at line 8 of "i2c.h")
i2c.c(142):W0523077:Called function should have prototype
i2c.c(143):E0520020:Identifier "g_adc_len" is undefined
i2c.c(154):E0520020:Identifier "g_adc_bytes" is undefined
i2c.c(170):W0523077:Called function should have prototype
i2c.c(195):W0523077:Called function should have prototype
i2c.c(206):W0520167:Argument of type "const uint8_t *__near" is incompatible with parameter of type "uint8_t *const __near"
i2c.c(218):W0523077:Called function should have prototype
i2c.c(220):W0523077:Called function should have prototype
i2c.c(299):W0523077:Called function should have prototype
i2c.c(359):W0520167:Argument of type "const uint8_t *__near" is incompatible with parameter of type "uint8_t *const __near"
i2c.c(351):W0520177:Variable "uart_buf" was declared but never referenced
i2c.c(352):W0520177:Variable "j" was declared but never referenced
i2c.c(353):W0520177:Variable "rx" was declared but never referenced
i2c.c(404):W0520167:Argument of type "const uint8_t *__near" is incompatible with parameter of type "uint8_t *const __near"
i2c.c(400):W0520177:Variable "uart_buf" was declared but never referenced
i2c.c(401):W0520177:Variable "j" was declared but never referenced
i2c.c(402):W0520177:Variable "rx" was declared but never referenced
i2c.c(458):W0520069:Integer conversion resulted in truncation
i2c.c(464):W0523077:Called function should have prototype
i2c.c(474):W0523077:Called function should have prototype
i2c.c(479):W0523077:Called function should have prototype
i2c.c(447):W0520177:Variable "j" was declared but never referenced
i2c.c(450):W0520177:Variable "status" was declared but never referenced
i2c.c(451):W0520177:Variable "tries" was declared but never referenced
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.15.00\Bin\ccrl.exe i2c.c -cpu=S3 -o DefaultBuild\i2c.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 "..\IDH1.1" specified by the "-I" option is not found.
W0511186:The evaluation period for the option "-Odefault" of CC-RL V1 is valid for the remaining 59 days. After that, it will be implicitly changed to "-Olite". Please consider purchasing the product to continue using "-Odefault".
i2c.h(8):W0520047:Incompatible redefinition of macro "RAM_BYTES" (declared at line 9 of "uart.h")
uart.h(9):W0520047:Incompatible redefinition of macro "RAM_BYTES" (declared at line 8 of "i2c.h")
i2c.c(153):W0523077:Called function should have prototype
i2c.c(213):W0520167:Argument of type "const uint8_t *__near" is incompatible with parameter of type "uint8_t *const __near"
i2c.c(205):W0520177:Variable "uart_buf" was declared but never referenced
i2c.c(206):W0520177:Variable "j" was declared but never referenced
i2c.c(207):W0520177:Variable "rx" was declared but never referenced
i2c.c(258):W0520167:Argument of type "const uint8_t *__near" is incompatible with parameter of type "uint8_t *const __near"
i2c.c(254):W0520177:Variable "uart_buf" was declared but never referenced
i2c.c(255):W0520177:Variable "j" was declared but never referenced
i2c.c(256):W0520177:Variable "rx" was declared but never referenced
i2c.c(312):W0520069:Integer conversion resulted in truncation
i2c.c(318):W0523077:Called function should have prototype
i2c.c(328):W0523077:Called function should have prototype
i2c.c(333):W0523077:Called function should have prototype
i2c.c(301):W0520177:Variable "j" was declared but never referenced
i2c.c(304):W0520177:Variable "status" was declared but never referenced
i2c.c(305):W0520177:Variable "tries" was declared but never referenced
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 "..\IDH1.1" specified by the "-I" option is not found.
W0511186:The evaluation period for the option "-Odefault" of CC-RL V1 is valid for the remaining 59 days. After that, it will be implicitly changed to "-Olite". Please consider purchasing the product to continue using "-Odefault".
owi.h(47):W0523076:Function declarations should have prototype
owi.c(390):W0523077:Called function should have prototype
owi.c(399):W0523077:Called function should have prototype
owi.c(478):W0523077:Called function should have prototype
owi.c(479):E0520020:Identifier "g_adc_len" is undefined
owi.c(479):E0520020:Identifier "ADC_NUM_CH" is undefined
owi.c(484):E0520020:Identifier "g_adc_bytes" is undefined
owi.c(485):W0523077:Called function should have prototype
owi.c(527):W0523077:Called function should have prototype
owi.c(561):W0523077:Called function should have prototype
owi.c(563):W0523077:Called function should have prototype
owi.c(665):W0523077:Called function should have prototype
owi.c(628):W0520177:Variable "v" was declared but never referenced
owi.c(697):W0523076:Function declarations should have prototype
owi.c(740):W0520177:Variable "rx" was declared but never referenced
owi.c(741):W0520177:Variable "uart_buf" was declared but never referenced
owi.c(794):W0520177:Variable "rx" was declared but never referenced
owi.c(795):W0520177:Variable "uart_buf" was declared but never referenced
owi.c(857):W0523077:Called function should have prototype
owi.c(869):W0523077:Called function should have prototype
owi.c(876):W0523077:Called function should have prototype
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 "..\IDH1.1" specified by the "-I" option is not found.
W0511186:The evaluation period for the option "-Odefault" of CC-RL V1 is valid for the remaining 59 days. After that, it will be implicitly changed to "-Olite". Please consider purchasing the product to continue using "-Odefault".
owi.h(47):W0523076:Function declarations should have prototype
owi.c(390):W0523077:Called function should have prototype
owi.c(399):W0523077:Called function should have prototype
owi.c(543):W0523077:Called function should have prototype
owi.c(506):W0520177:Variable "v" was declared but never referenced
owi.c(575):W0523076:Function declarations should have prototype
owi.c(618):W0520177:Variable "rx" was declared but never referenced
owi.c(619):W0520177:Variable "uart_buf" was declared but never referenced
owi.c(672):W0520177:Variable "rx" was declared but never referenced
owi.c(673):W0520177:Variable "uart_buf" was declared but never referenced
owi.c(735):W0523077:Called function should have prototype
owi.c(747):W0523077:Called function should have prototype
owi.c(754):W0523077:Called function should have prototype
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.15.00\Bin\rlink.exe -subcommand=DefaultBuild\multical.clnk
W0561018:The evaluation period of CC-RL V1 is valid for the remaining 60 days. After that, functional limit will be applied. Please consider purchasing the product.
W0561018:The evaluation period of CC-RL V1 is valid for the remaining 60 days. After that, functional limit will be applied. Please consider purchasing the product.
Renesas Optimizing Linker Completed
------ Build ended(Error:0, Warning:15)(multical, DefaultBuild) ------
W0561018:The evaluation period of CC-RL V1 is valid for the remaining 59 days. After that, functional limit will be applied. Please consider purchasing the product.
E0562310:Undefined external symbol "_g_dut_map" referenced in "DefaultBuild\gatectrl.obj"
E0562310:Undefined external symbol "_I2C_A_Command_Mode_receiveData" referenced in "DefaultBuild\r_main.obj"
E0562310:Undefined external symbol "_OWI_A_CommandMode" referenced in "DefaultBuild\r_main.obj"
Renesas Optimizing Linker Abort
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 "..\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.
W0511186:The evaluation period for the option "-Odefault" of CC-RL V1 is valid for the remaining 59 days. After that, it will be implicitly changed to "-Olite". Please consider purchasing the product to continue using "-Odefault".
W0511186:The evaluation period for the option "-Odefault" of CC-RL V1 is valid for the remaining 59 days. After that, it will be implicitly changed to "-Olite". Please consider purchasing the product to continue using "-Odefault".
owi.h(46):W0523076:Function declarations should have prototype
owi.c(390):W0523077:Called function should have prototype
owi.c(399):W0523077:Called function should have prototype
owi.c(543):W0523077:Called function should have prototype
owi.h(46):W0523076:Function declarations should have prototype
owi.c(506):W0520177:Variable "v" was declared but never referenced
i2c.h(8):W0520047:Incompatible redefinition of macro "RAM_BYTES" (declared at line 9 of "uart.h")
owi.c(575):W0523076:Function declarations should have prototype
r_main.c(115):W0520172:External/internal linkage conflict with previous declaration
owi.c(618):W0520177:Variable "rx" was declared but never referenced
r_main.c(132):W0523077:Called function should have prototype
owi.c(619):W0520177:Variable "uart_buf" was declared but never referenced
r_main.c(133):W0523077:Called function should have prototype
owi.c(672):W0520177:Variable "rx" was declared but never referenced
owi.c(673):W0520177:Variable "uart_buf" was declared but never referenced
owi.c(735):W0523077:Called function should have prototype
owi.c(747):W0523077:Called function should have prototype
owi.c(754):W0523077:Called function should have prototype
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.15.00\Bin\rlink.exe -subcommand=DefaultBuild\multical.clnk
W0561018:The evaluation period of CC-RL V1 is valid for the remaining 59 days. After that, functional limit will be applied. Please consider purchasing the product.
E0562310:Undefined external symbol "_g_dut_map" referenced in "DefaultBuild\gatectrl.obj"
E0562310:Undefined external symbol "_I2C_A_Command_Mode_receiveData" referenced in "DefaultBuild\r_main.obj"
E0562310:Undefined external symbol "_OWI_A_CommandMode" referenced in "DefaultBuild\r_main.obj"
Renesas Optimizing Linker Abort
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 i2c.c -cpu=S3 -o DefaultBuild\i2c.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 "..\IDH1.1" specified by the "-I" option is not found.
W0511186:The evaluation period for the option "-Odefault" of CC-RL V1 is valid for the remaining 59 days. After that, it will be implicitly changed to "-Olite". Please consider purchasing the product to continue using "-Odefault".
owi.h(46):W0523076:Function declarations should have prototype
i2c.h(8):W0520047:Incompatible redefinition of macro "RAM_BYTES" (declared at line 9 of "uart.h")
r_main.c(115):W0520172:External/internal linkage conflict with previous declaration
r_main.c(131):W0523077:Called function should have prototype
r_main.c(132):W0523077:Called function should have prototype
r_main.c(133):W0523077:Called function should have prototype
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.
W0511186:The evaluation period for the option "-Odefault" of CC-RL V1 is valid for the remaining 59 days. After that, it will be implicitly changed to "-Olite". Please consider purchasing the product to continue using "-Odefault".
i2c.h(8):W0520047:Incompatible redefinition of macro "RAM_BYTES" (declared at line 9 of "uart.h")
uart.h(9):W0520047:Incompatible redefinition of macro "RAM_BYTES" (declared at line 8 of "i2c.h")
i2c.c(153):W0523077:Called function should have prototype
i2c.c(213):W0520167:Argument of type "const uint8_t *__near" is incompatible with parameter of type "uint8_t *const __near"
i2c.c(205):W0520177:Variable "uart_buf" was declared but never referenced
i2c.c(206):W0520177:Variable "j" was declared but never referenced
i2c.c(207):W0520177:Variable "rx" was declared but never referenced
i2c.c(258):W0520167:Argument of type "const uint8_t *__near" is incompatible with parameter of type "uint8_t *const __near"
i2c.c(254):W0520177:Variable "uart_buf" was declared but never referenced
i2c.c(255):W0520177:Variable "j" was declared but never referenced
i2c.c(256):W0520177:Variable "rx" was declared but never referenced
i2c.c(312):W0520069:Integer conversion resulted in truncation
i2c.c(318):W0523077:Called function should have prototype
i2c.c(328):W0523077:Called function should have prototype
i2c.c(333):W0523077:Called function should have prototype
i2c.c(301):W0520177:Variable "j" was declared but never referenced
i2c.c(304):W0520177:Variable "status" was declared but never referenced
i2c.c(305):W0520177:Variable "tries" 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
W0561018:The evaluation period of CC-RL V1 is valid for the remaining 59 days. After that, functional limit will be applied. Please consider purchasing the product.
E0562310:Undefined external symbol "_g_dut_map" referenced in "DefaultBuild\gatectrl.obj"
E0562310:Undefined external symbol "_I2C_A_Command_Mode_receiveData" referenced in "DefaultBuild\r_main.obj"
E0562310:Undefined external symbol "_OWI_A_CommandMode" referenced in "DefaultBuild\r_main.obj"
Renesas Optimizing Linker Abort
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
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.
W0511186:The evaluation period for the option "-Odefault" of CC-RL V1 is valid for the remaining 59 days. After that, it will be implicitly changed to "-Olite". Please consider purchasing the product to continue using "-Odefault".
owi.h(46):W0523076:Function declarations should have prototype
i2c.h(8):W0520047:Incompatible redefinition of macro "RAM_BYTES" (declared at line 9 of "uart.h")
r_main.c(115):W0520172:External/internal linkage conflict with previous declaration
r_main.c(131):W0523077:Called function should have prototype
r_main.c(132):W0523077:Called function should have prototype
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.15.00\Bin\rlink.exe -subcommand=DefaultBuild\multical.clnk
W0561018:The evaluation period of CC-RL V1 is valid for the remaining 59 days. After that, functional limit will be applied. Please consider purchasing the product.
E0562310:Undefined external symbol "_g_dut_map" referenced in "DefaultBuild\gatectrl.obj"
E0562310:Undefined external symbol "_I2C_A_Command_Mode_receiveData" referenced in "DefaultBuild\r_main.obj"
Renesas Optimizing Linker Abort
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
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.
W0511186:The evaluation period for the option "-Odefault" of CC-RL V1 is valid for the remaining 59 days. After that, it will be implicitly changed to "-Olite". Please consider purchasing the product to continue using "-Odefault".
owi.h(46):W0523076:Function declarations should have prototype
i2c.h(8):W0520047:Incompatible redefinition of macro "RAM_BYTES" (declared at line 9 of "uart.h")
r_main.c(115):W0520172:External/internal linkage conflict with previous declaration
r_main.c(131):W0523077:Called function should have prototype
--- CommandFile 1 ---
DefaultBuild\multical.clnk :
@ -36,8 +309,150 @@ DefaultBuild\multical.clnk :
-Input=DefaultBuild\r_cg_serial_user.obj
-Input=DefaultBuild\r_cg_wdt.obj
-Input=DefaultBuild\r_cg_wdt_user.obj
-Input=DefaultBuild\r_cg_adc.obj
-Input=DefaultBuild\r_cg_adc_user.obj
-Input=DefaultBuild\r_cg_port.obj
-Input=DefaultBuild\r_cg_port_user.obj
-Input=DefaultBuild\anaout.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
-Input=DefaultBuild\hash_pin.obj
-Input=DefaultBuild\check_pin.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=04
-USER_OPT_BYTE=FFFFF8
-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
--- CommandFile 2 ---
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_wdt.obj
-Input=DefaultBuild\r_cg_wdt_user.obj
-Input=DefaultBuild\r_cg_port.obj
-Input=DefaultBuild\r_cg_port_user.obj
-Input=DefaultBuild\anaout.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
-Input=DefaultBuild\hash_pin.obj
-Input=DefaultBuild\check_pin.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=04
-USER_OPT_BYTE=FFFFF8
-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
--- CommandFile 3 ---
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_wdt.obj
-Input=DefaultBuild\r_cg_wdt_user.obj
-Input=DefaultBuild\r_cg_port.obj
-Input=DefaultBuild\r_cg_port_user.obj
-Input=DefaultBuild\anaout.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
-Input=DefaultBuild\hash_pin.obj
-Input=DefaultBuild\check_pin.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=04
-USER_OPT_BYTE=FFFFF8
-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
--- CommandFile 4 ---
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_wdt.obj
-Input=DefaultBuild\r_cg_wdt_user.obj
-Input=DefaultBuild\r_cg_port.obj
-Input=DefaultBuild\r_cg_port_user.obj
-Input=DefaultBuild\anaout.obj
@ -76,17 +491,17 @@ DefaultBuild\multical.clnk :
--- SHA1 hash value of output files ---
C:\Users\COMPUTER1\OneDrive\Desktop\Amosense_Firmware1\DefaultBuild\multical.abs: 55c523f42c5f81fb6f95882f964b7fad1ba0b973
C:\Users\COMPUTER1\OneDrive\Desktop\Amosense_Firmware1\DefaultBuild\multical.mot: 44476140b1f3400e9c301d09ba0adf83ed9d2e12
C:\Users\user\Desktop\Amosense_Firmware\DefaultBuild\multical.abs: 20b58c4b6214c02ed6cd9a1fcc3a5020de9c1bda
C:\Users\user\Desktop\Amosense_Firmware\DefaultBuild\multical.mot: dc8d7a4d9d25ab6134d702ef1987487c56624ce4
--- System Information ---
*OS Version
Microsoft Windows 11 Pro (-, 10.0.26200, WOW64)
Microsoft Windows 10 Pro (-, 10.0.19045, WOW64)
*Language
한국어(대한민국)
*.NET Framework Version
Microsoft .NET Framework 4 [.NET 4.8 or later] (533509)
Microsoft .NET Framework 4 [.NET 4.8 or later] (533325)
*WebView2 Version
143.0.3650.139
@ -99,19 +514,21 @@ C:\Users\COMPUTER1\OneDrive\Desktop\Amosense_Firmware1\DefaultBuild\multical.mot
V9.13.00.05 [12 Nov 2024]
*Assembly Version
3.12.10.1
*Sales Area
Japan
*Product License
*Execution Place
C:\Program Files (x86)\Renesas Electronics\CS+\CC
*Memory Usage
*Private Working Set
328 MB
481 MB
*Number of GDI Objects
2472
3131
*Number of USER Objects
1497
1818
*Opened Files
14 editors, 14 files, 39 KB
29 editors, 29 files, 177 KB
--- Build Tool Plug-in Information ---
RH850 Build tool CC-RH Plug-in
@ -247,7 +664,7 @@ Device Information Common Interface
DeviceInformation.dll
--- Main Project Information ---
C:\Users\COMPUTER1\OneDrive\Desktop\Amosense_Firmware1\multical.mtpj
C:\Users\user\Desktop\Amosense_Firmware\multical.mtpj
Microcontroller Information
*R5F10PPJ
*File Name: Version

180
check_pin.c

@ -1,79 +1,133 @@
#include "check_pin.h"
#include "r_cg_port.h"
#include <stdint.h>
#define BIT(n) (1u << (n))
static void write_port(volatile uint8_t *port, uint8_t mask, uint8_t on)
void Gate_SetByNum(uint8_t num, uint8_t hash_on, uint8_t anaout_on, uint8_t check_on)
{
if (on) *port |= mask;
else *port &= (uint8_t)~mask;
}
static void set_output_pm(volatile uint8_t *pm, uint8_t mask)
switch (num)
{
*pm &= (uint8_t)~mask;
}
case 1: /* HASH P153(P15.3), ANAOUT P64(P6.4), CHECK P154(P15.4) */
P15 = hash_on ? _08_Pn3_OUTPUT_1 : _00_Pn3_OUTPUT_0; /* P153 */
P6 = anaout_on ? _10_Pn4_OUTPUT_1 : _00_Pn4_OUTPUT_0; /* P64 */
P15 = check_on ? _10_Pn4_OUTPUT_1 : _00_Pn4_OUTPUT_0; /* P154 */
break;
void check_pin_init(void)
{
// CHECK_1,2,4 : P15.4,5,6
set_output_pm(&PM15, (uint8_t)(BIT(4)|BIT(5)|BIT(6)));
case 2: /* P152(P15.2), P65(P6.5), P155(P15.5) */
P15 = hash_on ? _04_Pn2_OUTPUT_1 : _00_Pn2_OUTPUT_0; /* P152 */
P6 = anaout_on ? _20_Pn5_OUTPUT_1 : _00_Pn5_OUTPUT_0; /* P65 */
P15 = check_on ? _20_Pn5_OUTPUT_1 : _00_Pn5_OUTPUT_0; /* P155 */
break;
// CHECK_3,7 : P0.0,3
set_output_pm(&PM0, (uint8_t)(BIT(0)|BIT(3)));
case 3: /* P151(P15.1), P66(P6.6), P00(P0.0) */
P15 = hash_on ? _02_Pn1_OUTPUT_1 : _00_Pn1_OUTPUT_0; /* P151 */
P6 = anaout_on ? _40_Pn6_OUTPUT_1 : _00_Pn6_OUTPUT_0; /* P66 */
P0 = check_on ? _01_Pn0_OUTPUT_1 : _00_Pn0_OUTPUT_0; /* P00 */
break;
// CHECK_5,6 : P3.0,2
set_output_pm(&PM3, (uint8_t)(BIT(0)|BIT(2)));
case 4: /* P150(P15.0), P67(P6.7), P156(P15.6) */
P15 = hash_on ? _01_Pn0_OUTPUT_1 : _00_Pn0_OUTPUT_0; /* P150 */
P6 = anaout_on ? _80_Pn7_OUTPUT_1 : _00_Pn7_OUTPUT_0; /* P67 */
P15 = check_on ? _40_Pn6_OUTPUT_1 : _00_Pn6_OUTPUT_0; /* P156 */
break;
// CHECK_8,9 : P7.0,1
set_output_pm(&PM7, (uint8_t)(BIT(0)|BIT(1)));
case 5: /* P120(P12.0), P44(P4.4), P30(P3.0) */
P12 = hash_on ? _01_Pn0_OUTPUT_1 : _00_Pn0_OUTPUT_0; /* P120 */
P4 = anaout_on ? _10_Pn4_OUTPUT_1 : _00_Pn4_OUTPUT_0; /* P44 */
P3 = check_on ? _01_Pn0_OUTPUT_1 : _00_Pn0_OUTPUT_0; /* P30 */
break;
// CHECK_10~13 : P10.4~7
set_output_pm(&PM10, (uint8_t)(BIT(4)|BIT(5)|BIT(6)|BIT(7)));
case 6: /* P125(P12.5), P43(P4.3), P32(P3.2) */
P12 = hash_on ? _20_Pn5_OUTPUT_1 : _00_Pn5_OUTPUT_0; /* P125 */
P4 = anaout_on ? _08_Pn3_OUTPUT_1 : _00_Pn3_OUTPUT_0; /* P43 */
P3 = check_on ? _04_Pn2_OUTPUT_1 : _00_Pn2_OUTPUT_0; /* P32 */
break;
// CHECK_14~17 : P5.7,6,5,4
set_output_pm(&PM5, (uint8_t)(BIT(7)|BIT(6)|BIT(5)|BIT(4)));
case 7: /* P01(P0.1), P42(P4.2), P03(P0.3) */
P0 = hash_on ? _02_Pn1_OUTPUT_1 : _00_Pn1_OUTPUT_0; /* P01 */
P4 = anaout_on ? _04_Pn2_OUTPUT_1 : _00_Pn2_OUTPUT_0; /* P42 */
P0 = check_on ? _08_Pn3_OUTPUT_1 : _00_Pn3_OUTPUT_0; /* P03 */
break;
// CHECK_18~20 : P1.0,3,4
set_output_pm(&PM1, (uint8_t)(BIT(0)|BIT(3)|BIT(4)));
case 8: /* P126(P12.6), P41(P4.1), P70(P7.0) */
P12 = hash_on ? _40_Pn6_OUTPUT_1 : _00_Pn6_OUTPUT_0; /* P126 */
P4 = anaout_on ? _02_Pn1_OUTPUT_1 : _00_Pn1_OUTPUT_0; /* P41 */
P7 = check_on ? _01_Pn0_OUTPUT_1 : _00_Pn0_OUTPUT_0; /* P70 */
break;
check_all_off();
}
case 9: /* P127(P12.7), P50(P5.0), P71(P7.1) */
P12 = hash_on ? _80_Pn7_OUTPUT_1 : _00_Pn7_OUTPUT_0; /* P127 */
P5 = anaout_on ? _01_Pn0_OUTPUT_1 : _00_Pn0_OUTPUT_0; /* P50 */
P7 = check_on ? _02_Pn1_OUTPUT_1 : _00_Pn1_OUTPUT_0; /* P71 */
break;
void check_all_off(void)
{
P15 &= (uint8_t)~(BIT(4)|BIT(5)|BIT(6));
P0 &= (uint8_t)~(BIT(0)|BIT(3));
P3 &= (uint8_t)~(BIT(0)|BIT(2));
P7 &= (uint8_t)~(BIT(0)|BIT(1));
P10 &= (uint8_t)~(BIT(4)|BIT(5)|BIT(6)|BIT(7));
P5 &= (uint8_t)~(BIT(4)|BIT(5)|BIT(6)|BIT(7));
P1 &= (uint8_t)~(BIT(0)|BIT(3)|BIT(4));
}
case 10: /* P02(P0.2), P51(P5.1), P104(P10.4) */
P0 = hash_on ? _04_Pn2_OUTPUT_1 : _00_Pn2_OUTPUT_0; /* P02 */
P5 = anaout_on ? _02_Pn1_OUTPUT_1 : _00_Pn1_OUTPUT_0; /* P51 */
P10 = check_on ? _10_Pn4_OUTPUT_1 : _00_Pn4_OUTPUT_0; /* P104 */
break;
void check_pin(uint8_t ch, uint8_t on)
{
switch (ch)
{
case 1: write_port(&P15, BIT(4), on); break; // CHECK_1 : P154
case 2: write_port(&P15, BIT(5), on); break; // CHECK_2 : P155
case 3: write_port(&P0, BIT(0), on); break; // CHECK_3 : P00
case 4: write_port(&P15, BIT(6), on); break; // CHECK_4 : P156
case 5: write_port(&P3, BIT(0), on); break; // CHECK_5 : P30
case 6: write_port(&P3, BIT(2), on); break; // CHECK_6 : P32
case 7: write_port(&P0, BIT(3), on); break; // CHECK_7 : P03
case 8: write_port(&P7, BIT(0), on); break; // CHECK_8 : P70
case 9: write_port(&P7, BIT(1), on); break; // CHECK_9 : P71
case 10: write_port(&P10, BIT(4), on); break; // CHECK_10: P104
case 11: write_port(&P10, BIT(5), on); break; // CHECK_11: P105
case 12: write_port(&P10, BIT(6), on); break; // CHECK_12: P106
case 13: write_port(&P10, BIT(7), on); break; // CHECK_13: P107
case 14: write_port(&P5, BIT(7), on); break; // CHECK_14: P57
case 15: write_port(&P5, BIT(6), on); break; // CHECK_15: P56
case 16: write_port(&P5, BIT(5), on); break; // CHECK_16: P55
case 17: write_port(&P5, BIT(4), on); break; // CHECK_17: P54
case 18: write_port(&P1, BIT(0), on); break; // CHECK_18: P10
case 19: write_port(&P1, BIT(3), on); break; // CHECK_19: P13
case 20: write_port(&P1, BIT(4), on); break; // CHECK_20: P14
default: /* ignore */ break;
case 11: /* P103(P10.3), P52(P5.2), P105(P10.5) */
P10 = hash_on ? _08_Pn3_OUTPUT_1 : _00_Pn3_OUTPUT_0; /* P103 */
P5 = anaout_on ? _04_Pn2_OUTPUT_1 : _00_Pn2_OUTPUT_0; /* P52 */
P10 = check_on ? _20_Pn5_OUTPUT_1 : _00_Pn5_OUTPUT_0; /* P105 */
break;
case 12: /* P102(P10.2), P60(P6.0), P106(P10.6) */
P10 = hash_on ? _04_Pn2_OUTPUT_1 : _00_Pn2_OUTPUT_0; /* P102 */
P6 = anaout_on ? _01_Pn0_OUTPUT_1 : _00_Pn0_OUTPUT_0; /* P60 */
P10 = check_on ? _40_Pn6_OUTPUT_1 : _00_Pn6_OUTPUT_0; /* P106 */
break;
case 13: /* P101(P10.1), P61(P6.1), P107(P10.7) */
P10 = hash_on ? _02_Pn1_OUTPUT_1 : _00_Pn1_OUTPUT_0; /* P101 */
P6 = anaout_on ? _02_Pn1_OUTPUT_1 : _00_Pn1_OUTPUT_0; /* P61 */
P10 = check_on ? _80_Pn7_OUTPUT_1 : _00_Pn7_OUTPUT_0; /* P107 */
break;
case 14: /* P100(P10.0), P72(P7.2), P57(P5.7) */
P10 = hash_on ? _01_Pn0_OUTPUT_1 : _00_Pn0_OUTPUT_0; /* P100 */
P7 = anaout_on ? _04_Pn2_OUTPUT_1 : _00_Pn2_OUTPUT_0; /* P72 */
P5 = check_on ? _80_Pn7_OUTPUT_1 : _00_Pn7_OUTPUT_0; /* P57 */
break;
case 15: /* P97(P9.7), P73(P7.3), P56(P5.6) */
P9 = hash_on ? _80_Pn7_OUTPUT_1 : _00_Pn7_OUTPUT_0; /* P97 */
P7 = anaout_on ? _08_Pn3_OUTPUT_1 : _00_Pn3_OUTPUT_0; /* P73 */
P5 = check_on ? _40_Pn6_OUTPUT_1 : _00_Pn6_OUTPUT_0; /* P56 */
break;
case 16: /* P96(P9.6), P75(P7.5), P55(P5.5) */
P9 = hash_on ? _40_Pn6_OUTPUT_1 : _00_Pn6_OUTPUT_0; /* P96 */
P7 = anaout_on ? _20_Pn5_OUTPUT_1 : _00_Pn5_OUTPUT_0; /* P75 */
P5 = check_on ? _20_Pn5_OUTPUT_1 : _00_Pn5_OUTPUT_0; /* P55 */
break;
case 17: /* P95(P9.5), P74(P7.4), P54(P5.4) */
P9 = hash_on ? _20_Pn5_OUTPUT_1 : _00_Pn5_OUTPUT_0; /* P95 */
P7 = anaout_on ? _10_Pn4_OUTPUT_1 : _00_Pn4_OUTPUT_0; /* P74 */
P5 = check_on ? _10_Pn4_OUTPUT_1 : _00_Pn4_OUTPUT_0; /* P54 */
break;
case 18: /* P94(P9.4), P76(P7.6), P10(P1.0) */
P9 = hash_on ? _10_Pn4_OUTPUT_1 : _00_Pn4_OUTPUT_0; /* P94 */
P7 = anaout_on ? _40_Pn6_OUTPUT_1 : _00_Pn6_OUTPUT_0; /* P76 */
P1 = check_on ? _01_Pn0_OUTPUT_1 : _00_Pn0_OUTPUT_0; /* P10 */
break;
case 19: /* P93(P9.3), P77(P7.7), P13(P1.3) */
P9 = hash_on ? _08_Pn3_OUTPUT_1 : _00_Pn3_OUTPUT_0; /* P93 */
P7 = anaout_on ? _80_Pn7_OUTPUT_1 : _00_Pn7_OUTPUT_0; /* P77 */
P1 = check_on ? _08_Pn3_OUTPUT_1 : _00_Pn3_OUTPUT_0; /* P13 */
break;
case 20: /* P92(P9.2), P130(P13.0), P14(P1.4) */
P9 = hash_on ? _04_Pn2_OUTPUT_1 : _00_Pn2_OUTPUT_0; /* P92 */
P13 = anaout_on ? _01_Pn0_OUTPUT_1 : _00_Pn0_OUTPUT_0; /* P130 */
P1 = check_on ? _10_Pn4_OUTPUT_1 : _00_Pn4_OUTPUT_0; /* P14 */
break;
default:
break;
}
}

1
dipSwitch.c

@ -14,6 +14,7 @@ void DipSwitch_Init(void)
{
// 입력 설정: PM bit=1 => input
DIP_PM |= DIP_MASK;
}
uint8_t DipSwitch_ReadValue_0to31(void)

206
gatectrl.c

@ -1,78 +1,154 @@
#include "gatectrl.h"
#include "check_pin.h"
#include "r_cg_port.h"
#include <stdint.h>
#define BIT(n) (1u << (n))
// 공통핀 매핑
// ALL : P47 -> Port4 bit7
// ZACWIRE : P157 -> Port15 bit7
#define ALL_PM PM4
#define ALL_MASK (uint8_t)BIT(7)
#define ZAC_PM PM15
#define ZAC_MASK (uint8_t)BIT(7)
static uint8_t s_ch = 1;
static void write_port(volatile uint8_t *port, uint8_t mask, uint8_t on)
void Gate_SetByNum(uint8_t num, uint8_t hash_on, uint8_t anaout_on, uint8_t check_on)
{
if (on) *port |= mask;
else *port &= (uint8_t)~mask;
}
void GateCtrl_Init(void)
switch (num)
{
// 공통핀 출력 설정
ALL_PM &= (uint8_t)~ALL_MASK;
ZAC_PM &= (uint8_t)~ZAC_MASK;
// 기본 OFF
GateCtrl_SetAll(0);
GateCtrl_SetZacwire(0);
// 채널 관련 모듈 init
hash_init();
check_pin_init();
// ANAOUT_Init()는 main에서 한다면 여기서 중복 호출 X
case 1: /* HASH P153(P15.3), ANAOUT P64(P6.4), CHECK P154(P15.4) */
P15 = hash_on ? _08_Pn3_OUTPUT_1 : _00_Pn3_OUTPUT_0; /* P153 */
P6 = anaout_on ? _10_Pn4_OUTPUT_1 : _00_Pn4_OUTPUT_0; /* P64 */
P15 = check_on ? _10_Pn4_OUTPUT_1 : _00_Pn4_OUTPUT_0; /* P154 */
break;
case 2: /* P152(P15.2), P65(P6.5), P155(P15.5) */
P15 = hash_on ? _04_Pn2_OUTPUT_1 : _00_Pn2_OUTPUT_0; /* P152 */
P6 = anaout_on ? _20_Pn5_OUTPUT_1 : _00_Pn5_OUTPUT_0; /* P65 */
P15 = check_on ? _20_Pn5_OUTPUT_1 : _00_Pn5_OUTPUT_0; /* P155 */
break;
case 3: /* P151(P15.1), P66(P6.6), P00(P0.0) */
P15 = hash_on ? _02_Pn1_OUTPUT_1 : _00_Pn1_OUTPUT_0; /* P151 */
P6 = anaout_on ? _40_Pn6_OUTPUT_1 : _00_Pn6_OUTPUT_0; /* P66 */
P0 = check_on ? _01_Pn0_OUTPUT_1 : _00_Pn0_OUTPUT_0; /* P00 */
break;
case 4: /* P150(P15.0), P67(P6.7), P156(P15.6) */
P15 = hash_on ? _01_Pn0_OUTPUT_1 : _00_Pn0_OUTPUT_0; /* P150 */
P6 = anaout_on ? _80_Pn7_OUTPUT_1 : _00_Pn7_OUTPUT_0; /* P67 */
P15 = check_on ? _40_Pn6_OUTPUT_1 : _00_Pn6_OUTPUT_0; /* P156 */
break;
case 5: /* P120(P12.0), P44(P4.4), P30(P3.0) */
P12 = hash_on ? _01_Pn0_OUTPUT_1 : _00_Pn0_OUTPUT_0; /* P120 */
P4 = anaout_on ? _10_Pn4_OUTPUT_1 : _00_Pn4_OUTPUT_0; /* P44 */
P3 = check_on ? _01_Pn0_OUTPUT_1 : _00_Pn0_OUTPUT_0; /* P30 */
break;
case 6: /* P125(P12.5), P43(P4.3), P32(P3.2) */
P12 = hash_on ? _20_Pn5_OUTPUT_1 : _00_Pn5_OUTPUT_0; /* P125 */
P4 = anaout_on ? _08_Pn3_OUTPUT_1 : _00_Pn3_OUTPUT_0; /* P43 */
P3 = check_on ? _04_Pn2_OUTPUT_1 : _00_Pn2_OUTPUT_0; /* P32 */
break;
case 7: /* P01(P0.1), P42(P4.2), P03(P0.3) */
P0 = hash_on ? _02_Pn1_OUTPUT_1 : _00_Pn1_OUTPUT_0; /* P01 */
P4 = anaout_on ? _04_Pn2_OUTPUT_1 : _00_Pn2_OUTPUT_0; /* P42 */
P0 = check_on ? _08_Pn3_OUTPUT_1 : _00_Pn3_OUTPUT_0; /* P03 */
break;
case 8: /* P126(P12.6), P41(P4.1), P70(P7.0) */
P12 = hash_on ? _40_Pn6_OUTPUT_1 : _00_Pn6_OUTPUT_0; /* P126 */
P4 = anaout_on ? _02_Pn1_OUTPUT_1 : _00_Pn1_OUTPUT_0; /* P41 */
P7 = check_on ? _01_Pn0_OUTPUT_1 : _00_Pn0_OUTPUT_0; /* P70 */
break;
case 9: /* P127(P12.7), P50(P5.0), P71(P7.1) */
P12 = hash_on ? _80_Pn7_OUTPUT_1 : _00_Pn7_OUTPUT_0; /* P127 */
P5 = anaout_on ? _01_Pn0_OUTPUT_1 : _00_Pn0_OUTPUT_0; /* P50 */
P7 = check_on ? _02_Pn1_OUTPUT_1 : _00_Pn1_OUTPUT_0; /* P71 */
break;
case 10: /* P02(P0.2), P51(P5.1), P104(P10.4) */
P0 = hash_on ? _04_Pn2_OUTPUT_1 : _00_Pn2_OUTPUT_0; /* P02 */
P5 = anaout_on ? _02_Pn1_OUTPUT_1 : _00_Pn1_OUTPUT_0; /* P51 */
P10 = check_on ? _10_Pn4_OUTPUT_1 : _00_Pn4_OUTPUT_0; /* P104 */
break;
case 11: /* P103(P10.3), P52(P5.2), P105(P10.5) */
P10 = hash_on ? _08_Pn3_OUTPUT_1 : _00_Pn3_OUTPUT_0; /* P103 */
P5 = anaout_on ? _04_Pn2_OUTPUT_1 : _00_Pn2_OUTPUT_0; /* P52 */
P10 = check_on ? _20_Pn5_OUTPUT_1 : _00_Pn5_OUTPUT_0; /* P105 */
break;
case 12: /* P102(P10.2), P60(P6.0), P106(P10.6) */
P10 = hash_on ? _04_Pn2_OUTPUT_1 : _00_Pn2_OUTPUT_0; /* P102 */
P6 = anaout_on ? _01_Pn0_OUTPUT_1 : _00_Pn0_OUTPUT_0; /* P60 */
P10 = check_on ? _40_Pn6_OUTPUT_1 : _00_Pn6_OUTPUT_0; /* P106 */
break;
case 13: /* P101(P10.1), P61(P6.1), P107(P10.7) */
P10 = hash_on ? _02_Pn1_OUTPUT_1 : _00_Pn1_OUTPUT_0; /* P101 */
P6 = anaout_on ? _02_Pn1_OUTPUT_1 : _00_Pn1_OUTPUT_0; /* P61 */
P10 = check_on ? _80_Pn7_OUTPUT_1 : _00_Pn7_OUTPUT_0; /* P107 */
break;
case 14: /* P100(P10.0), P72(P7.2), P57(P5.7) */
P10 = hash_on ? _01_Pn0_OUTPUT_1 : _00_Pn0_OUTPUT_0; /* P100 */
P7 = anaout_on ? _04_Pn2_OUTPUT_1 : _00_Pn2_OUTPUT_0; /* P72 */
P5 = check_on ? _80_Pn7_OUTPUT_1 : _00_Pn7_OUTPUT_0; /* P57 */
break;
case 15: /* P97(P9.7), P73(P7.3), P56(P5.6) */
P9 = hash_on ? _80_Pn7_OUTPUT_1 : _00_Pn7_OUTPUT_0; /* P97 */
P7 = anaout_on ? _08_Pn3_OUTPUT_1 : _00_Pn3_OUTPUT_0; /* P73 */
P5 = check_on ? _40_Pn6_OUTPUT_1 : _00_Pn6_OUTPUT_0; /* P56 */
break;
case 16: /* P96(P9.6), P75(P7.5), P55(P5.5) */
P9 = hash_on ? _40_Pn6_OUTPUT_1 : _00_Pn6_OUTPUT_0; /* P96 */
P7 = anaout_on ? _20_Pn5_OUTPUT_1 : _00_Pn5_OUTPUT_0; /* P75 */
P5 = check_on ? _20_Pn5_OUTPUT_1 : _00_Pn5_OUTPUT_0; /* P55 */
break;
case 17: /* P95(P9.5), P74(P7.4), P54(P5.4) */
P9 = hash_on ? _20_Pn5_OUTPUT_1 : _00_Pn5_OUTPUT_0; /* P95 */
P7 = anaout_on ? _10_Pn4_OUTPUT_1 : _00_Pn4_OUTPUT_0; /* P74 */
P5 = check_on ? _10_Pn4_OUTPUT_1 : _00_Pn4_OUTPUT_0; /* P54 */
break;
case 18: /* P94(P9.4), P76(P7.6), P10(P1.0) */
P9 = hash_on ? _10_Pn4_OUTPUT_1 : _00_Pn4_OUTPUT_0; /* P94 */
P7 = anaout_on ? _40_Pn6_OUTPUT_1 : _00_Pn6_OUTPUT_0; /* P76 */
P1 = check_on ? _01_Pn0_OUTPUT_1 : _00_Pn0_OUTPUT_0; /* P10 */
break;
case 19: /* P93(P9.3), P77(P7.7), P13(P1.3) */
P9 = hash_on ? _08_Pn3_OUTPUT_1 : _00_Pn3_OUTPUT_0; /* P93 */
P7 = anaout_on ? _80_Pn7_OUTPUT_1 : _00_Pn7_OUTPUT_0; /* P77 */
P1 = check_on ? _08_Pn3_OUTPUT_1 : _00_Pn3_OUTPUT_0; /* P13 */
break;
case 20: /* P92(P9.2), P130(P13.0), P14(P1.4) */
P9 = hash_on ? _04_Pn2_OUTPUT_1 : _00_Pn2_OUTPUT_0; /* P92 */
P13 = anaout_on ? _01_Pn0_OUTPUT_1 : _00_Pn0_OUTPUT_0; /* P130 */
P1 = check_on ? _10_Pn4_OUTPUT_1 : _00_Pn4_OUTPUT_0; /* P14 */
break;
default:
break;
}
void GateCtrl_SetAll(uint8_t on)
{
write_port(&P4, ALL_MASK, on);
}
void GateCtrl_SetZacwire(uint8_t on)
{
write_port(&P15, ZAC_MASK, on);
}
void Col_Init(void){
uint8_t i;
void GateCtrl_ClearChannelPins(void)
{
hash_all_off();
check_all_off();
anaout_all_off();
}
void GateCtrl_SelectChannel(uint8_t ch)
{
if (ch < 1 || ch > 20) return;
s_ch = ch;
P4 = _00_Pn7_OUTPUT_0;
P15 = _00_Pn7_OUTPUT_0;
GateCtrl_ClearChannelPins();
for (i = 1; i <= 20; i++){
Gate_SetByNum(i, 0, 0, 1); // hash=0, anaout=0, check=1
}
void GateCtrl_Anaout(uint8_t on)
{
anaout_pin(s_ch, on);
}
void GateCtrl_Hash(uint8_t on)
{
hash_pin(s_ch, on);
}
void Eol_Init(void){
uint8_t i;
P4 = _80_Pn7_OUTPUT_1;
P15 = _00_Pn7_OUTPUT_0;
void GateCtrl_Check(uint8_t on)
{
check_pin(s_ch, on);
for (i = 1; i <= 20; i++){
Gate_SetByNum(i, 0, 0, 1); // hash=0, anaout=0, check=1
}
}

39
gatectrl.h

@ -1,40 +1,5 @@
#ifndef GATECTRL_H
#define GATECTRL_H
#include "r_cg_macrodriver.h"
#include "r_cg_port.h"
#include "anaout.h"
#include "hash_pin.h"
#include "check_pin.h"
#ifdef __cplusplus
extern "C" {
#endif
void GateCtrl_Init(void);
/** ???: ALL (P47) */
void GateCtrl_SetAll(uint8_t on);
/** ???: ZACWIRE (P157) */
void GateCtrl_SetZacwire(uint8_t on);
void GateCtrl_SelectChannel(uint8_t ch);
/** ?? ??? ??? ANAOUT ?? (?? ?? ???) */
void GateCtrl_Anaout(uint8_t on);
/** ?? ??? ??? #? ?? */
void GateCtrl_Hash(uint8_t on);
/** ?? ??? ??? CHECK? ?? */
void GateCtrl_Check(uint8_t on);
/** (??) #/CHECK ?? OFF */
void GateCtrl_ClearChannelPins(void);
#ifdef __cplusplus
}
#endif
#endif /* GATECTRL_H */
void Gate_SetByNum(uint8_t num, uint8_t hash_on, uint8_t anaout_on, uint8_t check_on);
void Col_Init(void);

146
i2c.c

@ -84,152 +84,6 @@ void I2C_DisablePower(void) {
}
/**
* : I2C_A_Command_Mode_receiveData
* : I2C ADC ,
* UART로 .
*
* :
* - tx_data : (UserCmd)
* - tx_len :
* - id : I2C
*
* : (void)
*
* :
* 1) ADC
* - ADC_ReadAndSend_UART() 4 ADC
* - 4 UART
* - TOP, BRP, BRN, BRP-BRN, BOT UART
*
* 2) CMD_LIST I2C
* - CMD_LIST는 6
* - R_IICA0_Master_Send()
* - R_IICA0_Master_Receive()
* - (rx[1], rx[2]) UART
*
* 3) CMD
* - tx_data와 tx_len이 I2C
* - rx UART
* - "0000"
*
* 4)
* - (line) UART로
* - delay로
*
* :
* - RAM_BYTES는 I2C
* - UART "," , CRLF
* - ADC와 I2C
*/
void I2C_A_Command_Mode_receiveData(const uint8_t *tx_data, uint8_t tx_len,uint8_t id )
{
uint8_t CMD_LIST[6][3] = {
{0x2E, 0x00, 0x00}, // BR
{0x2E, 0x01, 0x00}, // BR_AZ
{0x2E, 0x02, 0x00}, // T_RAW
{0x2E, 0x16, 0x00}, // Y_data
{0x2E, 0x41, 0x00}, // BR_AOUT
{0x2E, 0x40, 0x00}
};
char line[128];
size_t n = 0;
uint8_t rx[RAM_BYTES] = {0};
int j;
// 1) ADC 읽기 (4채널)
ADC_ReadAndSend_UART();
if (g_adc_len != 4) { // TOP, BRP, BRN, BOT만 읽음
uart_send_string("Err:adc_count\r\n");
return;
}
// 2) UART 문자열 구성 (5개 값)
for (j = 0; j < 5; j++) {
float v = 0.0f;
switch (j) {
case 0: // 1번: TOP
v = g_adc_bytes[0];
break;
case 1: // 2번: BRP
v = g_adc_bytes[1];
break;
case 2: // 3번: BRN
v = g_adc_bytes[2];
break;
case 3: // 4번: BRP - BRN
v = g_adc_bytes[1] - g_adc_bytes[2];
break;
case 4: // 5번: BOT
v = g_adc_bytes[3];
break;
}
n += sprintf(&line[n], "%.2f", v);
line[n++] = ',';
}
delay(100000);
// 2) CMD_LIST 순서대로 I2C 읽기
for (j = 0; j < 6; j++) {
if (R_IICA0_Master_Send((id << 1), CMD_LIST[j], 3, 100) != MD_OK) {
uart_send_string("I2C Send Failed\r\n");
return;
}
delay(10000);
if (R_IICA0_Master_Receive((id << 1), rx, RAM_BYTES, 100) != MD_OK) {
uart_send_string("I2C Receive Failed\r\n");
return;
}
delay(10000);
n += sprintf(&line[n], "%02X%02X", rx[1], rx[2]);
// 마지막 CMD 뒤에는 쉼표 붙이지 않음
if (j < 5) {
line[n++] = ',';
}
}
// 3) UserCmd 처리
line[n++] = ','; // UserCmd 앞 쉼표
if (tx_data != NULL && tx_len > 0) {
if (R_IICA0_Master_Send((id << 1), tx_data, tx_len, 100) != MD_OK) {
uart_send_string("I2C UserCmd Send Failed\r\n");
return;
}
delay(100000);
if (R_IICA0_Master_Receive((id << 1), rx, RAM_BYTES, 100) != MD_OK) {
uart_send_string("I2C UserCmd Receive Failed\r\n");
return;
}
delay(10000);
n += sprintf(&line[n], "%02X%02X", rx[1], rx[2]);
} else {
n += sprintf(&line[n], "0000");
}
// 마지막에 CRLF
line[n++] = '\r';
line[n++] = '\n';
line[n] = '\0';
uart_send_string(line);
delay(10000);
}
/**
* : I2C_Diagnostic
* : I2C UART로

1
i2c.h

@ -14,7 +14,6 @@ void I2C_DisablePower(void);
void I2C_Command_Mode(void);
//void I2C_read_nvm(void);
void I2C_T_Command_Mode_receiveData(const uint8_t *tx_data, uint8_t tx_len,uint8_t id );
void I2C_A_Command_Mode_receiveData(const uint8_t *tx_data, uint8_t tx_len,uint8_t id );
void I2C_Command_Mode_receiveData(const uint8_t *tx_data, uint8_t tx_len,uint8_t id );
void I2C_Command_Mode_Send(uint8_t tx_len, uint8_t id);
void I2C_Diagnostic(uint8_t id);

2241
multical.mtpj

File diff suppressed because it is too large

1150
multical.rcpe

File diff suppressed because it is too large

853
multical.user.mtud

File diff suppressed because one or more lines are too long

122
owi.c

@ -455,128 +455,6 @@ void OWI_T_ReadBytesAndPrint(int length)
#define OWI_MAX_RETRY 2 // 재시도 2회
#define OWI_RECOVERY_MIN_US 500 // datasheet 기준 최소 recovery 시간
void OWI_A_CommandMode(const uint8_t *tx_data, uint8_t tx_len, uint8_t id)
{
uint8_t CMD_LIST[6][4] = {
{0x50,0x2E,0x00,0x00}, // BR
{0x50,0x2E,0x01,0x00}, // BR_AZ
{0x50,0x2E,0x02,0x00}, // T_RAW
{0x50,0x2E,0x16,0x00}, // Y_data
{0x50,0x2E,0x41,0x00}, // BR_AOUT
{0x50,0x2E,0x00,0x00} // BR_AOUT duplicate
};
char line[128];
size_t n = 0;
uint8_t rx[RAM_BYTES];
int i, j, retry, all_ff;
float v;
uint8_t read_address = 0x51;
// ===== 1) ADC 읽기 =====
ADC_ReadAndSend_UART();
if (g_adc_len != ADC_NUM_CH) {
uart_send_string("Err:adc_count\r\n");
return;
}
for (j = 0; j < g_adc_len; j++) {
v = g_adc_bytes[j];
n += sprintf(&line[n], "%.2f", v);
if (j + 1 < g_adc_len) line[n++] = ',';
}
line[n++] = ',';
// ===== 2) OWI Power On =====
OWI_EnablePower();
delay_us(7000); // Power-on delay
// ===== 3) CMD 전송 및 안전한 읽기 =====
for (j = 0; j < 6; j++) {
OWI_SecureStop();
for (i = 0; i < 4; i++) OWI_WriteByte(CMD_LIST[j][i]);
OWI_Stop();
// CMD → read 회복 시간
delay_us(OWI_RECOVERY_MIN_US);
// Rx 초기화
for (i = 0; i < RAM_BYTES; i++) rx[i] = 0xFF;
for (retry = 0; retry <= OWI_MAX_RETRY; retry++) {
// read 전 충분한 recovery 확보
delay_us(OWI_RECOVERY_MIN_US);
OWI_SecureStop();
OWI_WriteByte(read_address);
for (i = 0; i < RAM_BYTES; i++) rx[i] = OWI_ReadByte();
OWI_Stop();
all_ff = 1;
for (i = 0; i < RAM_BYTES; i++) {
if (rx[i] != 0xFF) { all_ff = 0; break; }
}
if (!all_ff) break; // 정상 데이터 수신
if (retry == OWI_MAX_RETRY) { // 모든 재시도 실패
OWI_DisablePower();
return;
}
}
n += sprintf(&line[n], "%02X%02X", rx[1], rx[2]);
line[n++] = ',';
}
// ===== 4) 사용자 CMD 처리 =====
if (tx_data != NULL && tx_len == 3) {
for (retry = 0; retry <= OWI_MAX_RETRY; retry++) {
// write CMD
OWI_SecureStop();
OWI_WriteByte(id << 1);
for (i = 0; i < 3; i++) OWI_WriteByte(tx_data[i]);
OWI_Stop();
// read 준비
delay_us(OWI_RECOVERY_MIN_US);
// read
for (i = 0; i < RAM_BYTES; i++) rx[i] = 0xFF;
OWI_SecureStop();
OWI_WriteByte((id << 1) | 1);
for (i = 0; i < RAM_BYTES; i++) rx[i] = OWI_ReadByte();
OWI_Stop();
all_ff = 1;
for (i = 0; i < RAM_BYTES; i++) {
if (rx[i] != 0xFF) { all_ff = 0; break; }
}
if (!all_ff) break;
if (retry == OWI_MAX_RETRY) {
OWI_DisablePower();
return;
}
}
n += sprintf(&line[n], "%02X%02X", rx[1], rx[2]);
} else {
n += sprintf(&line[n], "0000");
}
// ===== 5) UART 출력 =====
line[n++] = '\r';
line[n++] = '\n';
line[n] = '\0';
uart_send_string(line);
delay(10000);
OWI_DisablePower();
}
/**
* : OWI_Diagnostic
* : 1-Wire UART로 .

1
owi.h

@ -41,7 +41,6 @@ uint8_t OWI_ReadByte(void);
void OWI_T_ReadBytesAndPrint(int length);
void OWI_ReadBytesAndPrint(int length, uint8_t id);
void OWI_T_CommandMode(const uint8_t *tx_data, uint8_t tx_len, uint8_t id);
void OWI_A_CommandMode(const uint8_t *tx_data, uint8_t tx_len, uint8_t id);
void owi_write_coefficients(void);
void OWI_CommandMode(const uint8_t *tx_data, uint8_t tx_len, uint8_t id);
void OWI_disable();

2
r_cg_adc.c

@ -23,7 +23,7 @@
* Device(s) : R5F10PPJ
* Tool-Chain : CCRL
* Description : This file implements device driver for ADC module.
* Creation Date: 2026-01-13
* Creation Date: 2026-01-15
***********************************************************************************************************************/
/***********************************************************************************************************************

2
r_cg_adc.h

@ -23,7 +23,7 @@
* Device(s) : R5F10PPJ
* Tool-Chain : CCRL
* Description : This file implements device driver for ADC module.
* Creation Date: 2026-01-13
* Creation Date: 2026-01-15
***********************************************************************************************************************/
#ifndef ADC_H

2
r_cg_adc_user.c

@ -23,7 +23,7 @@
* Device(s) : R5F10PPJ
* Tool-Chain : CCRL
* Description : This file implements device driver for ADC module.
* Creation Date: 2026-01-13
* Creation Date: 2026-01-15
***********************************************************************************************************************/
/***********************************************************************************************************************

2
r_cg_cgc.c

@ -23,7 +23,7 @@
* Device(s) : R5F10PPJ
* Tool-Chain : CCRL
* Description : This file implements device driver for CGC module.
* Creation Date: 2026-01-13
* Creation Date: 2026-01-15
***********************************************************************************************************************/
/***********************************************************************************************************************

2
r_cg_cgc.h

@ -23,7 +23,7 @@
* Device(s) : R5F10PPJ
* Tool-Chain : CCRL
* Description : This file implements device driver for CGC module.
* Creation Date: 2026-01-13
* Creation Date: 2026-01-15
***********************************************************************************************************************/
#ifndef CGC_H

2
r_cg_cgc_user.c

@ -23,7 +23,7 @@
* Device(s) : R5F10PPJ
* Tool-Chain : CCRL
* Description : This file implements device driver for CGC module.
* Creation Date: 2026-01-13
* Creation Date: 2026-01-15
***********************************************************************************************************************/
/***********************************************************************************************************************

2
r_cg_macrodriver.h

@ -23,7 +23,7 @@
* Device(s) : R5F10PPJ
* Tool-Chain : CCRL
* Description : This file implements general head file.
* Creation Date: 2026-01-13
* Creation Date: 2026-01-15
***********************************************************************************************************************/
#ifndef STATUS_H

43
r_cg_port.c

@ -23,7 +23,7 @@
* Device(s) : R5F10PPJ
* Tool-Chain : CCRL
* Description : This file implements device driver for PORT module.
* Creation Date: 2026-01-13
* Creation Date: 2026-01-15
***********************************************************************************************************************/
/***********************************************************************************************************************
@ -55,8 +55,49 @@ Global variables and functions
***********************************************************************************************************************/
void R_PORT_Create(void)
{
P0 = _00_Pn0_OUTPUT_0 | _00_Pn1_OUTPUT_0 | _00_Pn2_OUTPUT_0 | _00_Pn3_OUTPUT_0;
P1 = _00_Pn0_OUTPUT_0 | _00_Pn3_OUTPUT_0 | _00_Pn4_OUTPUT_0;
P3 = _00_Pn0_OUTPUT_0 | _00_Pn2_OUTPUT_0;
P4 = _00_Pn1_OUTPUT_0 | _00_Pn2_OUTPUT_0 | _00_Pn3_OUTPUT_0 | _00_Pn4_OUTPUT_0;
P5 = _00_Pn0_OUTPUT_0 | _00_Pn1_OUTPUT_0 | _00_Pn2_OUTPUT_0 | _00_Pn4_OUTPUT_0 | _00_Pn5_OUTPUT_0 |
_00_Pn6_OUTPUT_0 | _00_Pn7_OUTPUT_0;
P6 = _00_Pn0_OUTPUT_0 | _00_Pn1_OUTPUT_0 | _00_Pn4_OUTPUT_0 | _00_Pn5_OUTPUT_0 | _00_Pn6_OUTPUT_0 |
_00_Pn7_OUTPUT_0;
P7 = _00_Pn0_OUTPUT_0 | _00_Pn1_OUTPUT_0 | _00_Pn2_OUTPUT_0 | _00_Pn3_OUTPUT_0 | _00_Pn4_OUTPUT_0 |
_00_Pn5_OUTPUT_0 | _00_Pn6_OUTPUT_0 | _00_Pn7_OUTPUT_0;
P9 = _00_Pn2_OUTPUT_0 | _00_Pn3_OUTPUT_0 | _00_Pn4_OUTPUT_0 | _00_Pn5_OUTPUT_0 | _00_Pn6_OUTPUT_0 |
_00_Pn7_OUTPUT_0;
P10 = _00_Pn0_OUTPUT_0 | _00_Pn1_OUTPUT_0 | _00_Pn2_OUTPUT_0 | _00_Pn3_OUTPUT_0 | _00_Pn4_OUTPUT_0 |
_00_Pn5_OUTPUT_0 | _00_Pn6_OUTPUT_0 | _00_Pn7_OUTPUT_0;
P12 = _00_Pn0_OUTPUT_0 | _00_Pn5_OUTPUT_0 | _00_Pn6_OUTPUT_0 | _00_Pn7_OUTPUT_0;
P13 = _00_Pn0_OUTPUT_0;
P15 = _00_Pn0_OUTPUT_0 | _00_Pn1_OUTPUT_0 | _00_Pn2_OUTPUT_0 | _00_Pn3_OUTPUT_0 | _00_Pn4_OUTPUT_0 |
_00_Pn5_OUTPUT_0 | _00_Pn6_OUTPUT_0;
POM6 = _04_POMn2_NCH_ON | _08_POMn3_NCH_ON;
PMC7 = _00_PMCn0_DI_ON | _00_PMCn1_DI_ON | _00_PMCn2_DI_ON | _00_PMCn3_DI_ON | _00_PMCn4_DI_ON | _E0_PMC7_DEFAULT;
PMC12 = _00_PMCn0_DI_ON | _00_PMCn5_DI_ON | _DE_PMC12_DEFAULT;
PSRSEL = _00_PSR14_NORMAL | _00_PSR120_NORMAL | _00_PSR30_NORMAL | _00_PSR10_NORMAL;
ADPC = _0D_ADPC_DI_ON;
PM0 = _00_PMn0_MODE_OUTPUT | _00_PMn1_MODE_OUTPUT | _00_PMn2_MODE_OUTPUT | _00_PMn3_MODE_OUTPUT | _F0_PM0_DEFAULT;
PM1 = _00_PMn0_MODE_OUTPUT | _02_PMn1_NOT_USE | _04_PMn2_NOT_USE | _00_PMn3_MODE_OUTPUT | _00_PMn4_MODE_OUTPUT |
_20_PMn5_NOT_USE | _40_PMn6_NOT_USE | _80_PMn7_NOT_USE;
PM3 = _00_PMn0_MODE_OUTPUT | _02_PMn1_NOT_USE | _00_PMn2_MODE_OUTPUT | _08_PMn3_NOT_USE | _10_PMn4_NOT_USE |
_E0_PM3_DEFAULT;
PM4 = _01_PMn0_NOT_USE | _00_PMn1_MODE_OUTPUT | _00_PMn2_MODE_OUTPUT | _00_PMn3_MODE_OUTPUT | _00_PMn4_MODE_OUTPUT |
_20_PMn5_NOT_USE | _40_PMn6_NOT_USE | _80_PMn7_NOT_USE;
PM5 = _00_PMn0_MODE_OUTPUT | _00_PMn1_MODE_OUTPUT | _00_PMn2_MODE_OUTPUT | _08_PMn3_NOT_USE | _00_PMn4_MODE_OUTPUT |
_00_PMn5_MODE_OUTPUT | _00_PMn6_MODE_OUTPUT | _00_PMn7_MODE_OUTPUT;
PM6 = _00_PMn0_MODE_OUTPUT | _00_PMn1_MODE_OUTPUT | _04_PMn2_NOT_USE | _08_PMn3_NOT_USE | _00_PMn4_MODE_OUTPUT |
_00_PMn5_MODE_OUTPUT | _00_PMn6_MODE_OUTPUT | _00_PMn7_MODE_OUTPUT;
PM7 = _00_PMn0_MODE_OUTPUT | _00_PMn1_MODE_OUTPUT | _00_PMn2_MODE_OUTPUT | _00_PMn3_MODE_OUTPUT |
_00_PMn4_MODE_OUTPUT | _00_PMn5_MODE_OUTPUT | _00_PMn6_MODE_OUTPUT | _00_PMn7_MODE_OUTPUT;
PM9 = _01_PMn0_NOT_USE | _02_PMn1_NOT_USE | _00_PMn2_MODE_OUTPUT | _00_PMn3_MODE_OUTPUT | _00_PMn4_MODE_OUTPUT |
_00_PMn5_MODE_OUTPUT | _00_PMn6_MODE_OUTPUT | _00_PMn7_MODE_OUTPUT;
PM10 = _00_PMn0_MODE_OUTPUT | _00_PMn1_MODE_OUTPUT | _00_PMn2_MODE_OUTPUT | _00_PMn3_MODE_OUTPUT |
_00_PMn4_MODE_OUTPUT | _00_PMn5_MODE_OUTPUT | _00_PMn6_MODE_OUTPUT | _00_PMn7_MODE_OUTPUT;
PM12 = _00_PMn0_MODE_OUTPUT | _00_PMn5_MODE_OUTPUT | _00_PMn6_MODE_OUTPUT | _00_PMn7_MODE_OUTPUT | _1E_PM12_DEFAULT;
PM15 = _00_PMn0_MODE_OUTPUT | _00_PMn1_MODE_OUTPUT | _00_PMn2_MODE_OUTPUT | _00_PMn3_MODE_OUTPUT |
_00_PMn4_MODE_OUTPUT | _00_PMn5_MODE_OUTPUT | _00_PMn6_MODE_OUTPUT | _80_PMn7_NOT_USE;
}
/* Start user code for adding. Do not edit comment generated here */

2
r_cg_port.h

@ -23,7 +23,7 @@
* Device(s) : R5F10PPJ
* Tool-Chain : CCRL
* Description : This file implements device driver for PORT module.
* Creation Date: 2026-01-13
* Creation Date: 2026-01-15
***********************************************************************************************************************/
#ifndef PORT_H

2
r_cg_port_user.c

@ -23,7 +23,7 @@
* Device(s) : R5F10PPJ
* Tool-Chain : CCRL
* Description : This file implements device driver for PORT module.
* Creation Date: 2026-01-13
* Creation Date: 2026-01-15
***********************************************************************************************************************/
/***********************************************************************************************************************

2
r_cg_serial.c

@ -23,7 +23,7 @@
* Device(s) : R5F10PPJ
* Tool-Chain : CCRL
* Description : This file implements device driver for Serial module.
* Creation Date: 2026-01-13
* Creation Date: 2026-01-15
***********************************************************************************************************************/
/***********************************************************************************************************************

2
r_cg_serial.h

@ -23,7 +23,7 @@
* Device(s) : R5F10PPJ
* Tool-Chain : CCRL
* Description : This file implements device driver for Serial module.
* Creation Date: 2026-01-13
* Creation Date: 2026-01-15
***********************************************************************************************************************/
#ifndef SERIAL_H

2
r_cg_serial_user.c

@ -23,7 +23,7 @@
* Device(s) : R5F10PPJ
* Tool-Chain : CCRL
* Description : This file implements device driver for Serial module.
* Creation Date: 2026-01-13
* Creation Date: 2026-01-15
***********************************************************************************************************************/
/***********************************************************************************************************************

2
r_cg_userdefine.h

@ -23,7 +23,7 @@
* Device(s) : R5F10PPJ
* Tool-Chain : CCRL
* Description : This file includes user definition.
* Creation Date: 2026-01-13
* Creation Date: 2026-01-15
***********************************************************************************************************************/
#ifndef _USER_DEF_H

2
r_cg_wdt.c

@ -23,7 +23,7 @@
* Device(s) : R5F10PPJ
* Tool-Chain : CCRL
* Description : This file implements device driver for WDT module.
* Creation Date: 2026-01-13
* Creation Date: 2026-01-15
***********************************************************************************************************************/
/***********************************************************************************************************************

2
r_cg_wdt.h

@ -23,7 +23,7 @@
* Device(s) : R5F10PPJ
* Tool-Chain : CCRL
* Description : This file implements device driver for WDT module.
* Creation Date: 2026-01-13
* Creation Date: 2026-01-15
***********************************************************************************************************************/
#ifndef WDT_H

2
r_cg_wdt_user.c

@ -23,7 +23,7 @@
* Device(s) : R5F10PPJ
* Tool-Chain : CCRL
* Description : This file implements device driver for WDT module.
* Creation Date: 2026-01-13
* Creation Date: 2026-01-15
***********************************************************************************************************************/
/***********************************************************************************************************************

8
r_main.c

@ -23,7 +23,7 @@
* Device(s) : R5F10PPJ
* Tool-Chain : CCRL
* Description : This file implements main function.
* Creation Date: 2026-01-13
* Creation Date: 2026-01-15
***********************************************************************************************************************/
/***********************************************************************************************************************
@ -33,7 +33,6 @@ Includes
#include "r_cg_cgc.h"
#include "r_cg_port.h"
#include "r_cg_serial.h"
#include "r_cg_adc.h"
#include "r_cg_wdt.h"
/* Start user code for include. Do not edit comment generated here */
#include "common.h"
@ -129,8 +128,6 @@ static void process_cmd(ProtocolType protocol, uint8_t id,
case PROTOCOL_I2CR: I2C_Command_Mode_Send((uint8_t)len, id); break;
case PROTOCOL_OWIW: OWI_CommandMode(data, (uint8_t)len, id); break;
case PROTOCOL_OWIR: OWI_ReadBytesAndPrint(len, id); break;
case PROTOCOL_I2CA: I2C_A_Command_Mode_receiveData(data, (uint8_t)len, id); break;
case PROTOCOL_OWIA: OWI_A_CommandMode(data, (uint8_t)len, id); break;
case PROTOCOL_OWID: OWI_disable(); break;
case PROTOCOL_OWIC: OWI_Diagnostic(id); break;
case PROTOCOL_I2CC: I2C_Diagnostic(id); break;
@ -352,9 +349,6 @@ void R_MAIN_UserInit(void)
rs485_init();
R_ADC_Create();
R_ADC_Set_OperationOn();
DipSwitch_Init();
g_fixed_addr = DipSwitch_ReadAddr_1to32();

4
r_systeminit.c

@ -23,7 +23,7 @@
* Device(s) : R5F10PPJ
* Tool-Chain : CCRL
* Description : This file implements system initializing function.
* Creation Date: 2026-01-13
* Creation Date: 2026-01-15
***********************************************************************************************************************/
/***********************************************************************************************************************
@ -33,7 +33,6 @@ Includes
#include "r_cg_cgc.h"
#include "r_cg_port.h"
#include "r_cg_serial.h"
#include "r_cg_adc.h"
#include "r_cg_wdt.h"
/* Start user code for include. Do not edit comment generated here */
/* End user code. Do not edit comment generated here */
@ -75,7 +74,6 @@ void R_Systeminit(void)
R_SAU0_Create();
R_SAU1_Create();
R_IICA0_Create();
R_ADC_Create();
R_WDT_Create();
/* Set invalid memory access detection control */

62
uart.c

@ -7,9 +7,6 @@
#define RS485_EN_PM PM4
#define RS485_EN_MASK (0x20U) // P4.5
float g_adc_bytes[ADC_NUM_CH] = {0.0f};
uint8_t g_adc_len = 0;
void rs485_set_tx(uint8_t on)
{
if (on) RS485_EN_PORT |= RS485_EN_MASK; // EN=1 (TX)
@ -121,62 +118,3 @@ void uart1_send_hex(uint8_t val)
delay(10000);
}
/**
* : ADC_ReadAndSend_UART
* : ADC
*
* :
* 1) ADC
* - ADC_NUM_CH
* - : {0x02, 0x03, 0x04, 0x05}
*
* 2)
* for (i = 0; i < ADC_NUM_CH; i++)
* a) ADS
* b) R_ADC_Start()
* c) (ADIF == 1 )
* d) ADIF
* e) : R_ADC_Get_Result(&adc_value)
* f) ADC : R_ADC_Stop()
*
* 3) ADC
* - voltage = (adc_value / ADC_RESOLUTION) * VREF
* - : 12bit ADC, VREF = 5V이면 0~4095 0~5V
*
* 4)
* - g_adc_bytes[i] = voltage
* - g_adc_len
*
* :
* - g_adc_bytes[]:
* - g_adc_len:
*/
void ADC_ReadAndSend_UART(void)
{
static const uint8_t ADC_CHANNELS[ADC_NUM_CH] = { 0x02,0x03,0x04,0x05};
uint16_t adc_value;
float voltage;
int i;
g_adc_len = 0;
for (i = 0; i < ADC_NUM_CH; i++) {
ADS = ADC_CHANNELS[i]; // 채널 선택
R_ADC_Start(); // 변환 시작
while (ADIF == 0U); // 변환 완료 대기
ADIF = 0U;
R_ADC_Get_Result(&adc_value);
R_ADC_Stop();
/* V 계산 */
voltage = (adc_value / ADC_RESOLUTION) * VREF;
g_adc_bytes[i] = voltage;
g_adc_len++;
}
}

5
uart.h

@ -5,14 +5,10 @@
#define ADC_RESOLUTION 1023.0f // 10-bit ADC
#define VREF 5.06f // V
#define ADC_NUM_CH 4
#define RAM_BYTES 13
#define UART_RX_BUF_SIZE 96
extern float g_adc_bytes[ADC_NUM_CH];
extern uint8_t g_adc_len;
extern volatile uint8_t uart_rx_done;
extern volatile uint8_t uart_rx_index;
@ -27,7 +23,6 @@ void uart1_send_string(const char *str); // UART1(PC)
void uart1_send_hex(uint8_t val); // UART1(PC)
//void UART0_ReceiveHandler(void);
void ADC_ReadAndSend_UART(void);
void cmd_enter_command_mode(const unsigned char *d, unsigned int len);
void cmd_unknown(const unsigned char *d, unsigned int len);

Loading…
Cancel
Save