We have the AM335x Starter Kit (TMDSSK3358). I installed Code Composer Studio (CCS) version 6.0.1.00040 on my Windows 7 64-bit OS development PC. I am attempting to compile and run the Hello World example that comes with CCS. Here is what I have done so far:
1. I have the Linux SSD card in the board and the OS boots up. I can see the icons on the touch screen.
2. I attached the USB cable that comes with the kit. I can see the board as a drive via Windows Explorer and copy files to the board.
3. I have also logged into the board via PuTTY on the COM5 port. I can issue "ls", "cd", and other normal Linux terminal commands.
4. I compiled the Hello World "C" application that comes with CCS.
5. I download this HelloWorld.out file to the board using Windows Explorer.
6. I run "HelloWorld.out" via PuTTY and I get the error, "Illegal instruction".
My guess is that I failed to pick the correct "Device Variant" in CCS when I created the workspace. I think this in turn has the wrong compiler and linker flags set when I kick off a build in CCS? So my question is, which device variant do I pick? I tried "SK_AM3358 [Cortex A]" and "SK_AM3358 [Cortex M]". Both have the same "Illegal instruction" error.
Also, which Connection type do I pick so I can download the executable to the board and run it via CCS? Is it "Texas Instruments XDS100v2 USB Emulator"? I would rather compile, download, and run the executable via CCS rather than manually copying the file using Windows Explorer and running the HelloWorld.out exe via PuTTY.