Did someone tried to use the piccolo flash memory using matlab 2010a?
Regards
Gastón
Hi Gaston,
I already used the flash of the piccolo via matlab 2010a.
There is a memory problem and a automatically programming is not possible.
A manually programming have to be done here:
at CCS -->Tools -->F28XX On-Chip Flash Programmer-->accept the message wiht ok-->Execute Operation.
Best Regards,
Mihail
What about the password (I don´t want my piccolo get locked). You did somthing more or is just that?
Best Regards
Sorry for ask, but I want to know if this is a Matlab BUG or is a Code Composer Problem.
Hope someone of Texas see this post to answer it.
The first message in my case is:
"Data vefirication failed at address 0x3F0000..."
I think, something there is wrong programmed in the connection between matlab and CCS.
The next message for the password Locations is not critical. You can accept this message with ok.
Best Regards,Mihail
Here is the answer regarding flashing Piccolo: There is a bug in Mathworks tools, described here http://www.mathworks.com/support/bugreports/search_results/index 597766 Summary Flash Loader/Flash Programmer utility for C2000 processors does not work Description This bug consists of the following four issues: The enableQuestion_Flash.fig file is corrupt, preventing the flash warning message dialog from opening. This failure halts code generation with the flash loader and stops the entire flash programming procedure. The C2808pmsmfocflash and c28335pmsmfocflash demos give annoying popup warnings blocking the code generation process. After launching code generation on the demo, the pop up warning window appears multiple times stating "Unconfigured FLASH memory section". The Execute button on the Flash_loader pane under the Peripherals tab of a C2000 target preferences block doesn't work. Regardless of how you set Enable Flash Programmer parameter, clicking Execute produces the following error message:Undefined variable "prop" or class "prop.Enable_Flash.ui". Flash API browse button does not work. After you click "Apply", the API goes back to the default one, unless before clicking "Apply", you manually edit the input area, e.g., type an extra space to the end or cut and paste the entire content. F28027 flash programmer does not work. Workaround The patch is created for R2009b release. To install the patch, download the attached files, patch_installer.m andpatch_flashprogrammer.zip. Start MATLAB and enter the following command at the prompt:patch_installer('patch_flashprogrammer.zip', 'install') Complete the installation by following the instructions on the MATLAB command line. Remove the following file:toolbox\idelink\foundation\pjtgenerator\tgtpref2\+targetpref\@Controller\Controller.p Reboot MATLAB.
Here is the answer regarding flashing Piccolo:
There is a bug in Mathworks tools, described here
http://www.mathworks.com/support/bugreports/search_results/index
597766
Flash Loader/Flash Programmer utility for C2000 processors does not work
This bug consists of the following four issues:
The patch is created for R2009b release.
Thanks Chris for your straight answer.
Best regards
3733.Configuration.rar
Hi,I'd like to use RTW Embedded Coder to generated C Code from Simulink for F2811, but i don't know how to config CCS. Can someone help me ?I'm using Window VistaMatlab R2009b with RTW Embedded Coder 5.4Embedded IDE Link 4.0CCS 3.3My custom board with chip F2811Emulator TMS320 JTAG USB XDS 100 OlimexI loaded an example C Code into Flash memory with API Flash Tool. It's done.Attachment is my model, my configuration and error : Error while executing C2000'If_pjtgeninfo' function. Caused by : Can't read file CThanks in advandce
Dang,
First of all you don't have to configure CCS, this one is used by Simulink to download the C program into the chip. Please goto to Matlab help---->target support package--------
--->demos
Open one example model and check the configuration parameters.
There isn't any Demo for using with Flash in Matlab help for target support package. It's nice if you send me a demo ?
Many thanks
Dang
Hi Dang,
There is a BUG in Matlab when you try to use the FLASH. Anyway you still can load the model into the dsp but you must do it manually (using code composer, once the error windows apear)
I've asked Mathworks C2000 support to follow-up on this thread and add some clarification
hello i ve been trying to progrogram my picollo with matlab2010a and CCS3.3, but it appears a error "unconfigures flash memory sections".. so i guees that it is associated with the bug with was found. i know how to program my dsp with just CCS mnaually, but when i tried to programthe model generated from simulink in my dsp and CCS, i can not make it.. i tried something first, in the file (test_main.c) generated by simulink, after the libraries, i declareextern unsigned int RamfuncsLoadStart;extern unsigned int RamfuncsLoadEnd;extern unsigned int RamfuncsRunStart; extern void InitFlash(void);second, after init_board() ; i wrote the following lines InitFlash(); // call InitFlash in RAM memcpy(&RamfuncsRunStart, &RamfuncsLoadStart, &RamfuncsLoadEnd - &RamfuncsLoadStart); when i build the program appears:error: errors encountered during linking>> Compilation failureBuild Complete, 1 Errors, 0 Warnings, 0 Remarks.could you tell me me what i ve made wrong or is there any aproach to program my dsp manually? regards,David
david arbelaezcould you tell me me what i ve made wrong or is there any aproach to program my dsp manually?
You should try changing to Ram if your program is not to long. To see the length of your program go, to the matlab folder---->select your program folder----->>open memory map (as txt).
contact matlab technical support to get the patch.