PCB空间狭小, RSTP这个1k接地电阻是否可以去掉?
microyea 发布的帖子
-
RE: 8018HA 跑 ble_simple_peripheral 每隔3小时-5分钟 Crash dump
LR = 0x010109B5 对应 os_msg_post
i.os_msg_post 0x01010994 Section 0 os_msg_q.o(i.os_msg_post)
i.os_task_create 0x010109f4 Section 0 os_task.o(i.os_task_create)PC = 0x000008CE 对应 memcpy
__aeabi_memcpy8 0x000008c5 Thumb Code 0 syscall.txt ABSOLUTE
__aeabi_memset 0x000008e9 Thumb Code 0 syscall.txt ABSOLUTEuser code:50HZ 方波输出
void timA_fn(void *arg)
{
os_event_t Timer_event;
Timer_event.event_id = USER_EVT_TIMER;
os_msg_post(user_task_id,&Timer_event);
}貌似是库里出问题?
-
8018HA 跑 ble_simple_peripheral 每隔3小时-5分钟 Crash dump
C:\Users\micro\OneDrive\LCDGlasses\FR801xH\FR801xH-SDK-master\examples\none_evm\ble_simple_peripheral\code\ble_simple_peripheral.c
昨晚到现在的LOG:
[20:57:59.137]收←◆char3_recv:0x01,
KEY 0x00000800, TYPE BUTTON_PRESSED.[20:57:59.737]收←◆char3_recv:0x00,
KEY 0x00000800, TYPE BUTTON_PRESSED.[20:58:00.231]收←◆char3_recv:0x01,
KEY 0x00000800, TYPE BUTTON_PRESSED.[23:40:32.902]收←◆Crash, dump regs:
PC = 0x000008CE
LR = 0x010109B5
[23:40:33.116]收←◆﨎LE Peripheral
Local BDADDR: 0x3E38343936CE
All service added
Start advertising...[23:40:33.378]收←◆charge in
[23:40:40.658]收←◆link_created
addr_type:0
bond_check_find_devs_idx:8
slave[0],connect. link_num:1
adv_end,status:0x00
mtu update,conidx=0,mtu=247[23:40:41.004]收←◆Link[0]param update,interval:12,latency:0,timeout:960
[23:40:42.789]收←◆Link[0]param update,interval:12,latency:0,timeout:600
[23:40:44.648]收←◆param_timer_func
[00:57:47.895]收←◆charge full
[02:35:18.675]收←◆Crash, dump regs:
PC = 0x000008CE
LR = 0x010109B5
[02:35:18.888]收←◆BLE Peripheral
Local BDADDR: 0x3E38343936CE
All service added
Start advertising...[02:35:19.151]收←◆charge in
[02:35:22.046]收←◆charge full
[02:35:27.947]收←◆link_created
addr_type:0
bond_check_find_devs_idx:8
slave[0],connect. link_num:1
adv_end,status:0x00
mtu update,conidx=0,mtu=247[02:35:28.297]收←◆Link[0]param update,interval:12,latency:0,timeout:960
[02:35:30.081]收←◆Link[0]param update,interval:12,latency:0,timeout:600
[02:35:31.939]收←◆param_timer_func
[05:30:04.448]收←◆Crash, dump regs:
PC = 0x000008CE
LR = 0x010109B5
[05:30:04.669]收←◆BLE Peripheral
Local BDADDR: 0x3E38343936CE
All service added
Start advertising...[05:30:04.925]收←◆charge in
[05:30:12.215]收←◆link_created
addr_type:0
bond_check_find_devs_idx:8
slave[0],connect. link_num:1
adv_end,status:0x00
mtu update,conidx=0,mtu=247[05:30:12.545]收←◆Link[0]param update,interval:12,latency:0,timeout:960
[05:30:14.314]收←◆Link[0]param update,interval:12,latency:0,timeout:600
[05:30:16.210]收←◆param_timer_func
[05:31:42.089]收←◆charge full
[08:24:56.550]收←◆Crash, dump regs:
PC = 0x000008CE
LR = 0x010109B5
[08:24:56.771]收←◆﨎LE Peripheral
Local BDADDR: 0x3E38343936CE
All service added
Start advertising...[08:24:57.025]收←◆charge in
[08:25:05.832]收←◆link_created
addr_type:0
bond_check_find_devs_idx:8
slave[0],connect. link_num:1
adv_end,status:0x00
mtu update,conidx=0,mtu=247[08:25:06.157]收←◆Link[0]param update,interval:12,latency:0,timeout:960
[08:25:07.941]收←◆Link[0]param update,interval:12,latency:0,timeout:600
[08:25:09.823]收←◆param_timer_func
[08:25:44.398]收←◆charge full
[11:19:42.334]收←◆Crash, dump regs:
PC = 0x000008CE
LR = 0x010109B5
[11:19:42.551]收←◆﨎LE Peripheral
Local BDADDR: 0x3E38343936CE
All service added
Start advertising...[11:19:42.810]收←◆charge in
[11:19:50.099]收←◆link_created
addr_type:0
bond_check_find_devs_idx:8
slave[0],connect. link_num:1
adv_end,status:0x00
mtu update,conidx=0,mtu=247[11:19:50.434]收←◆Link[0]param update,interval:12,latency:0,timeout:960
[11:19:52.219]收←◆Link[0]param update,interval:12,latency:0,timeout:600
[11:19:54.092]收←◆param_timer_func
[11:30:26.446]收←◆charge full
[14:14:28.113]收←◆Crash, dump regs:
PC = 0x000008CE
LR = 0x010109B5
[14:14:28.329]收←◆﨎LE Peripheral
Local BDADDR: 0x3E38343936CE
All service added
Start advertising...[14:14:28.590]收←◆charge in
[14:14:41.909]收←◆link_created
addr_type:0
bond_check_find_devs_idx:8
slave[0],connect. link_num:1
adv_end,status:0x00
mtu update,conidx=0,mtu=247[14:14:42.262]收←◆Link[0]param update,interval:12,latency:0,timeout:960
[14:14:44.032]收←◆Link[0]param update,interval:12,latency:0,timeout:600
[14:14:45.900]收←◆param_timer_func
[15:15:57.999]收←◆charge out
[15:16:01.648]收←◆link_lost
Link[0] disconnect,reason:0x13[15:16:10.655]收←◆link_created
addr_type:0
bond_check_find_devs_idx:8
slave[0],connect. link_num:1
adv_end,status:0x00[15:16:11.087]收←◆mtu update,conidx=0,mtu=247
[15:16:12.345]收←◆Link[0]param update,interval:12,latency:0,timeout:960
[15:16:14.116]收←◆Link[0]param update,interval:10,latency:0,timeout:400
[15:16:14.647]收←◆param_timer_func
Link[0]param update,interval:12,latency:0,timeout:600 -
os_timer 最小定时周期只能到10ms
低于10就完全不工作了, 这个行为符合预期?
os_timer_start(&timA, 10,1);/*********************************************************************
- @fn osal_timer_start
- @brief Start a timer.
-
????Timer.
- @param ptimer - pointer to the timer buffer.
-
ms - expire of the timer with milliseconds. rang:[0 , ((1<<22)-1)*10]
-
repeat_flag - repeat or one shot timer
- @return None.
*/
void os_timer_start(os_timer_t *ptimer,uint32_t ms, bool repeat_flag);