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.
我能否使用最新的2019 HALCOGen 驱动程序获取 TMS570LS3137引导加载程序代码
器件型号:TMS570LS3137
您好,
我需要使用最新的 HALCOGen 驱动程序(2019)以及 HALCOGen 的.DIL 和.hcg 文件的 TMS570LS3137引导加载程序代码、以便稍后可以使用此 HALCOGen 项目文件(一年或两年后也可以)来生成文件。
请包含最新的闪存库 F021_API_CortexR4_BE_V3D16.lib (2018年发布)。
2012引导加载程序版本中缺少编码标准,以下是我请求的原因:--
旧引导加载程序源代码( of 2012)中缺少(UINT32)类型转换。 并且在所有分配 中都缺少最后一个字母 U 0x000A060AU; 否则((SYS_EXception & SW_RESET)!= 0U)
以下2项以及旧引导加载程序源代码(2012年)中遗漏的一些勘误表
/* Errata CORTEXR4的权变措施66 */
_errata_CORTEXR4_66_();
/*勘误表 CORTEXR4 57的权变措施*/
_errata_CORTEXR4_57_();
/* Errata PBIST#4权变措施*/
errata_PBIST_4 ();
此外、在 system.c 中、最新的 HALCOGen 缺少以下代码
/*禁用 PLL1和 PLL2 */
systemREG1->CSDISSET = 0x00000002U | 0x00000040U;
/*SAFETYMCUSW 28 D MR:NA "硬件状态位读取检查"*/
while ((systemREG1->CSDIS & 0x42U)!= 0x42U)
{
/*等待*/
}
/*清除全局状态寄存器*/
systemREG1->GBLSTAT = 0x301U;
谢谢、此致、