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.

CCS/F28M35H52C: SYS/BIOS and networking

Part Number: F28M35H52C
Other Parts Discussed in Thread: TMS320F28388D, CONTROLSUITE, C2000WARE

Tool/software: Code Composer Studio

Having confirmed that our own hardware ethernet behaves the same as the F28M35x ControlCard, I need to move forwards with proper code.

I'd like to use an RTOS;  but there appear to be no RTOS templates or code examples or even any mentions of the F28M35 in CCS Getting started, App center, websites, or anywhere else.   It appears to have been dissapeared, which isn't very helpful.  Is this processor still fully supported by CCS 10?

I've downloaded SYS/BIOS 6.83.00.18 standalone, installed into CCS (window, preferences, add path to SYS/BIOS, 'refresh' and let it install....)

Made a new CCS project (for the M3 part of the F28M35H52C), add/edit a new RTSC .cfg file, set target to ti.targets.arm.elf.M3, platform to ti.platforms.concertoM3:F28M35H52C1, added bios....\packages to XDCpath package repositories... and probably other settings...

Now XGCONF runs with SYS/BIOS options.  Allows me to set all sorts of useful looking stuff.  (although won't let me enter the 7.3728MHz oscillator, truncates to 7MHz).

But.  How do I actually get the XGConf to generate any code?  I guess I need a main.c template which actually calls the generated code (whereever that is being generated at).

Does SYS/BIOS include any networking code for the M3?  SYS/BIOS lets me turn on startup code and many other options; but should I expect to find network options or do I need the NDK for that?

(I've used Microchip Harmony 3 with PIC32, which uses FreeRTOS and Microchip's network stack - am I right to be expecting TI-RTOS, SYS/BIOS, XGCONF, to do something similar?)

Dominic.

  • Just out of interest, searching on Resource Explorer (in CCS) for the recommended replacement for F28M35H52C, which seems to be TMS320F28388D, comes up with a few example projects.  Which give some sort of html error (but displayed as text) when clicking on "import to CCS IDE".  So looks like I'd be no better off.

    Really hard to find code examples for each processor, with downloadable CCS projects.  I don't think one example project, for any processor, that I've tried, has compiled first time, if at all.  Even with multiple huge downloads of libraries... C2000Ware, controlSuite, and so on.

    Texas' main saving grace so far is how helpful the Texas staff are on these forums.

    dom.

  • You should be able to access SYS/BIOS examples by going into File -> New -> CCS Project, selecting your target, and looking at the SYS/BIOS section in the "Project templates and examples" box. I think those should demonstrate how the main.c and .cfg files relate. If you're looking for the generated code, that'll end up in your build folder under configPkg.

    TI-RTOS does include the NDK and some examples involving Ethernet on the F28M35. You should be able to import the example by going to Import CCS Projects and directing it to the following folder:

    C:\ti\tirtos_c2000_2_16_01_14\resources\tmdxdockh52C1ExperimenterKit\networkExamples\tiNetworkExamples\ethernetExamples

    I'll look into what's going on with the F28388D example in the Resource Explorer. You should be able to import it directly by pointing the Import CCS Projects window the folder though.

    C:\ti\c2000\C2000Ware_3_03_00_00\libraries\communications\Ethernet\ti\ndk\examples\

    Whitney

  • Aha!  I think that, having tried file.. new css project previously, I'd not retried it having installed sys/bios.  Would be nice to put some installation instructions for SYS/BIOS somewhere obvious - I downloaded the 'standalone' version - so it didn't automatically integrate into CSS.   And I should have installed TI-RTOS anyway - but software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/tirtos/index.html says "C2000 devices (except Concerto): Click Here. Use the SYS/BIOS product."  I think the F28M35 is a ConcertoM3 (and C28) device, also a C2000 - so the "except Concerto" confuses me.

    Knowing what to look for,  found tirtos_c2000_2_16_01_14 on the website.  It's a shame the CSS install doesn't (that I noticed anyway) give the option to download the various libraries, TI-RTOS, and so on which are likely to be useful to a new user.

    And important to note that after using the install program for tirtos_c2000 it needs to be integrated into CSS with the preferences (hidden for some reason in the 'window' menu).  Perhaps the install program could pop up a message when it's done?

    Now examples appear.  TCPecho example compiled, running and working on the ControlCard.

    Thanks again for your rapid assistance.  I'll be back. :)

    Dominic.