Difference between revisions of "Create new SYS/BIOS project for D.Module2.C6657"
Line 1: | Line 1: | ||
+ | |||
== Problem == | == Problem == | ||
SYS/BIOS based projects require the correct platform setting for D.Module2.C6657. Even after adding the discovery path under CCS RTSC preferences no suitable platform is available for project settings. | SYS/BIOS based projects require the correct platform setting for D.Module2.C6657. Even after adding the discovery path under CCS RTSC preferences no suitable platform is available for project settings. | ||
Line 13: | Line 14: | ||
=== New Project === | === New Project === | ||
Press Alt+Shift+N or menu File->New and select New CCS Project | Press Alt+Shift+N or menu File->New and select New CCS Project | ||
− | + | {| | |
− | + | |style="width: 500px;"| | |
− | + | <br /><br />Choose target "TMS320C6657" or "Generic C66xx Device". | |
<br /><br /><br /><br />Enter a project name. Since projects in the Eclipse workspace must be unique, it is recommended to append the module name to the project name to prevent later naming conflicts with other module types.<br />Browse for your project location (typically under \D.SignT\Boards\DM2C6657\Projects\). | <br /><br /><br /><br />Enter a project name. Since projects in the Eclipse workspace must be unique, it is recommended to append the module name to the project name to prevent later naming conflicts with other module types.<br />Browse for your project location (typically under \D.SignT\Boards\DM2C6657\Projects\). | ||
− | <br /><br /><br /><br /><br /><br /><br /><br /><br />As project template select "Empty RTCS Project" and press Next. | + | <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />As project template select "Empty RTCS Project" and press Next. |
+ | |||
+ | |style="width: 500px;"| | ||
+ | [[File:new_project_dialog.jpg|thumb|500px]] | ||
+ | |} | ||
{{Absatz}} | {{Absatz}} | ||
Line 26: | Line 31: | ||
=== RTSC Configuration Settings === | === RTSC Configuration Settings === | ||
+ | {| | ||
+ | |style="width: 500px;"| | ||
+ | Check the Platform drop-down list for keyword 'dm2c6657'. If it is missing continue with the next step, else jump to [[#Platform dm2c6657 or dm2c6657_1|2.6 Platform dm2c6657 or dm2c6657_1]] | ||
+ | |style="width: 500px;"| | ||
[[File:RTCS_Configuration_settings.jpg|thumb|500px]] | [[File:RTCS_Configuration_settings.jpg|thumb|500px]] | ||
− | + | |} | |
{{Absatz}} | {{Absatz}} | ||
Line 34: | Line 43: | ||
=== Add Product or Repository === | === Add Product or Repository === | ||
Choose "Add" next to "Products and Repository". | Choose "Add" next to "Products and Repository". | ||
+ | {| | ||
+ | |style="width: 500px;"| | ||
− | |||
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />In the newly opened dialog activate "Select repository from file-system" and browse for the D.Module2.C6657 RTSC directory (typically under \D.SignT\Boards\DM2C6657\BoardSupport\). | <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />In the newly opened dialog activate "Select repository from file-system" and browse for the D.Module2.C6657 RTSC directory (typically under \D.SignT\Boards\DM2C6657\BoardSupport\). | ||
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br />Press OK | <br /><br /><br /><br /><br /><br /><br /><br /><br /><br />Press OK | ||
+ | |style="width: 500px;"| | ||
+ | [[File:add_product_or_repository.jpg|thumb|500px]] | ||
+ | |} | ||
{{Absatz}} | {{Absatz}} | ||
Line 45: | Line 58: | ||
=== Other Repositories === | === Other Repositories === | ||
The RTSC Configuration Settings dialog should contain a new product "Other Repositories". | The RTSC Configuration Settings dialog should contain a new product "Other Repositories". | ||
+ | {| | ||
+ | |style="width: 500px;"| | ||
+ | <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />Activate the DM2C6657 entry (if not yet activated) and try again to select a platform | ||
+ | |style="width: 500px;"| | ||
[[File:other_repositories.jpg|thumb|500px]] | [[File:other_repositories.jpg|thumb|500px]] | ||
− | + | |} | |
{{Absatz}} | {{Absatz}} | ||
Line 52: | Line 69: | ||
=== Platform dm2c6657 or dm2c6657_1 === | === Platform dm2c6657 or dm2c6657_1 === | ||
− | + | {| | |
+ | |style="width: 500px;"| | ||
This time two new platforms should appear in the drop-down list (if not try to refresh the list by clicking on the XDCTools version - 3.31.0.24_core in the image) | This time two new platforms should appear in the drop-down list (if not try to refresh the list by clicking on the XDCTools version - 3.31.0.24_core in the image) | ||
<br /><br /><pre style="color:red">dm2c6657</pre> for CPU core 0 and <pre style="color:red">dm2c6657_1</pre> for CPU core 1. | <br /><br /><pre style="color:red">dm2c6657</pre> for CPU core 0 and <pre style="color:red">dm2c6657_1</pre> for CPU core 1. | ||
+ | |style="width: 500px;"| | ||
+ | [[File:platform_dm2c6657.jpg|thumb|500px]] | ||
+ | |} | ||
{{Absatz}} | {{Absatz}} | ||
+ | {| | ||
+ | |style="width: 500px;"| | ||
+ | <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />Select the desired platform and finish the create new project process | ||
+ | |style="width: 500px;"| | ||
[[File:finish_new_project.jpg|thumb|500px]] | [[File:finish_new_project.jpg|thumb|500px]] | ||
− | + | |} | |
{{Absatz}} | {{Absatz}} | ||
Line 65: | Line 90: | ||
=== Empty Project === | === Empty Project === | ||
− | + | {| | |
+ | |style="width: 500px;"| | ||
You should now have an empty SYS/BIOS project. | You should now have an empty SYS/BIOS project. | ||
+ | |style="width: 500px;"| | ||
+ | [[File:empty_project.jpg|thumb|500px]] | ||
+ | |} | ||
{{Absatz}} | {{Absatz}} | ||
Line 73: | Line 102: | ||
{{pagetop}} | {{pagetop}} | ||
=== Add SYS/BIOS configuration === | === Add SYS/BIOS configuration === | ||
+ | {| | ||
+ | |style="width: 500px;"| | ||
+ | To add a blank SYS/BIOS configuration to your empty project, choose from menu "File->New->RTSC Configuration File" | ||
+ | |style="width: 500px;"| | ||
[[File:8.new_configuration_file.jpg|thumb|500px]] | [[File:8.new_configuration_file.jpg|thumb|500px]] | ||
− | + | |} | |
{{Absatz}} | {{Absatz}} | ||
+ | {| | ||
+ | |style="width: 500px;"| | ||
+ | <br /><br /><br /><br /><br /><br />Enter a file name and press "Finish" | ||
+ | |style="width: 500px;"| | ||
[[File:9.new_configuration_file2.jpg|thumb|500px]] | [[File:9.new_configuration_file2.jpg|thumb|500px]] | ||
− | + | |} | |
{{Absatz}} | {{Absatz}} | ||
− | + | {| | |
+ | |style="width: 500px;"| | ||
Double click on the SYS/BIOS configuration file. | Double click on the SYS/BIOS configuration file. | ||
Activate "Add SYS/BIOS to my configuration" | Activate "Add SYS/BIOS to my configuration" | ||
+ | |style="width: 500px;"| | ||
+ | [[File:10.add_sysbios_support.jpg|thumb|500px]] | ||
+ | |} | ||
{{Absatz}} | {{Absatz}} | ||
Line 92: | Line 133: | ||
=== Add Source Code === | === Add Source Code === | ||
+ | {| | ||
+ | |style="width: 500px;"| | ||
+ | Now add some source code: | ||
+ | |style="width: 500px;"| | ||
[[File:11.add_source_code.jpg|thumb|500px]] | [[File:11.add_source_code.jpg|thumb|500px]] | ||
− | + | |} | |
{{Absatz}} | {{Absatz}} | ||
+ | {| | ||
+ | |style="width: 500px;"| | ||
+ | Choose the RTSC 'Hello World' main template and finish | ||
+ | |style="width: 500px;"| | ||
[[File:12.add_source_code2.jpg|thumb|500px]] | [[File:12.add_source_code2.jpg|thumb|500px]] | ||
− | + | |} | |
{{Absatz}} | {{Absatz}} | ||
Revision as of 16:07, 18 September 2017
Contents
1 Problem
SYS/BIOS based projects require the correct platform setting for D.Module2.C6657. Even after adding the discovery path under CCS RTSC preferences no suitable platform is available for project settings.
2 Solution
Use this short guide to create a new SYS/BIOS based project:
2.1 Pre Condition
Check your required SYS/BIOS version and choose the recommended XDCTools version:
http://downloads.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/
2.2 New Project
Press Alt+Shift+N or menu File->New and select New CCS Project
|
2.3 RTSC Configuration Settings
Check the Platform drop-down list for keyword 'dm2c6657'. If it is missing continue with the next step, else jump to 2.6 Platform dm2c6657 or dm2c6657_1 |
2.4 Add Product or Repository
Choose "Add" next to "Products and Repository".
|
2.5 Other Repositories
The RTSC Configuration Settings dialog should contain a new product "Other Repositories".
|
2.6 Platform dm2c6657 or dm2c6657_1
This time two new platforms should appear in the drop-down list (if not try to refresh the list by clicking on the XDCTools version - 3.31.0.24_core in the image) dm2c6657for CPU core 0 and dm2c6657_1for CPU core 1. |
|
2.7 Empty Project
You should now have an empty SYS/BIOS project. |
2.8 Add SYS/BIOS configuration
To add a blank SYS/BIOS configuration to your empty project, choose from menu "File->New->RTSC Configuration File" |
|
Double click on the SYS/BIOS configuration file. Activate "Add SYS/BIOS to my configuration" |
2.9 Add Source Code
Now add some source code: |
Choose the RTSC 'Hello World' main template and finish |
2.10 Finally build project
Hit the hammer butten to initiate a new build process.