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.

F28M35 ControlCARD问题

Other Parts Discussed in Thread: F28M36P63C2, CONTROLSUITE

我在调试双核的blinky程序时,在connect Target时,M3进入"0x1001566",C28进入"0x3ff7ed" 。

而且分别有警告

Cortex_M3_0: Flash Programmer: Warning: The configured device (F28M35H50C1), does not match the detected device (F28M36P63C2). Flash Programming operations could be affected. Please consider modifying your target configuration file.

C28xx_0: Flash Programmer: Warning: The configured device (F28M35H50C1), does not match the detected device (F28M36P63C2). Flash Programming operations could be affected. Please consider modifying your target configuration file.

双核从来没有在flash中跑起来过

M3Debug下可以点亮灯,但似乎带不起来C28

拨动开关应该是正确的,不知道为什么会出现这种现象?

  • aibo,

    首先看一下目标配置文件,也就是那个ccxml文件,里面的仿真器要选择xds100V2, 芯片要选择F28M35H52C1。

    然后连接各自的 内核,加载响应内核的.out文件。

    总的来说,按照下面的顺序进行调试:

    1:[Launch Selected Configuration]
    2:[Connect Target] Master Subsystem
    3:[Connect Target] Control Subsystem
    4:[Load Program] Master Subsystem(blinky_dc_m3.out)
    5:[Load Program] Control Subsystem(blinky_dc_c28.out)
    6:[Reset CPU] Control Subsystem
    7:[CPU Reset] Master Subsystem
    8:[CPU Restart] Master Subsystem
    8:[RUN] Master Subsystem
    9:[RUN] Control Subsystem {do not do a restart}

    另外,记得要在M3的main函数中加一句C28的引导代码

    //  Send boot command to allow the C28 application to begin execution
        IPCMtoCBootControlSystem(CBROM_MTOC_BOOTMODE_BOOT_FROM_FLASH); 

    现在Concerto的例程都是基于Flash的,没有加载到ram的。

    你可以下载controlSUITE软件,调试C28的话,也要先运行M3,因为C28是由M3来启动的。

    Eric