Part Number: AM6548
Tool/software: Code Composer Studio
Hello.
I have a brand new AM65x Industrial Development Kit and want to import an SPI example project into CCS.
I am trying to follow relevant TI documentation, but it has proven to be very difficult.
Found this exact same issue:
https://e2e.ti.com/support/processors/f/791/t/762996?RTOS-PROCESSOR-SDK-AM65X-No-example-projects-in-PDK
Tried suggested steps therein but to no avail...
I have installed CCS 9.2 on Linux (Ubuntu Budgie 19.04 on VirtualBox).
I have also installed the RTOS SDK from http://software-dl.ti.com/processor-sdk-rtos/esd/AM65X/latest/index_FDS.html
Both installations have been to the default location: /home/[user]/ti
I've run pdksetupenv.sh.
When starting CCS the newly installed products are automatically discovered.
BTW, some of the installation scripts have a hard coded CCS version of 901 in them. These have been changed to 920...
Moving on to the examples:
I've run the listed scripts:
"To build and clean libs/apps from top-level makefile: cd <pdk>/packages make spi make spi_clean"
And have also run the following:
"cd <pdk>/packages ./pdkProjectCreate.sh [soc] [board] [endian] spi [project type] [processor] [SECUREMODE=<yes/no>] Import and build CCS Project from <pdk>/packages/MyExampleProjects/"
With the following args:
$ ./pdkProjectCreate.sh am65xx am65xx_idk little spi all mcu
The only result is a printout with the following
"..No projects detected. Project generation complete."
I have spent about a week on this, and to be fair I've run the above scripts with various parameters that I can no longer account for.
At some point (probably when running pdkProjectCreate.sh without any arguments at all) something was created:
the folder ~/ti/pdk_am65xx_1_0_5/packages/MyExampleProjects popped up with something that looks like the example projects.
However, these are not recognized as projects by CCS.
The contents of MyExampleProjects are just files, with names like: MCSPI_Loopback_evmAM335x_armExampleProject
with a lot of path definitions, all being "../../"
A colleague has tried to do the installation on a second Linux PC following the same procedure, but there the MyExampleProjects folder in never even created.
On a third PC, a installation was made previously, albeit for another processor (AM57x). There the MyExampleProjects folder does not contain files like:
MCSPI_Loopback_evmAM335x_armExampleProject but FOLDERS with the same names!
Three installations with three different behaviors...
Obviously I am missing a step (or steps).
Any help would be much appreciated,
Anders.
