请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号: TMS320F280049
尊敬的专家:
我们希望从闪存引导、但很怀疑 GPIO32 上存在问题、该问题可能导致 CAN 引导、但我们无法验证该子系统。 确定我们是从闪存引导还是从 CAN 引导的最有效、最快速的方法是什么?
Joyce
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.
器件型号: TMS320F280049
尊敬的专家:
我们希望从闪存引导、但很怀疑 GPIO32 上存在问题、该问题可能导致 CAN 引导、但我们无法验证该子系统。 确定我们是从闪存引导还是从 CAN 引导的最有效、最快速的方法是什么?
Joyce
您好 Joyce、
下面是一些可能的方法:

OnTargetConnect()
{
// *(int *)0x5F412 =0x0003; /* RAM INIT FOR M0/M1 Memory */
// *(int *)0x5F432 =0x00FF; /* RAM INIT FOR LS0..LS7 Memory */
// *(int *)0x5F452 =0x000F; /* RAM INIT FOR GS0..GS3 Memory */
if (GEL_IsInRealtimeMode()) /* If in real-time-mode */
{
}
else /* Put device into C28x Mode */
{
C28x_Mode();
}
F280049_Memory_Map(); /* Initialize the CCS memory map */
/* Check to see if CCS has been started-up with the DSP already */
/* running in real-time mode. The user can add whatever */
/* custom initialization stuff they want to each case. */
if (GEL_IsInRealtimeMode()) /* Do real-time mode target initialization */
{
}
else /* Do stop-mode target initialization */
{
// GEL_Reset(); /* Reset DSP */
}
} 此致、
马特