Did someone tried to use the piccolo flash memory using matlab 2010a?
Regards
Gastón
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.
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
Gastón
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
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.Summary
Description
Workaround
patch_installer('patch_flashprogrammer.zip', 'install')
toolbox\idelink\foundation\pjtgenerator\tgtpref2\+targetpref\@Controller\Controller.p
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 Vista
Matlab R2009b with RTW Embedded Coder 5.4
Embedded IDE Link 4.0
CCS 3.3
My custom board with chip F2811
Emulator TMS320 JTAG USB XDS 100 Olimex
I 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 C
Thanks 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.
Regards
Gastón
Hi Gaston,
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)
Regards
Gastón
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 program
the 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 declare
extern 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 failure
Build 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
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.
Regards
Gastón