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.

[参考译文] TMS320F28069:F28069在调试模式下正常、释放模式不运行程序、

Guru**** 2343950 points
Other Parts Discussed in Thread: CONTROLSUITE
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/591890/tms320f28069-f28069-is-fine-in-the-debug-mode-the-release-mode-does-not-run-the-program

器件型号:TMS320F28069
Thread 中讨论的其他器件:controlSUITE

F28069在 调试模式下正常、释放模式不运行程序、在线调试进入非法中断。 在 DELAY_US (ADC_USDELAY)中对 ADC 进行初始化;跳转到 llegal 操作陷阱中断、origin = 0x008008找不到源文件。  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好、Alvin、

    为什么采用释放模式? 如果要将基于 RAM 的代码转换为基于闪存的代码、只需按照以下步骤操作:

    以下是步骤:
    您需要添加这两个语句

    Memcopy (&RamfuncsLoadStart、&RamfuncsLoadEnd、&RamfuncsRunStart);
    InitFlash();在 InitPieVectTable()之后;

    将 DSP2806x_Memcopy.c 文件添加到项目中。

    在 main()函数上方定义 extern 变量。

    extern UINT16 RamfuncsLoadStart;
    extern UINT16 RamfuncsLoadEnd;
    extern UINT16 RamfuncsRunStart;

    将28069_RAM_lnk.cmd 替换为 F28069.cmd
    编译代码。
    将 GPIO 配置为引导至闪存。

    此外、您还可以参考此处显示的直接示例代码:
    C:\ti\controlSUITE\device_support\f2806x\v151\F2806x_examples_ccsv5\flash_f28069

    此致、
    Gautam