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.

[参考译文] 编译器/TMS570LS3137:在 Helcogen 中生成 sys_vim.c 需要执行什么设置?

Guru**** 2478765 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/695313/compiler-tms570ls3137-what-is-setting-has-to-be-done-for-generating-the-sys_vim-c-in-helcogen

器件型号:TMS570LS3137

工具/软件:TI C/C++编译器

尊敬的先生:

我将要调试示例代码 sci。 但在输出 I 中、在两个长度递减之后、它将进入无限循环。 我已设置 TX INT。 但 sys_vim.c 不是由 helcogen 自动生成的。 您能告诉我应该执行哪种设置才能生成 sys-vim 吗? c helcogen。 因此、当我调用中断时、它应该在那里。  

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

    1.在"驱动器使能"下启用 SCI2驱动器
    2.在"SCI2"配置窗口中启用 TX INT
    3.在"VIM 通道0-31"窗口下启用通道13 (LIN 电平0)或通道27 (LIN 电平1)
    生成工程后、将其移植到 CCS
    5.在 main()函数中,通过调用“_enable_IRQ ()”来启用中断