Browse Source

modify: VCC Error(reset)

development
gudae 2 days ago
parent
commit
f99d2cd6c7
  1. BIN
      DefaultBuild/multical.abs
  2. 518
      DefaultBuild/multical.map
  3. 3272
      DefaultBuild/multical.mot
  4. BIN
      DefaultBuild/r_cg_serial_user.obj
  5. BIN
      DefaultBuild/r_main.obj
  6. 95
      QualityReport(multical,DefaultBuild).txt
  7. 163
      multical.temp.mtud
  8. 34
      r_cg_serial_user.c
  9. 72
      r_main.c

BIN
DefaultBuild/multical.abs

Binary file not shown.

518
DefaultBuild/multical.map

@ -1,4 +1,4 @@
Renesas Optimizing Linker (W3.07.00 ) 09-Apr-2026 15:22:46
Renesas Optimizing Linker (W3.07.00 ) 20-Apr-2026 09:57:59
*** Options ***
@ -74,9 +74,9 @@ SECTION START END SIZE ALIGN
.const
00003000 00003625 626 2
.textf
00003626 00007263 3c3e 1
00003626 00007359 3d34 1
.SLIB
00007264 00009b6c 2909 1
0000735a 00009c62 2909 1
.monitor2
0003fe00 0003ffff 200 1
.bss
@ -92,7 +92,7 @@ SECTION START END SIZE ALIGN
RAMDATA SECTION: 00003bf9 Byte(s)
ROMDATA SECTION: 00001113 Byte(s)
PROGRAM SECTION: 000066f8 Byte(s)
PROGRAM SECTION: 000067ee Byte(s)
*** Symbol List ***
@ -194,511 +194,517 @@ FILE=DefaultBuild\stkinit.obj
LSTINIT3
00003669 0 none ,l *
FILE=DefaultBuild\r_main.obj
0000366a 00005658 1fef
0000366a 0000570d 20a4
_RS485_Bridge_Push
0000366a 2b func ,g *
_RS485_Bridge_ResetFifo@1
00003695 e func ,l *
_app_startup_guard_delay@1
000036a3 28 func ,l *
_app_read_vdd_internal_ref_adc@1
000036cb 69 func ,l *
_app_wait_power_good@1
00003734 26 func ,l *
_app_load_fixed_addr_from_dip@1
0000375a c func ,l *
_app_clear_uart_runtime_state@1
000036cb 4d func ,l *
00003766 4d func ,l *
_app_runtime_reset@1
00003718 c func ,l *
000037b3 c func ,l *
_rs485_abort_and_reset_pipeline@1
00003724 29 func ,l *
000037bf 29 func ,l *
_RS485_Bridge_ReadLine@1
0000374d 91 func ,l *
000037e8 91 func ,l *
_Is_V_Response_For@1
000037de 40 func ,l *
00003879 40 func ,l *
_UART1_WaitTxIdle@1
0000381e 2c func ,l *
000038b9 2c func ,l *
_UART1_SendString_Safe@1
0000384a 39 func ,l *
000038e5 39 func ,l *
_RS485_Bridge_DrainToPC@1
00003883 4d func ,l *
0000391e 4d func ,l *
_hex2byte@1
000038d0 56 func ,l *
0000396b 56 func ,l *
_is_long_owi_read_len@1
00003926 13 func ,l *
000039c1 13 func ,l *
_do_stable_owi_read@1
00003939 99 func ,l *
000039d4 99 func ,l *
_parse_x_prefix@1
000039d2 153 func ,l *
00003a6d 153 func ,l *
_OUT_PRINT@1
00003b25 d func ,l *
00003bc0 d func ,l *
_send_end_response@1
00003b32 7 func ,l *
00003bcd 7 func ,l *
_parse_x_v_cmd@1
00003b39 57 func ,l *
00003bd4 57 func ,l *
_send_n_response@1
00003b90 2b func ,l *
00003c2b 2b func ,l *
_parse_x_o_cmd@1
00003bbb 57 func ,l *
00003c56 57 func ,l *
_send_v_response@1
00003c12 3f func ,l *
00003cad 3f func ,l *
_UART0_WaitTxDone_Flag@1
00003c51 3f func ,l *
00003cec 3f func ,l *
_RS485_FlushJunk@1
00003c90 1b func ,l *
00003d2b 1b func ,l *
_PC_PrintLine_CRLF@1
00003cab 81 func ,l *
00003d46 81 func ,l *
_scan_one_addr_rs485@1
00003d2c 119 func ,l *
00003dc7 119 func ,l *
_build_line_from_rx@1
00003e45 63 func ,l *
00003ee0 63 func ,l *
_detect_protocol@1
00003ea8 37 func ,l *
00003f43 37 func ,l *
_cmd_unknown@1
00003edf 10 func ,l *
00003f7a 10 func ,l *
_print_owi_write_result@1
00003eef 5a func ,l *
00003f8a 5a func ,l *
_print_owi_read_result@1
00003f49 d5 func ,l *
00003fe4 d5 func ,l *
_run_connect_verify_one_channel@1
0000401e 1a8 func ,l *
000040b9 1b0 func ,l *
_print_connect_sweep_result@1
000041c6 52 func ,l *
00004269 52 func ,l *
_execute_connect_verify_sequence@1
00004218 9f func ,l *
000042bb 9f func ,l *
_execute_direct_read_sequence@1
000042b7 17d func ,l *
0000435a 17d func ,l *
_execute_write_coeff_sequence@1
00004434 1f6 func ,l *
000044d7 1f6 func ,l *
_execute_shadow_write_copy_nvm_sequence@1
0000462a 59a func ,l *
000046cd 59a func ,l *
_execute_owi_service_from_job@1
00004bc4 11e func ,l *
00004c67 11e func ,l *
_forward_line_rs485_and_bridge@1
00004ce2 208 func ,l *
00004d85 20c func ,l *
_process_cmd@1
00004eea 6d func ,l *
00004f91 6d func ,l *
_process_cmd_by_prefix@1
00004f57 11 func ,l *
00004ffe 11 func ,l *
_process_one_line_now@1
00004f68 43b func ,l *
0000500f 43b func ,l *
_process_one_line@1
000053a3 98 func ,l *
0000544a 98 func ,l *
_app_runtime_try_start@1
0000543b 1a func ,l *
000054e2 1a func ,l *
_app_job_tick@1
00005455 cb func ,l *
000054fc cb func ,l *
_handle_uart_command_line
00005520 9c func ,g *
000055c7 9c func ,g *
_main
000055bc 91 func ,g *
00005663 9f func ,g *
_R_MAIN_UserInit
0000564d c func ,g *
00005702 c func ,g *
FILE=DefaultBuild\r_systeminit.obj
00005659 0000569d 45
0000570e 00005752 45
_R_Systeminit
00005659 3e func ,g *
0000570e 3e func ,g *
_hdwinit
00005697 7 func ,g *
0000574c 7 func ,g *
FILE=DefaultBuild\r_cg_cgc.obj
0000569e 000056c7 2a
00005753 0000577c 2a
_R_CGC_Create
0000569e 2a func ,g *
00005753 2a func ,g *
FILE=DefaultBuild\r_cg_cgc_user.obj
000056c8 000056ca 3
0000577d 0000577f 3
_R_CGC_Get_ResetSource
000056c8 3 func ,g *
0000577d 3 func ,g *
FILE=DefaultBuild\r_cg_serial.obj
000056cb 000059ae 2e4
00005780 00005a63 2e4
_R_SAU0_Create
000056cb 10 func ,g *
00005780 10 func ,g *
_R_UART0_Create
000056db 6e func ,g *
00005790 6e func ,g *
_R_UART0_Start
00005749 26 func ,g *
000057fe 26 func ,g *
_R_UART0_Stop
0000576f 1e func ,g *
00005824 1e func ,g *
_R_UART0_Receive
0000578d 18 func ,g *
00005842 18 func ,g *
_R_UART0_Send
000057a5 26 func ,g *
0000585a 26 func ,g *
_R_SAU1_Create
000057cb 10 func ,g *
00005880 10 func ,g *
_R_UART1_Create
000057db 6e func ,g *
00005890 6e func ,g *
_R_UART1_Start
00005849 26 func ,g *
000058fe 26 func ,g *
_R_UART1_Stop
0000586f 1e func ,g *
00005924 1e func ,g *
_R_UART1_Receive
0000588d 18 func ,g *
00005942 18 func ,g *
_R_UART1_Send
000058a5 26 func ,g *
0000595a 26 func ,g *
_R_IICA0_Create
000058cb 50 func ,g *
00005980 50 func ,g *
_R_IICA0_Stop
0000591b 5 func ,g *
000059d0 5 func ,g *
_R_IICA0_StopCondition
00005920 5 func ,g *
000059d5 5 func ,g *
_R_IICA0_Master_Send
00005925 43 func ,g *
000059da 43 func ,g *
_R_IICA0_Master_Receive
00005968 47 func ,g *
00005a1d 47 func ,g *
FILE=DefaultBuild\r_cg_serial_user.obj
000059af 00005af4 146
00005a64 00005bea 187
_r_uart0_callback_receiveend@1
000059af 1 func ,l *
00005a64 42 func ,l *
_r_uart0_callback_softwareoverrun@1
000059b0 1 func ,l *
00005aa6 1 func ,l *
_r_uart0_callback_sendend@1
000059b1 9 func ,l *
00005aa7 9 func ,l *
_r_uart0_callback_error@1
000059ba 5c func ,l *
00005ab0 5c func ,l *
_r_uart1_callback_receiveend@1
00005a16 31 func ,l *
00005b0c 31 func ,l *
_r_uart1_callback_softwareoverrun@1
00005a47 1 func ,l *
00005b3d 1 func ,l *
_r_uart1_callback_sendend@1
00005a48 4 func ,l *
00005b3e 4 func ,l *
_r_uart1_callback_error@1
00005a4c 1 func ,l *
00005b42 1 func ,l *
_iica0_masterhandler@1
00005a4d 91 func ,l *
00005b43 91 func ,l *
_r_iica0_callback_master_error@1
00005ade 7 func ,l *
00005bd4 7 func ,l *
_r_iica0_callback_master_receiveend@1
00005ae5 8 func ,l *
00005bdb 8 func ,l *
_r_iica0_callback_master_sendend@1
00005aed 8 func ,l *
00005be3 8 func ,l *
FILE=DefaultBuild\r_cg_port.obj
00005af5 00005b4d 59
00005beb 00005c43 59
_R_PORT_Create
00005af5 59 func ,g *
00005beb 59 func ,g *
FILE=DefaultBuild\owi.obj
00005b4e 000062e7 79a
00005c44 000063dd 79a
_GPIO_Clear
00005b4e 12 func ,g *
00005c44 12 func ,g *
_GPIO_Input
00005b60 11 func ,g *
00005c56 11 func ,g *
_GPIO_Read
00005b71 9 func ,g *
00005c67 9 func ,g *
_OWI_Release@1
00005b7a 11 func ,l *
00005c70 11 func ,l *
_GPIO_StrongDriveHighKick@1
00005b8b 32 func ,l *
00005c81 32 func ,l *
_GPIO_ForceHighKick
00005bbd 8 func ,g *
00005cb3 8 func ,g *
_OWI_DriveLow@1
00005bc5 12 func ,l *
00005cbb 12 func ,l *
_OWI_HasTimeout
00005bd7 4 func ,g *
00005ccd 4 func ,g *
_OWI_ClearTimeout
00005bdb e func ,g *
00005cd1 e func ,g *
_OWI_GetLastTimeoutByteIndex
00005be9 4 func ,g *
00005cdf 4 func ,g *
_OWI_GetLastTimeoutBitIndex
00005bed 4 func ,g *
00005ce3 4 func ,g *
_OWI_Init
00005bf1 1b func ,g *
00005ce7 1b func ,g *
_OWI_Start
00005c0c 17 func ,g *
00005d02 17 func ,g *
_OWI_Stop
00005c23 14 func ,g *
00005d19 14 func ,g *
_OWI_StopRead@1
00005c37 17 func ,l *
00005d2d 17 func ,l *
_OWI_WaitForFallingEdge@1
00005c4e 4b func ,l *
00005d44 4b func ,l *
_OWI_ReadByte_StreamSynced@1
00005c99 73 func ,l *
00005d8f 73 func ,l *
_OWI_SecureStop
00005d0c 51 func ,g *
00005e02 51 func ,g *
_OWI_WriteBit
00005d5d 37 func ,g *
00005e53 37 func ,g *
_OWI_WriteByte
00005d94 2a func ,g *
00005e8a 2a func ,g *
_OWI_ReadBit
00005dbe af func ,g *
00005eb4 af func ,g *
_OWI_ReadByte
00005e6d 48 func ,g *
00005f63 48 func ,g *
_OWI_T_ReadBytesAndPrint
00005eb5 130 func ,g *
00005fab 130 func ,g *
_owi_result_init@1
00005fe5 21 func ,l *
000060db 21 func ,l *
_owi_result_latch_timeout@1
00006006 29 func ,l *
000060fc 29 func ,l *
_OWI_T_CommandModeRaw
0000602f 4d func ,g *
00006125 4d func ,g *
_OWI_CommandModeRaw
0000607c 4d func ,g *
00006172 4d func ,g *
_OWI_ReadBytesRaw
000060c9 bc func ,g *
000061bf bc func ,g *
_OWI_disable
00006185 15 func ,g *
0000627b 15 func ,g *
_OWI_T_CommandMode
0000619a 26 func ,g *
00006290 26 func ,g *
_OWI_CommandMode
000061c0 26 func ,g *
000062b6 26 func ,g *
_OWI_ReadBytesAndPrint
000061e6 102 func ,g *
000062dc 102 func ,g *
FILE=DefaultBuild\i2c.obj
000062e8 00006468 181
000063de 0000655e 181
_disable
000062e8 26 func ,g *
000063de 26 func ,g *
_I2C_EnablePower
0000630e 4 func ,g *
00006404 4 func ,g *
_I2C_DisablePower
00006312 3 func ,g *
00006408 3 func ,g *
_I2C_T_Command_Mode_receiveData
00006315 4d func ,g *
0000640b 4d func ,g *
_I2C_Command_Mode_receiveData
00006362 3e func ,g *
00006458 3e func ,g *
_I2C_Command_Mode_Send
000063a0 c9 func ,g *
00006496 c9 func ,g *
FILE=DefaultBuild\uart.obj
00006469 0000666a 202
0000655f 00006760 202
_rs485_recover
00006469 56 func ,g *
0000655f 56 func ,g *
_UART1_WaitTxIdle@1
000064bf 2c func ,l *
000065b5 2c func ,l *
_rs485_set_tx
000064eb b func ,g *
000065e1 b func ,g *
_rs485_init
000064f6 c func ,g *
000065ec c func ,g *
_UART0_WaitTxDone_Us
00006502 2f func ,g *
000065f8 2f func ,g *
_RS485_Send
00006531 4a func ,g *
00006627 4a func ,g *
_RS485_SendString
0000657b 11 func ,g *
00006671 11 func ,g *
_uart_send_string
0000658c 11 func ,g *
00006682 11 func ,g *
_uart1_send_string
0000659d 40 func ,g *
00006693 40 func ,g *
_uart_send_hex
000065dd 43 func ,g *
000066d3 43 func ,g *
_uart1_send_hex
00006620 4b func ,g *
00006716 4b func ,g *
FILE=DefaultBuild\delay.obj
0000666b 00006729 bf
00006761 0000681f bf
_delay
0000666b 18 func ,g *
00006761 18 func ,g *
_delay_us
00006683 82 func ,g *
00006779 82 func ,g *
_delay_ms
00006705 25 func ,g *
000067fb 25 func ,g *
FILE=DefaultBuild\dipSwitch.obj
0000672a 0000673a 11
00006820 00006830 11
_DipSwitch_Init
0000672a 8 func ,g *
00006820 8 func ,g *
_DipSwitch_ReadAddr_0to31
00006732 9 func ,g *
00006828 9 func ,g *
FILE=DefaultBuild\gatectrl.obj
0000673b 00006afe 3c4
00006831 00006bf4 3c4
_Gate_SetByNum
0000673b 372 func ,g *
00006831 372 func ,g *
_Cal_Init
00006aad 21 func ,g *
00006ba3 21 func ,g *
_Eol_Init
00006ace 21 func ,g *
00006bc4 21 func ,g *
_GateCtrl_SelectChannel
00006aef 10 func ,g *
00006be5 10 func ,g *
FILE=DefaultBuild\app_result.obj
00006aff 00006b08 a
00006bf5 00006bfe a
_app_result_print_ok
00006aff 5 func ,g *
00006bf5 5 func ,g *
_app_result_print_err
00006b04 5 func ,g *
00006bfa 5 func ,g *
FILE=DefaultBuild\app_cmd_parser.obj
00006b09 00006f7a 472
00006bff 00007070 472
_parse_x_v_addr@1
00006b09 62 func ,l *
00006bff 62 func ,l *
_find_payload_pos@1
00006b6b 1b func ,l *
00006c61 1b func ,l *
_hex_nibble@1
00006b86 31 func ,l *
00006c7c 31 func ,l *
_hex_pair_to_u8@1
00006bb7 2f func ,l *
00006cad 2f func ,l *
_app_cmd_parse_line
00006be6 395 func ,g *
00006cdc 395 func ,g *
FILE=DefaultBuild\app_scheduler.obj
00006f7b 00007016 9c
00007071 0000710c 9c
_app_scheduler_init
00006f7b 15 func ,g *
00007071 15 func ,g *
_app_scheduler_push
00006f90 38 func ,g *
00007086 38 func ,g *
_app_scheduler_pop
00006fc8 31 func ,g *
000070be 31 func ,g *
_app_scheduler_is_empty
00006ff9 9 func ,g *
000070ef 9 func ,g *
_app_scheduler_clear
00007002 15 func ,g *
000070f8 15 func ,g *
FILE=DefaultBuild\app_owi_service.obj
00007017 00007258 242
0000710d 0000734e 242
_app_owi_from_raw@1
00007017 86 func ,l *
0000710d 86 func ,l *
_is_long_owi_read@1
0000709d 15 func ,l *
00007193 15 func ,l *
_looks_bad_tail@1
000070b2 5c func ,l *
000071a8 5c func ,l *
_looks_bad_last_bytes@1
0000710e 48 func ,l *
00007204 48 func ,l *
_needs_retry_for_long_read@1
00007156 3a func ,l *
0000724c 3a func ,l *
_app_owi_read_basic
00007190 6f func ,g *
00007286 6f func ,g *
_app_owi_write_basic
000071ff 2d func ,g *
000072f5 2d func ,g *
_app_owi_write_t_basic
0000722c 2d func ,g *
00007322 2d func ,g *
FILE=DefaultBuild\r_cg_wdt.obj
00007259 00007263 b
0000734f 00007359 b
_R_WDT_Create
00007259 7 func ,g *
0000734f 7 func ,g *
_R_WDT_Restart
00007260 4 func ,g *
00007356 4 func ,g *
SECTION=.SLIB
FILE=isdigit
00007264 0000726d a
0000735a 00007363 a
_isdigit
00007264 0 none ,g *
0000735a 0 none ,g *
FILE=memcmp
0000726e 0000727f 12
00007364 00007375 12
_memcmp
0000726e 0 none ,g *
00007364 0 none ,g *
FILE=memcpy
00007280 0000728f 10
00007376 00007385 10
_memcpy
00007280 0 none ,g *
00007376 0 none ,g *
FILE=memset
00007290 0000729d e
00007386 00007393 e
_memset
00007290 0 none ,g *
00007386 0 none ,g *
FILE=sprintf
0000729e 00007396 f9
00007394 0000748c f9
_sprintf
0000729e e1 func ,g *
00007394 e1 func ,g *
__REL_sp@1
0000737f 18 func ,l *
00007475 18 func ,l *
FILE=strchr
00007397 000073a4 e
0000748d 0000749a e
_strchr
00007397 0 none ,g *
0000748d 0 none ,g *
FILE=strcpy
000073a5 000073b1 d
0000749b 000074a7 d
_strcpy
000073a5 0 none ,g *
0000749b 0 none ,g *
FILE=strlen
000073b2 000073bc b
000074a8 000074b2 b
_strlen
000073b2 0 none ,g *
000074a8 0 none ,g *
FILE=strncpy
000073bd 000073d0 14
000074b3 000074c6 14
_strncpy
000073bd 0 none ,g *
000074b3 0 none ,g *
FILE=strstr
000073d1 000073ef 1f
000074c7 000074e5 1f
_strstr
000073d1 0 none ,g *
000074c7 0 none ,g *
FILE=toupper
000073f0 000073fd e
000074e6 000074f3 e
_toupper
000073f0 0 none ,g *
000074e6 0 none ,g *
FILE=_REL_print
000073fe 00009355 1f58
000074f4 0000944b 1f58
__REL_print
000073fe 1046 func ,g *
000074f4 1046 func ,g *
__REL_fltprn@1
00008444 941 func ,l *
0000853a 941 func ,l *
__REL_henkan1@1
00008d85 28 func ,l *
00008e7b 28 func ,l *
__REL_henkan2@1
00008dad 33 func ,l *
00008ea3 33 func ,l *
__REL_pri@1
00008de0 298 func ,l *
00008ed6 298 func ,l *
__REL_fltgeti@1
00009078 19d func ,l *
0000916e 19d func ,l *
__REL_inmod@1
00009215 141 func ,l *
0000930b 141 func ,l *
FILE=_COM_fdiv
00009356 00009483 12e
0000944c 00009579 12e
__COM_fdiv
000093b5 0 none ,g *
000094ab 0 none ,g *
FILE=_COM_feq
00009484 00009499 16
0000957a 0000958f 16
__COM_feq
00009484 0 none ,g *
0000957a 0 none ,g *
FILE=_COM_fge
0000949a 000094af 16
00009590 000095a5 16
__COM_fge
0000949a 0 none ,g *
00009590 0 none ,g *
FILE=_COM_flt
000094b0 000094c5 16
000095a6 000095bb 16
__COM_flt
000094b0 0 none ,g *
000095a6 0 none ,g *
FILE=_COM_fmul
000094c6 000095b2 ed
000095bc 000096a8 ed
__COM_fmul
00009511 0 none ,g *
00009607 0 none ,g *
FILE=_COM_fne
000095b3 000095c3 11
000096a9 000096b9 11
__COM_fne
000095b3 0 none ,g *
000096a9 0 none ,g *
FILE=_COM_ftosl
000095c4 000095cb 8
000096ba 000096c1 8
__COM_ftosl
000095c4 0 none ,g *
000096ba 0 none ,g *
FILE=_COM_sidiv
000095cc 000095ed 22
000096c2 000096e3 22
__COM_sidiv
000095ce 0 none ,g *
000096c4 0 none ,g *
FILE=_COM_sirem
000095ee 0000960d 20
000096e4 00009703 20
__COM_sirem
000095ee 0 none ,g *
000096e4 0 none ,g *
FILE=_COM_ulldiv
0000960e 00009637 2a
00009704 0000972d 2a
__COM_ulldiv
0000960e 0 none ,g *
00009704 0 none ,g *
FILE=_COM_ullrem
00009638 00009668 31
0000972e 0000975e 31
__COM_ullrem
00009638 0 none ,g *
0000972e 0 none ,g *
FILE=_REL_f_inf
00009669 00009670 8
0000975f 00009766 8
__REL_f_inf
00009669 0 none ,g *
0000975f 0 none ,g *
FILE=_REL_f_norm
00009671 00009680 10
00009767 00009776 10
__REL_f_norm
00009671 0 none ,g *
00009767 0 none ,g *
FILE=_REL_f_round
00009681 00009693 13
00009777 00009789 13
__REL_f_round
00009681 0 none ,g *
00009777 0 none ,g *
FILE=_REL_fcmp
00009694 000096cb 38
0000978a 000097c1 38
__REL_fcmp
00009694 0 none ,g *
0000978a 0 none ,g *
FILE=_REL_fordered_core
000096cc 000096e7 1c
000097c2 000097dd 1c
__REL_fordered_core
000096cc 0 none ,g *
000097c2 0 none ,g *
FILE=_REL_ftol
000096e8 0000971c 35
000097de 00009812 35
__REL_ftol
000096e8 0 none ,g *
000097de 0 none ,g *
FILE=_REL_lldiv
0000971d 00009922 206
00009813 00009a18 206
__REL_lldiv
00009739 0 none ,g *
0000982f 0 none ,g *
FILE=_REL_llrem
00009923 00009b26 204
00009a19 00009c1c 204
__REL_llrem
00009940 0 none ,g *
00009a36 0 none ,g *
FILE=_REL_ltosl
00009b27 00009b4b 25
00009c1d 00009c41 25
__REL_ltosl
00009b27 0 none ,g *
00009c1d 0 none ,g *
FILE=_COM_lshr
00009b4c 00009b6c 21
00009c42 00009c62 21
__COM_lshr
00009b56 0 none ,g *
00009c4c 0 none ,g *
SECTION=.monitor2
FILE=rlink_generates_02
@ -880,7 +886,7 @@ FILE=rlink_generates_05
__s.textf
00003626 0 none ,g *
__e.textf
00007264 0 none ,g *
0000735a 0 none ,g *
__s.const
00003000 0 none ,g *
__e.const
@ -922,9 +928,9 @@ FILE=rlink_generates_05
__e.RLIB
000000c4 0 none ,g *
__s.SLIB
00007264 0 none ,g *
0000735a 0 none ,g *
__e.SLIB
00009b6d 0 none ,g *
00009c63 0 none ,g *
__s.option_byte
000000c0 0 none ,g *
__e.option_byte

3272
DefaultBuild/multical.mot

File diff suppressed because it is too large

BIN
DefaultBuild/r_cg_serial_user.obj

Binary file not shown.

BIN
DefaultBuild/r_main.obj

Binary file not shown.

95
QualityReport(multical,DefaultBuild).txt

@ -1,90 +1,13 @@
QualityReport
2026년 4월 9일 목요일 오후 3:22:46
2026년 4월 20일 월요일 오전 9:59:46
------ 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
W0511106:The folder "..\..\Documents\카카오톡 받은 파일\IDH1.1\IDH1.1" specified by the "-I" option is not found.
W0511187:The evaluation period for the option "-Odefault" of CC-RL V1 has expired. It is implicitly changed to "-Olite". Please consider purchasing the product to continue using "-Odefault". By explicitly specifying "-Olite" or "-Onothing", this warning message disappears.
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.15.00\inc\stdint.h(18):W0520301:Typedef name has already been declared (with same type)
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.15.00\inc\stdint.h(19):W0520301:Typedef name has already been declared (with same type)
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.15.00\inc\stdint.h(20):W0520301:Typedef name has already been declared (with same type)
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.15.00\inc\stdint.h(25):W0520301:Typedef name has already been declared (with same type)
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.15.00\inc\stdint.h(26):W0520301:Typedef name has already been declared (with same type)
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.15.00\inc\stdint.h(27):W0520301:Typedef name has already been declared (with same type)
i2c.h(8):W0520047:Incompatible redefinition of macro "RAM_BYTES" (declared at line 15 of "uart.h")
r_main.c(688):W0520172:External/internal linkage conflict with previous declaration
r_main.c(807):W0520177:Variable "dbg" was declared but never referenced
r_main.c(1298):W0520177:Variable "dbg" was declared but never referenced
r_main.c(1907):W0520177:Variable "total_us" was declared but never referenced
r_main.c(1908):W0520177:Variable "idle_us" was declared but never referenced
r_main.c(1910):W0520177:Variable "got_any" was declared but never referenced
r_main.c(103):W0520177:Variable "s_end_pat" was declared but never referenced
r_main.c(264):W0520177:Function "UART1_SendBytes_Safe" was declared but never referenced
r_main.c(425):W0520177:Function "bridge_wait_until_end" was declared but never referenced
r_main.c(766):W0520177:Function "connect_verify_reset" was declared but never referenced
r_main.c(771):W0520177:Function "print_hex_line" was declared but never referenced
r_main.c(1616):W0520177:Function "execute_owi_service_from_line" was declared but never referenced
C:\Program Files (x86)\Renesas Electronics\CS+\CC\CC-RL\V1.15.00\Bin\rlink.exe -subcommand=DefaultBuild\multical.clnk
W0561017:Paid license of CC-RL V1 is not found, and the evaluation period has expired. Please consider purchasing the product.
W0561017:Paid license of CC-RL V1 is not found, and the evaluation period has expired. Please consider purchasing the product.
Renesas Optimizing Linker Completed
------ Build ended(Error:0, Warning:23)(multical, DefaultBuild) ------
--- CommandFile 1 ---
DefaultBuild\multical.clnk :
-Input=DefaultBuild\cstart.obj
-Input=DefaultBuild\stkinit.obj
-Input=DefaultBuild\r_main.obj
-Input=DefaultBuild\r_systeminit.obj
-Input=DefaultBuild\r_cg_cgc.obj
-Input=DefaultBuild\r_cg_cgc_user.obj
-Input=DefaultBuild\r_cg_serial.obj
-Input=DefaultBuild\r_cg_serial_user.obj
-Input=DefaultBuild\r_cg_port.obj
-Input=DefaultBuild\r_cg_port_user.obj
-Input=DefaultBuild\owi.obj
-Input=DefaultBuild\i2c.obj
-Input=DefaultBuild\uart.obj
-Input=DefaultBuild\delay.obj
-Input=DefaultBuild\dipSwitch.obj
-Input=DefaultBuild\gatectrl.obj
-Input=DefaultBuild\app_result.obj
-Input=DefaultBuild\app_cmd_parser.obj
-Input=DefaultBuild\app_scheduler.obj
-Input=DefaultBuild\app_owi_service.obj
-Input=DefaultBuild\r_cg_wdt.obj
-Input=DefaultBuild\r_cg_wdt_user.obj
-SECURITY_ID=00000000000000000000
-DEVICE=C:\Program Files (x86)\Renesas Electronics\CS+\CC\Device\RL78\Devicefile\DR5F10PPJ.DVF
-DEBug
-NOCOmpress
-NOOPtimize
-OUtput=DefaultBuild\multical.abs
-OCDBG=84
-DEBUG_MONITOR=3FE00-3FFFF
-USER_OPT_BYTE=78FFF8
-OCDTR
-LISt=DefaultBuild\multical.map
-SHow=SYmbol,Total_size
-AUTO_SECTION_LAYOUT
-ROm=.data=.dataR
-ROm=.sdata=.sdataR
-NOMessage
-MEMory=High
-NOLOgo
-LIBrary=DefaultBuild\multical.lib
-end
-Input=DefaultBuild\multical.abs
-DEVICE=C:\Program Files (x86)\Renesas Electronics\CS+\CC\Device\RL78\Devicefile\DR5F10PPJ.DVF
-OUtput=DefaultBuild\multical.mot
-FOrm=Stype
-NOMessage
-exit
------ Build ended(Error:0, Warning:0)(multical, DefaultBuild) ------
--- SHA1 hash value of output files ---
C:\Users\temp\Desktop\new_fw\DefaultBuild\multical.abs: 75067f9834500a405ee3d20e259594ab1535208d
C:\Users\temp\Desktop\new_fw\DefaultBuild\multical.mot: f3d9b05b7d114425f3412d46e99b533d9effb2e3
C:\Users\temp\Desktop\new_fw\DefaultBuild\multical.abs: 8560ea4910f421365a9a2f9bfaaf95b234e8f0d7
C:\Users\temp\Desktop\new_fw\DefaultBuild\multical.mot: b5fa3b81b6dbced6190037153433317959d001ca
--- System Information ---
@ -95,7 +18,7 @@ C:\Users\temp\Desktop\new_fw\DefaultBuild\multical.mot: f3d9b05b7d114425f3412d46
*.NET Framework Version
Microsoft .NET Framework 4 [.NET 4.8 or later] (533325)
*WebView2 Version
146.0.3856.109
147.0.3912.60
--- Application Information ---
*Product Name
@ -112,13 +35,13 @@ C:\Users\temp\Desktop\new_fw\DefaultBuild\multical.mot: f3d9b05b7d114425f3412d46
C:\Program Files (x86)\Renesas Electronics\CS+\CC
*Memory Usage
*Private Working Set
235 MB
378 MB
*Number of GDI Objects
2772
3181
*Number of USER Objects
1712
1647
*Opened Files
34 editors, 34 files, 243 KB
36 editors, 36 files, 253 KB
--- Build Tool Plug-in Information ---
RH850 Build tool CC-RH Plug-in

163
multical.temp.mtud

File diff suppressed because one or more lines are too long

34
r_cg_serial_user.c

@ -156,6 +156,40 @@ static void __near r_uart0_interrupt_send(void)
static void r_uart0_callback_receiveend(void)
{
/* Start user code. Do not edit comment generated here */
uint8_t c = rs485_rx_buffer[rs485_rx_index];
if (g_rs485_bridge_active)
{
RS485_Bridge_Push(c);
g_rs485_bridge_seq++;
R_UART0_Receive((uint8_t *)&rs485_rx_buffer[0], 1);
return;
}
if (rs485_rx_index < (UART_RX_BUF_SIZE - 1))
{
rs485_rx_index++;
rs485_rx_length = rs485_rx_index;
}
else
{
rs485_rx_done = 1;
return;
}
if (c == '\r')
{
R_UART0_Receive((uint8_t *)&rs485_rx_buffer[rs485_rx_index], 1);
return;
}
if (c == '\n')
{
rs485_rx_done = 1;
return;
}
R_UART0_Receive((uint8_t *)&rs485_rx_buffer[rs485_rx_index], 1);
/* End user code. Do not edit comment generated here */
}

72
r_main.c

@ -160,6 +160,70 @@ static void app_startup_guard_delay(uint16_t total_ms)
}
}
#define APP_POWER_GOOD_ADC_MAX_COUNT (360U)
#define APP_POWER_GOOD_STABLE_SAMPLES (8U)
#define APP_POWER_GOOD_SAMPLE_DELAY_MS (20U)
#define APP_POWER_GOOD_ADC_GUARD (60000U)
static uint16_t app_read_vdd_internal_ref_adc(void)
{
uint32_t guard;
uint16_t value = 1023U;
ADCEN = 1U;
ADCS = 0U;
ADM0 = _00_AD_CONVERSION_CLOCK_64 | _00_AD_TIME_MODE_NORMAL_1 | _00_AD_OPERMODE_SELECT;
ADM1 = _00_AD_TRIGGER_SOFTWARE | _20_AD_CONVMODE_ONESELECT;
ADM2 = _00_AD_POSITIVE_VDD | _00_AD_NEGATIVE_VSS | _00_AD_AREA_MODE_1 | _00_AD_RESOLUTION_10BIT;
ADUL = _FF_AD_ADUL_VALUE;
ADLL = _00_AD_ADLL_VALUE;
ADS = _81_AD_INPUT_INTERREFVOLT;
ADMK = 1U;
ADIF = 0U;
ADCE = 1U;
delay_us(30U);
ADIF = 0U;
ADCS = 1U;
guard = APP_POWER_GOOD_ADC_GUARD;
while (ADIF == 0U && guard != 0U) {
guard--;
}
if (guard != 0U) {
value = (uint16_t)(ADCR >> 6U);
}
ADCS = 0U;
ADCE = 0U;
ADIF = 0U;
return value;
}
static void app_wait_power_good(void)
{
uint8_t stable = 0U;
while (stable < APP_POWER_GOOD_STABLE_SAMPLES) {
uint16_t adc = app_read_vdd_internal_ref_adc();
if (adc <= APP_POWER_GOOD_ADC_MAX_COUNT) {
stable++;
} else {
stable = 0U;
}
app_startup_guard_delay(APP_POWER_GOOD_SAMPLE_DELAY_MS);
}
}
static void app_load_fixed_addr_from_dip(void)
{
DipSwitch_Init();
g_fixed_addr = DipSwitch_ReadAddr_0to31();
}
static void app_clear_uart_runtime_state(void)
{
uart_rx_done = 0;
@ -831,6 +895,7 @@ static int run_connect_verify_one_channel(const app_job_t *job, uint8_t ch)
Gate_SetByNum(ch, job->hash_on, job->anaout_on, job->check_on);
GateCtrl_SelectChannel(ch);
R_WDT_Restart();
/* 1) OWT 28 003 + first3 */
r_write1 = app_owi_write_t_basic(0x28u, write1_data, 3);
if (!r_write1.ok || r_write1.timeout) {
@ -847,6 +912,7 @@ static int run_connect_verify_one_channel(const app_job_t *job, uint8_t ch)
continue;
}
R_WDT_Restart();
/* 3) OWT 28 001 + 7C */
r_write3 = app_owi_write_t_basic(0x28u, &cmd_7c, 1);
if (!r_write3.ok || r_write3.timeout) {
@ -1574,6 +1640,7 @@ static void forward_line_rs485_and_bridge(const char *line)
}
}
R_WDT_Restart();
delay_us(50);
total_us -= 50U;
}
@ -2252,6 +2319,11 @@ void R_MAIN_UserInit(void);
R_WDT_Create();
R_WDT_Restart();
app_wait_power_good();
R_PORT_Create();
rs485_init();
app_load_fixed_addr_from_dip();
rs485_set_tx(0);
app_startup_guard_delay(50);

Loading…
Cancel
Save