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.
您好!
我正在使用 Code Composer Studio 9为 TMS320F28335调试引导加载程序软件。 当我开始调试并调用由 flash28335_API_V210.lib 导入的闪存 API 来擦除扇区 bcd (我要在其中放置新映像)时、我会看到代码崩溃、微控制器重新启动。 我在 code composer studio 上得到的错误为"c28xx:breakpoint manager:error enabling this function: this task cannot be ducased"。 我在调试模式下编译引导加载程序、然后单击加载程序并选择文件 debug.out。我在引导加载程序的初始化部分复制闪存 API、从闪存到 F28335的 raml0、并在之后设置 API 的 cuscal因素。
您能帮我解决这个问题吗?
谢谢
您好、Marcello、
您是否能够成功执行 C2000ware 中提供的闪存 API 使用示例?
谢谢、此致、
Vamsi
您好!
我对链接器和软件使用的设置与 c2000ware 示例中报告的设置完全相同、但仍然无法正常工作。 执行闪存擦除后代码崩溃。
是否可能取决于库 flash28335_API_V210.lib 与 ccs9包含选项的链接? 您能否发送 me link 选项将库链接到我必须放入 ccs9字段的工程中:
1) properties->CCS build->C2000 linker -> file search path -> Include library file or command file as input (属性->CCS build->C2000链接器->文件搜索路径->将库文件或命令文件作为输入)。
2) properties->CCS build->C2000 linker -> file search path -> add dir to library search path。
感谢您的支持和问候
您好、Marcello、
请在 C2000WARE 的以下目录中查看闪存 API 指南。 它提供了有关使用闪存 API /将其集成到您自己的应用中的详细信息。
C:\ti\c2000Ware_3_02_00_00\libraries\flash_api\F2833x\28335\docs\Flash2833x_API_Quickstart.pdf
您说过、您已经在项目中包含了以下内容、用于将 API 函数从闪存复制到 RAM? 这是我们看到的一个常见错误。
//将闪存 API 函数复制到 SARAM Example_Memcopy (&Flash28_API_LoadStart、&Flash28_API_LoadEnd、&Flash28_API_RunStart); //我们还必须将所需的用户界面函数复制到 RAM。 Example_Memcopy (&RamfuncsLoadStart、&RamfuncsLoadEnd、&RamfuncsRunStart);
[引用 user="Marcello iopolo1]1) properties->CCS build->C2000链接器->文件搜索路径->将库文件或命令文件作为输入。
应包含闪存 API 库文件:"Flash28335_API_V210.lib"
[引用 user="Marcello iopolo1]2) properties->CCS build->C2000链接器->文件搜索路径->向库搜索路径添加目录。
应以某种形式包含库文件的此路径:"C:\ti\c2000Ware_3_02_00_00\libraries\flash_api\F2833x\28335\lib"
最棒的
Kevin