This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

如何通过软件在cc2650上唤醒BSL?另外请教一下cc2650跟MSP432P4XX、MSP430是什么关系?

Other Parts Discussed in Thread: CC2650, UNIFLASH

最近在学习contiki os,使用CC26xx Serial Boot Loader来烧录程序到cc2650 LaunchPad,但是需要按下用户按键和重置键,很不方便。(因为下一步要使用树莓派来自动唤醒BSL),网上查阅过资料包括:

  1. UniFlash的命令行,放弃的原因是不能在树莓派上运行。
  2.  MSP432 BSL Scripter for Linux 32 bit ,好像只能唤醒blank device
  3.  
  4. 现在在看这个www.ti.com/.../slau622i.pdf  ,发现:
    #define BSL_PARAM           0xFC48FFFF  // I2C slave address = 0x48, Interface selection = Auto
    #define BSL_API_TABLE_ADDR  0x00202000  // Address of BSL API table
    #define BSL_ENTRY_FUNCTION  (*((uint32_t *)BSL_API_TABLE_ADDR))
    ((void (*)())BSL_ENTRY_FUNCTION)((uint32_t)BSL_PARAM);  // Call the BSL with given BSL parameters
    
    MAP_Interrupt_disableMaster();
    // Setup interrupt priorities into 0x00 before entering bootloader
    for (int i=0; i < 240; i++) NVIC->IP[i] = 0;
    NVIC->ICER[0] = 0xFFFF;
    NVIC->ICPR[0] = 0xFFFF;
    NVIC->ICER[1] = 0xFFFF;
    NVIC->ICPR[1] = 0xFFFF;
    // Call the BSL with given BSL parameters
    ((void (*)())BSL_ENTRY_FUNCTION)((uint32_t)BSL_PARAM);

    但是不知道这个怎么跟contiki的代码结合?