调试信息
Build started: Project: RT_Thread_Finsh
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'H:\c51\UV4\ARM\ARMCC\Bin'
Build target 'N32G4FR'
After Build - User command #1: fromelf --bin --output=.\bin\RT_Thread_Finsh.bin .\Objects\RT_Thread_Finsh.axf
".\Objects\RT_Thread_Finsh.axf" - 0 Error(s), 0 Warning(s).
Build Time Elapsed: 00:00:00
Load "H:\N32G457xx\Nationstech.N32G4FR_Library.2.1.0\projects\n32g4fr_EVAL\examples\RT_Thread\RT_Thread17_Finsh\MDK-ARM\Objects\RT_Thread_Finsh.axf"
Erase Done.
Programming Done.
Verify OK.
Flash Load finished at 11:55:43
com:
\ | /
- RT - Thread Operating System
/ | \ 3.1.4 build Feb 14 2023
2006 - 2019 Copyright by rt-thread team
do components initialization.
initialize rti_board_end:0 done
initialize rt_hw_adc_init:0 done
initialize finsh_system_init:0 done
RTC InitRTC_ConfigSmoothCalib 290,f_+512-290
RTC Config end....RTC Init end
rt_adc_enable find adc1 device!
the value is :4095
the voltage is :3.29
--------------------------------
RCC_GetClocksFreqValue(&RCC_ClockFreq):
SYSCLK: 144000000
HCLK: 144000000
PCLK1: 36000000
PCLK2: 72000000
--------------------------------
start sprintf(buf, , rt_tick_get(0):5
Hello, world
i2c_dev: _open. dev->ref_count:1
OLED_Init: 1
xTaskGetTickCount(): 1
OLED_Clear: 1
Created task DF_A: Executing on core
DF_onoff Cycle Count mind_n_on:102, uint16_t mind_n_off:102, uint8_t mind_n_key:0
Created task DF_b: Executing on core finsh >DF_onoff Cycle Count mind_n_on:102, uint16_t mind_n_off:102, uint8_t mind_n_key:0
DF_onoff Cycle Count mind_n_on:102, uint16_t mind_n_off:102, uint8_t mind_n_key:0
DF_onoff Cycle Count mind_n_on:102, uint16_t mind_n_off:102, uint8_t mind_n_key:0
DF_onoff Cycle Count mind_n_on:102, uint16_t mind_n_off:102, uint8_t mind_n_key:0
DF_onoff Cycle Count mind_n_on:102, uint16_t mind_n_off:102, uint8_t mind_n_key:0
DF_onoff Cycle Count mind_n_on:102, uint16_t mind_n_off:102, uint8_t mind_n_key:0
DF_onoff Cycle Count mind_n_on:102, uint16_t mind_n_off:102, uint8_t mind_n_key:0
DF_onoff Cycle Count mind_n_on:102, uint16_t mind_n_off:102, uint8_t mind_n_key:0
DF_onoff Cycle Count mind_n_on:102, uint16_t mind_n_off:102, uint8_t mind_n_key:0
DF_A 1' end time(ms): 2020start 1.5'continue :
bootCount:173386240
1.5'start,exit DF_A.
bootCount:173386241
1.5'start 1,no DF_A.
DF_A 90+60 is ;min_dfa_808on==808 start +1'continue :
Button3 _Dowm!b=51.5'end ,yes have DF_A.
DF_onoff Cycle Count mind_n_on:0, uint16_t mind_n_off:102, uint8_t mind_n_key:1
DF_onoff Cycle Count mind_n_on:0, uint16_t mind_n_off:102, uint8_t mind_n_key:1
DF_onoff Cycle Count mind_n_on:0, uint16_t mind_n_off:102, uint8_t mind_n_key:1
DF_onoff Cycle Count mind_n_on:0, uint16_t mind_n_off:102, uint8_t mind_n_key:1
DF_onoff Cycle Count mind_n_on:0, uint16_t mind_n_off:102, uint8_t mind_n_key:1
DF_onoff Cycle Count mind_n_on:0, uint16_t mind_n_off:102, uint8_t mind_n_key:1
DF_onoff Cycle Count mind_n_on:0, uint16_t mind_n_off:102, uint8_t mind_n_key:1
DF_onoff Cycle Count mind_n_on:0, uint16_t mind_n_off:102, uint8_t mind_n_key:1
DF_onoff Cycle Count mind_n_on:0, uint16_t mind_n_off:102, uint8_t mind_n_key:1
Button4 _Dowm!KEY3_PRES start: 1
\ | /
- RT - Thread Operating System
/ | \ 3.1.4 build Feb 14 2023
2006 - 2019 Copyright by rt-thread team
do components initialization.
initialize rti_board_end:0 done
initialize rt_hw_adc_init:0 done
initialize finsh_system_init:0 done
RTC InitRTC_ConfigSmoothCalib 290,f_+512-290
RTC Config end....RTC Init end
rt_adc_enable find adc1 device!
the value is :4095
the voltage is :3.29
--------------------------------
RCC_GetClocksFreqValue(&RCC_ClockFreq):
SYSCLK: 144000000
HCLK: 144000000
PCLK1: 36000000
PCLK2: 72000000
--------------------------------
start sprintf(buf, , rt_tick_get(0):5
Hello, world
i2c_dev: _open. dev->ref_count:1
OLED_Init: 1
xTaskGetTickCount(): 1
OLED_Clear: 1
Created task DF_A: Executing on core
DF_onoff Cycle Count mind_n_on:102, uint16_t mind_n_off:102, uint8_t mind_n_key:0
Created task DF_b: Executing on core finsh >DF_onoff Cycle Count mind_n_on:102, uint16_t mind_n_off:102, uint8_t mind_n_key:0
DF_onoff Cycle Count mind_n_on:102, uint16_t mind_n_off:102, uint8_t mind_n_key:0
DF_onoff Cycle Count mind_n_on:102, uint16_t mind_n_off:102, uint8_t mind_n_key:0
DF_onoff Cycle Count mind_n_on:102, uint16_t mind_n_off:102, uint8_t mind_n_key:0
DF_onoff Cycle Count mind_n_on:102, uint16_t mind_n_off:102, uint8_t mind_n_key:0
DF_onoff Cycle Count mind_n_on:102, uint16_t mind_n_off:102, uint8_t mind_n_key:0
DF_onoff Cycle Count mind_n_on:102, uint16_t mind_n_off:102, uint8_t mind_n_key:0
DF_onoff Cycle Count mind_n_on:102, uint16_t mind_n_off:102, uint8_t mind_n_key:0
DF_onoff Cycle Count mind_n_on:102, uint16_t mind_n_off:102, uint8_t mind_n_key:0
DF_A 1' end time(ms): 2020start 1.5'continue :
bootCount:173386240
1.5'start,exit DF_A.
bootCount:173386241
1.5'start 1,no DF_A.
DF_A 90+60 is ;min_dfa_808on==808 start +1'continue :
符合预期