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
- ERIC
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
- ERIC
举报