CC2640怎么设置串口参数打开bootloader?
时间:10-02
整理:3721RD
点击:
CC2640怎么设置串口参数打开bootloader?
我设置了一下CCFG.c里面关于串口bootloader的参数,
// #define SET_CCFG_BL_CONFIG_BOOTLOADER_ENABLE 0x00 // Disable #define SET_CCFG_BL_CONFIG_BOOTLOADER_ENABLE 0xC5 // Enable
// #define SET_CCFG_BL_CONFIG_BL_LEVEL 0x0 // Active low #define SET_CCFG_BL_CONFIG_BL_LEVEL 0x1 // Active high
#define SET_CCFG_BL_CONFIG_BL_PIN_NUMBER 0x2 // DIO number for boot loader failure analysis
#define SET_CCFG_BL_CONFIG_BL_ENABLE 0xC5 // Enabled //#define SET_CCFG_BL_CONFIG_BL_ENABLE 0xFF // Disabled
但是,修改后,总是报错:
Failed to halt after bootloader1.
请问该如何设置进入串口bootloader?