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.

Concerto template project build problem

Other Parts Discussed in Thread: CONTROLSUITE, CODECOMPOSER

 

Hi,

I need a bit of help with a problem I'm having trying to build the RT_Sine_FIR_FFT template project in controlSuite.

It is located here:

C:\TI\controlSUITE\development_kits\TemplateProjects\F28M35x_controlCARD\RT_Sine_FIR_FFT

The first error is caused by this line of code:

#include "utils/memcopy.h"

in the file RT_sineFIRFFT_m3.c

I cannot find memcopy.h anywhere in the controlSuite installation???

I fixed the memcopy problem by pasting in a memcopy function from one of the other applications and commenting out the #include "utils/memcopy.h" line

I also get a link error:

Undefined symbol:

RamMReqSharedMemAccess

First referenced in file:

./RT_sineFIRFFT_m3.obj

Can anybody build this template project successfully?

I'm running V110 of control suite

Oh yes I also had to modify the macros.ini files in both the M3 and C28 projects to change the reference from V100 to V110.

Maybe there's a later version of the sample code???

Thanks,

Kirk

  • Kirk,

    This is a problem on our part. We switched away from using the memcopy function to the standard c memcpy and forgot to update some of the projects.

    You can get a 'fixed' version of the project here: http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/155663.aspx#568072 

    Regards,

    Alvaro

  • Alvaro,

    Thanks for the input.  I used the 'fixed' version and it builds with no problems on both the m3 and the c28.

    However, in following the step by step instructions in "F28M35x Sine FIR FFT demo quick start guide.pdf" I'm running into another problem.

    When I tried to load the c28 code (on page 6 step 6) I the following dialog box pops up:

    Trouble Writing Memory Block at 0x100d84 on Page 0 of Length 0x412:
    (Error -1156 @ 0x4E26)
    Device may be operating in low-power mode. Do you want to bring it out of this mode?
    (Release 5.0.429.0)

    When I click "Yes" the entire CodeComposer exits.

    I need some help figuring this one out.

    Thanks again,

    Kirk

     

     

     

  • Kirk,

    This could be a problem with CCS. Make sure you have the latest version.

    Also, look at the solution to a similar problem in this thread: http://e2e.ti.com/support/microcontrollers/tms320c2000_32-bit_real-time_mcus/f/171/t/155644.aspx#567079 

    You might have to download and install a patch.

    Regards,

    Alvaro

  •  

    Alvaro,

    I ran an update on CCS.  It took me from 4.2.4.xxxx  to 4.2.5.00005.

    The patch you mentioned above is CCS4.2.4.00034_update.zip.  I assume this does NOT apply to CCS Ver 4.2.5.00005??

    Anyway, the code builds and loads correctly now.  The code runs but I'm still working on getting the IP address stuff sorted out.  I need to dig in a little deeper. 

    I'll let you know how it goes.

    One other question: Which sample code would you recommend for experimenting with the FPU?

    I very much appreciate the support you're providing, thanks,

    Kirk

     

  • Kirk,

    Are you using the lwip or uip code for networking? 

    Let me ask about the FPU examples and I'll get back to you.

    Regards,

    Alvaro

  • Kirk,

    It seems we don't have any specific Concerto FPU examples.

    The 2806x devices have the same FPU unit as the Concerto, so you can look at those examples.

    Regards,

    Alvaro

  •  

    Alvaro,

    Sorry for the delayed response but I wanted to let you know that I now have the "Sine FIR FFT" demo software running and communicating with the GUI application via Ethernet.  Thanks for your help on this.

    I have a followup question related to this demo software:
    In this document:
     "F28M35x Sine FIR FFT demo quick start guide.pdf"
    Located here:
    C:\TI\controlSUITE\development_kits\TemplateProjects\F28M35x_controlCARD\RT_Sine_FIR_FFT\Doc

    On page 7 it says:

    "Important information such as: IP address when using a dynamic IP is sent out through
    UART. Open up a hyper terminal with the following settings. 115200 bits per second, 8 data
    bits, none parity and 1 stop bit.
    Run the m3 followed by c28 core and watch for information on the hyper terminal."

    What is the recommended way to connect a serial port to the Concerto ControlCARD?

    I noticed that some of the other demo applications mention using a serial port.

    Some of the other demo code makes it sound like there is way to use the USB as a virtual serial port. 
    Can I use this to capture the output mentioned above?  Or do I have to hard wire to the PC's COM port?

    Looking at the schematic I don't see any RS-232 transceivers to do the level shifting to allow direct connection to a PC's COM port.

    Maybe there's some additional documentation somewhere you can point me to?

    Some explanation would be much appreciated.

    Thanks,

    Kirk

  • Kirk,

    The XDS100 emulator on the controlCARD also mounts a 'usb serial port' on your PC. If you look at the device manager in windows, you should see the actual COM port number.

    Regards,

    Alvaro