Hi,
I've tried multiple ways to print from the RM42 launchpad to my Macbook Air without success.
1) Using the standard printf, I followed these steps for using printf and CIO in CCS. The code builds and flashes with no problem, but I do not see the CIO option in the available consoles so I am unable to view "hello world" when I call printf("hello world").
I previously posted in the Hercules Launchpad forum and it seems that this is a problem specific to CIO with the Mac version CCS. I pasted the feedback below for reference.
"The Wiki Page MacOS X CCSv6 Beta says: C I/O does not work on ARM based devices due to a known issue with conditional breakpoints." - Chester Gillon
"the Mac OSX port of CCS is still being developed, and our team hasn't used it yet. So we are very limited in what we can do to help.
Chester's recommendation to ask on the CCS forum is the best idea I think because there should be one or two people on that forum w. Mac." - Anthony F. Seely
So I am posting here in case anyone has run into this problem and has a solution.
2) I also tried using UART and SCI from the ADC Example. I get the code flashed to the board, but run into the same problem of being able to view the output. On slide 23 when it says to open a terminal to view the output, I followed the steps for the terminal built into CCS. When I edit the settings and change the connection type to serial I get a cannot initialize serial error: "the RXTX library has not been installed".
When I try to install it I get the error:
"Cannot complete the install because one or more required items could not be found.
Software being installed: RXTX End-User Runtime 2.1.7.4_v20071016-7B57e7UAXMAAqGAGf (gnu.io.rxtx.feature.group 2.1.7.4_v20071016-7B57e7UAXMAAqGAGf)
Missing requirement for filter properties ~= $0: RXTX End-User Runtime 2.1.7.4_v20071016-7B57e7UAXMAAqGAGf (gnu.io.rxtx.feature.group 2.1.7.4_v20071016-7B57e7UAXMAAqGAGf) requires 'gnu.io.rxtx.macosx [2.1.7.3_v20071015]' but it could not be found"
I have not been able to figure out how to install the dependency.
2.5) So then I tried to get an external terminal program running to view the SCI output from the board. The problem I ran into here was I could not find the device being recognized by my computer. Both ls tty.usb* and ls cu.usb* in the terminal returned no resulted. I tried installing the FTDI drivers for OS X http://www.ftdichip.com/Drivers/VCP.htm. The installation completed but I saw no change in the recognized devices. Following the step in the installation guide (which refers to an older version of macOSX) I got up to page 4 where the drive installs successfully, but the I still have no USB devices in /dev/cu* and /dev/tty*. I also looked in system information and these were the only usb devices that showed up:
so I am stuck getting my computer to recognize the board and getting the CCS terminal working for serial for the SCI option and I cannot open a CIO console for the standard printf option. From what I understand the CIO console only opens if CCS is receiving CIO data from the board.
Any ideas of how I should proceed? I've also tried both SCI and standard printf with demo code that flashed to my board out of the box. Every time I ran into the same problem viewing the "hello world" message in a terminal. I wonder if this is a MacOSX specific problem?
Thanks so much! Please find my specific version numbers below if it will be helpful.
Alex
System Version: OS X 10.11.1 (15B42)
Code Composer Studio Version: 6.1.1.00027
Board: LAUNCHXL-RM42 REVB