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.

28377D 串口升级 在线升级 bootloader



你好,麻烦请教个问题,我在调试28379D双核在线升级的时候,CPU1可以完成升级,但是CPU2无法控制如SCI或CAN外设,只能控制GPIO的输出点灯,不管pinmux设置是CPU1还是CPU2,CPU1拥有绝对控制权,但芯片结构上,CPU2也是有通路连接到外设总线的,请问是哪里设置的不对吗?
  • 你好,想通过CPU2控制外设,需要将外设的ownership分配给CPU2,可以参考芯片TRM的CPUSEL8寄存器:

    程序中需要加入:

    EALLOW;
    DevCfgRegs.CPUSEL8.bit.CAN_B = 1; //CPU2 is the owner
    EDIS;

    把ownership从CPU1转给CPU2。