- Under Code Generation > Coder Target > Target Hardware Resources, the IDE/Tool Chain selection should be selected to "Texas Instruments Code Composer Studio v5 (makefile generation only)". The first selection in the drop-down menu that doesn't specify the CCS version will use CCSv3.3 and try to connect to it (potentially providing the error you are seeing).
- The Flash_loader under under Code Generation > Coder Target > Target Hardware Resources > Peripherals should be disabled. This will be taken care of by your makefile via the xmakefilesetup tool. The flash loader will also try to connect to CCSv3.3 potentially causing the error you are seeing.
Troubles programming into flash memory with idelink_ert.tlc, CCSv5.4 and F28335 microcontroller
2 次查看(过去 30 天)
显示 更早的评论
Hi guys,
I am trying to program into flash memory of C2000 microcontroller, in particular F28335 experimental kit, CCSv5.4 and matlab 2014a. When I use the command checkEnvSetup('CCSv5','F28335','setup') to verify the versions are ok. I also use the command xmakefile to create a cssv5_clone configuration and I add the folders I had selected with checkEnvSetup and some code in execution tab:
-Execute tool:: C:\ti_5.4\ccsv5\ccs_base\scripting\bin\dss.bat -Arguments: "C:\ti_5.4\runProgram.js" "C:\ti_5.4\f28335_XDS_v1_emulator.ccxml" "[|||MW_XMK_GENERATED_TARGET_REF[E]|||]"
I use matlab 2014a, and the XXXX.xls model is configurated in Coder Target field as "Texas Instrument Code Composer Studio v5 (make file generation only)". The thing if that in RAM memory the code is built and executes correctly. Nevertheless if I use Flash_Loader perispheral to "Erase, Program, Verify" the code con not be loaded into F28335 MCU. The error is:
---------------------------------- error ---------------------------------------------
The call to idelink_ert_make_rtw_hook, during the exit hook generated the following error: Error while loading and running the program.
The build process will terminate as a result.
Error while loading and running the program.
Cannot start CCS application (COM error ID: 0x80040154). Verify that your CCS software is installed and configured properly. -------------------------------------------
Anybody can help me, give me some tips to program into flash memory with CCSv5.4, or give me some file/screenshoot to solve it?
Note: with CCSv3 there is no problem to do it!
Best regards,
Manuel Nieves
1 个评论
Antonin
2015-2-10
Hi Manuel,
In the configuration parameters of your model check the following:
I hope it helps,
Antonin.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!