- If you use idelink_ert.tlc (which you are currently using), you can implement the load function the way you did it in configuration 2, in your pdf document.
- If you use ert.tlc, this functionality is provided out of the box, you don't have to configure xmakefilesetup, you just have to pass your ccxml in the configuration parameters.
Please, I need some suppot to program into flash memory using the Flash_Loader option that simulink/Coder Target offers
4 ビュー (過去 30 日間)
古いコメントを表示
Hi Guys,
I am using ccsv5.2 and matlab 2014a(embedded coder 6.6). I have problems when I try to use Flash_loader optoion enabled whatever election of program, erase or verify is (Nevertheless this does not occur with ccsv3). I have checked the API folder and it is ok. The displayed mistake is: "Error while loading and running the program. Cannot start CCS aplication (COM error ID: 0x80040154). Verify that your CCS software is installed and configured properly". Curiously I can build and execute directly into F28335 microcontroller both RAM memory and FLASH memory if Flash_Loader is disabled (I locate some sections in FLASH memory to program in FLASH memory iven with FLash_Loader disabled)
This is very extrange, could you give me some tips please.
There is attached an extended document where is explained the CCSv5 configuration, the xmakefile configuration and the mistake.
Best regards
0 件のコメント
採用された回答
Antonin
2015 年 1 月 28 日
Hi Manuel,
The Flash loader options that you see in the configuration parameters of your models are only compatible with CCSv3.3. For CCSv4/5/6, you have 2 options to automatically flash your code as part of the build process.
While using idelink_ert.tlc, if you are looking for a command line function to load and run the generated code out of flash, you can use the gmake command with the generate makefile with the "execute" action i.e., go to the code generation folder for your model and type:
!gmake -f model_name.mk execute
I hope it helps, Thanks,
Antonin.
1 件のコメント
natalia cancino
2016 年 4 月 20 日
I didn't understand when you talk about the pdf. Can you explan to me please? I need the program is stored in flash memory.
その他の回答 (1 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!