This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

NIRscan Nano Tiva Firmware Compilation and Debugging on a Mac

The NIRscan Nano Tiva files can be compiled and debugged on a Mac using the beta release of CCS for Mac and XDS200. To compile the Tiva firmware, the following is needed:

CCS for Mac does not handle spaces in the pathnames, so make sure the folders do not have spaces.

  • Install CCS for Mac
  • Copy the C:\ti\tirtos_tivac_2_10_01_38 directory from the PC into the /Applications/ti directory where CCS for Mac was installed
  • Copy the C:\ti\DLPSpectrumLibrary directory from Windows PC into the Mac documents folder
  • Copy the C:\ti\DLPNIRscanNanoDoftware directory from the Windows PC into the Mac documents folder
  • Run CCS for Mac.
  • Under Project menu, select Import CCS Projects for the following projects:
    • dlpspeclib. Located in in your documents folder where you copied the files from the Windows PC.
    • driverlib. Located in /Applications/ti/tirtos_tivac_2_10_01_38/products/TivaWare_C_Series-2.1.0.12573c/driverlib
    • usblib. Located in /Applications/ti/tirtos_tivac_2_10_01_38/products/TivaWare_C_Series-2.1.0.12573c/usblib
    • Mobile Spectroscopy. Located in in your documents folder where you copied the files from the Windows PC.
  • On the project explorer, select the Mobile Spectroscopy Tiva EVM and right click. Select Show build settings, click on build.
  • Edit the TIVAWARE_INSTALL variable to point to the location of TivaWare: /Applications/ti/tirtos_tivac_2_10_01_38/products/TivaWare_C_Series-2.1.0.12573c
  • Add the DLPSPECLIB_INSTALL_ROOT variable with the location of the DLP Spectrum Library copied from the PC: /Users/myusername/DLP_Spectrum_library. Do not use ~ to denote your user path, write out the complete path.
  • Click on General on the Build settings, then click on RTSC:
    • Check TI-RTOS to 2.10.1.38
  • Under the Project Explorer, expand the Mobile Spectroscopy Tiva EVM and remove all targetconfigs except for XDS200.

This should let you build the files and debug using the Mac CCS.

best regards,

  Pedro