RC02 Bug List
# 目录
# 2022-01-14 02:09:13
- 直流测量取样电阻未接地
- 交流测量取样电阻未接N
- 保证取样接低侧,先接地,对外插座串接
# V1.19 @2022-01-04 16:08:05
# V1.19 @ 2022-01-01 21:34:15
- [√] 移植 RTT-NANO 系统
- [√] 输出函数错误导致不能完整显示,拷贝代码时位将USART_SendData(UART4,*(str+i)); str+i 误写为a
- [√] 输出shell 出错显示main 堆栈错误,rtconfig.h 还原为3.1.3 并将RT-thread studio的RT-Thread Nano 配置借用 成功
# V1.18 @ 2021-12-30 13:14:02
# 功能
- [√] 增加随机打印宏开关 #define RANDOM_DEBUG_PRINT 1,随意增加到代码中进行打印输出,出厂时关闭。
# 问题
- [√] 重启后无法进行到下一步
- [√] 确认烧写APP程序时偶尔死机问题,主函数内部代码错误,全部屏蔽后重写正常
- [ ] bootloader 设置好跳转地址,APP需要调整四个地方
- [ ] APP
- [ ] 配置 target--IROM1 0x8008000 0x40000
- [ ] 配置 Linker--app.sct LR_IROM1 0x08008000 0x00040000 ;去掉 use memory 对钩,添加scatter文件
- [ ] 配置 Utilities--seting 0x8008000 0x00040000
- [ ] 添加 NVIC_SetVectorTable(NVIC_VectTab_FLASH, 0x8000); 使用rtt后 添加到rt_hw_board_init() 最前面
- [ ] bootLoader
- [ ] 配置 target--IROM1 0x8000000 0x8000
- [ ] 配置 Linker--app.sct LR_IROM1 0x08000000 0x00008000;去掉 use memory 对钩,添加scatter文件
- [ ] 配置 Utilities--seting 0x08008000 0x8000
- [ ] 添加 NVIC_SetVectorTable(NVIC_VectTab_FLASH, 0x8000); 使用rtt后 添加到rt_hw_board_init() 最前面
#define ApplicationAddress 0x08008000 // 0x08000000-0x08007FFF Boot size is 32K 0x8000~0x21000 96k 为APP区域
#define AppBackupAddress 0x08021000 // 0x08021000~0x0803A000 96k 0x08008000-0x08017FFF App back start address and size is 64k
#define ConfigAddr 0x0803A000
#define VerAddr 0x0803B000 // 版本信息存储
1
2
3
4
5
2
3
4
5
#define ApplicationAddress 0x08008000 // 0x08000000-0x08007FFF Boot size is 32K 0x8000~0x21000 96k 为APP区域
#define AppBackupAddress 0x08021000 // 0x08021000~0x0803A000 96k 0x08008000-0x08017FFF App back start address and size is 64k
#define ConfigAddr 0x0803A000
#define VerAddr 0x0803B000 // 版本信息存储
1
2
3
4
5
2
3
4
5