TorryLong

博客园 首页 新随笔 联系 订阅 管理

2020年5月20日 #

摘要: #define FU_SAADC_RESOLUTION 1024 // 10bit#define FU_SAADC_REFERENCE 3600 // (in the unit of mV) uint16_t service_bas_voltage_get(void){ ret_code_t err 阅读全文
posted @ 2020-05-20 19:39 TorryLong 阅读(627) 评论(0) 推荐(0) 编辑

2020年5月16日 #

摘要: if(nrf_power_resetreas_get() & NRF_POWER_RESETREAS_OFF_MASK)//读取是掉电重启还是按键唤醒 {//按键唤醒 if(KEY_POWER_PRESSED) { key_smokekey_enable(); } eStateMachine = E 阅读全文
posted @ 2020-05-16 15:44 TorryLong 阅读(1191) 评论(0) 推荐(0) 编辑

2020年5月13日 #

摘要: 阅读全文
posted @ 2020-05-13 16:52 TorryLong 阅读(421) 评论(0) 推荐(0) 编辑

2020年5月5日 #

摘要: nrf52832(nrf52810) 阅读全文
posted @ 2020-05-05 12:27 TorryLong 阅读(493) 评论(0) 推荐(0) 编辑

2020年4月22日 #

摘要: 阅读全文
posted @ 2020-04-22 10:11 TorryLong 阅读(629) 评论(0) 推荐(0) 编辑

2020年4月20日 #

摘要: 52810的升级命令nrfutil settings generate --family NRF52 --application app10.hex --application-version 1 --bootloader-version 1 --bl-settings-version 2 sett 阅读全文
posted @ 2020-04-20 19:26 TorryLong 阅读(565) 评论(0) 推荐(0) 编辑

2020年4月19日 #

摘要: nrfutil生成的DFU设置十六进制文件未按字对齐使用nrfutil生成设置版本2的DFU设置页(带有备份页)时,nrfutil生成的.hex文件不是字对齐的,即,设置页和备份页中的字节数不均。例如,这导致Keil uVision中的LOAD命令失败,并显示以下 错误消息:LOAD $LBootl 阅读全文
posted @ 2020-04-19 18:18 TorryLong 阅读(195) 评论(0) 推荐(0) 编辑