Other Parts Discussed in Thread: SYSBIOS, AM3359
Equipment: Board: ICE 2, CCSv6 vs 6.0.1.00040,
TI XDS100v2 USB Emulator,
Windows7,
am335x_sysbios_ind_sdk_1.1.0.5
Hello,
after having reinstalled CCSv6 I tried to build the code example EthernetIP_Adapter from am335x_sysbios_ind_sdk_1.1.0.5.
Unfortunately without any success.
This is what I did in accordance with "Importing and Building Sample Project in CCS" from the Getting started guide.
There are 3 different cases:
1. Without refactoring and without double-clicking app.cfg:
Main tab:
These are the settings in the project's properties window:
Compiler version: TI v5.1.9
Output formate: eabi (ELF)
Device endianness: little
Linker command file: am335x.cmd
Runtime support library:
RTSC tab:
NDK 2.22.3.20
SYSBIOS 6.35.4.50
Target: ti.targets.arm.elf.A8Fnv
Platform: ti.platforms.evmAM3359
Build: debug
A build with these settings provides this error:
- ti.ndk.config.Global: no element named 'stackThreadUser'
Resource Path Location Type
-----------------------------------------------------------------------------------------------------
.xdchelp /ethernetip_adapter line 98 C/C+ Problem XDCTools Configuration Marker
2. After double-clicking app.cfg
Having double clicked app.cfg as described in the "Getting Started" document 1 additional error shows up after build:
- XDC runtime error: ti.ndk.config.Global: no element named 'stackThreadUser'
Resource Path Location Type
------------------------------------------------------------------------------------------------------
app.cfg /ethernetip_adapter Configuration Validation XDCTools Configuration Marker
3. After double-clicking app.cfg and after Refactoring:
Running 'Refactor' with
New XDCtools version 3.30.5.60_core
NDK 2.24.1.18
Sys/BIOS 6.35.4.50
removes the entry for 'Platform'.
When I type in ti.platforms.evmAM3359 for 'Platform' and click Build, an error report shows up saying
"...An unexpected exception was thrown.
org.eclipse.xdctools.INVALID_RTSC_TARGET: Invalid target"
When starting CCSv6 the next time this text is displayed:
"Please fix the following errors. Then close and relaunch the XGConf editor.
Error: Can't find the platform package 'ti.platforms.evmAM3359'. TI platforms are no longer shipped as part of XDCtools
(c:/ti/xdctools_3_30_05_60_core). Please ensure you are either using a pre-3.30 version of XDCtools or you have added a
product that includes your platform support along the path
'C:/ti/bios_6_35_04_50/packages;C:/ti/ccsv6/ccs_base;C:/ti/ndk_2_24_01_18/packages;C:/ti/am335x_sysbios_ind_sdk_1.1.0.5/sd
k/examples/ethernetip_adapter/.config;c:/ti/xdctools_3_30_05_60_core/packages'. Check that this path names a directory
containing the necessary platform support and that the platform name is properly spelled."
So what platform would I have to choose for the ICE 2.1 board with AM3359?
And can I choose the latest versions of NDK and SYS/BIOS?
I wonder what went wrong. I tried to follow the procedure described in "Importing and Building Sample Project in CCS"
exactly.
Can anybody make a suggestion?
Thank you.
Regards,
Martin H.