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.

DLP NIRscan Source Code

Other Parts Discussed in Thread: DLPNIRSCANEVM, DLPC350

Hi,


I have just downloaded and installed the windows software bundle (SD card image) in an attempt to obtain the source code for the NIR scan EVM - http://www.ti.com/tool/dlpnirscanevm


However, it seems apart from a manifest (HTML) file and a readme doc, there is only the SD card image file. When I read the manifest file it says:

DLP NIRscan application 2.0.0 TI Commercial Source and Binary N/A Location SDK_INSTALL_FOLDER/example-applications/dlp_nirscan/
Obtained from Texas Instruments Incorporated

So the source should be in a folder called SDK_INSTALL_FOLDER? Where is that?


Thanks,

Tom

  • Hi Tom,

    The source code is available in a different download on the same page. You'll want to download the "DLP NIRscan Software Bundle for Linux v2.0.0" which can be installed and built in Linux. That download includes the source developed by TI which builds upon the open source Linux SDK, also available on that page called "AM335x Sitara ARM SDK."

    Best regards,

    Blair

  • Hi,


    Does that mean I require a Linux machine to develop for the NIRscan? I currently run a windows machine and a Mac.


    Please advise.


    Thank you.

    Tom

  • Hi Tom,

    You do not need a dedicated Linux Machine. You can setup a virtual Linux machine using software like VirtualBox, VMware, or Parallels.

    Best regards,

    Blair

  • Hi,


    I am running Ubuntu 14.04 LTS in VMware.


    I have downloaded "DLPNIRSCAN_Linux_Installer_v2.0.0-2014-08-15.run". In the terminal I have performed the following:

    > chmod +x DLPNIRSCAN_Linux_Installer_v2.0.0-2014-08-15.run

    >./DLPNIRSCAN_Linux_Installer_v2.0.0-2014-08-15.run

    I do not get any errors, but also nothing seems to happen.


    What am I missing?


    Thanks,

    Tom

  • Hi Tom,

    Please use Ubuntu 12.04 instead. I'm not sure why the installer does not run in Ubuntu 14.04, but will check with my team.

    Best regards,

    Blair

  • Hi,


    I am now running 12.04. I ran the .run file (v2.0.0 of the file discussed in this thread). All I seem to have now is a collection to .vol folders (see screenshot).


    I am finding this very frustrating. I cannot understand why TI have not produced a simple windows installer so that the firmware/code for the NIRscan can be developed in a windows environment like 90% of TI's other development tools.

    This is making me nervous about going ahead and buying the NIRscan eval module if this over complicated experience is anything to go by. I assume the code can eventually be developed in windows?


    Thanks,

    Tom

  • Hello Tom,

    I apologize that this has been a frustrating experience. We always collect our customer suggestions seriously and try to improve our products in the future. The feedback you're giving is very valuable to us, so thank you. 

    The reason the firmware and code was released for Linux is that the application was developed specifically to run on the Sitara processor running a Linux operating system.

    The NIRscan operates with Linux, Mac, or Windows without issues as the control interface is done via a web browser. The device is very easy to use.

    Could you describe your interest in the source code of the device? Are you interested in specifically the spectroscopy related code, the DLPC350 control code, or both? 

    After you've gained access to the source files they could certainly be viewed on Windows, but compiling the code for the NIRscan will be simplest on a Linux OS.

    When you executed the .run file did an installer window popup to accept the license agreement? The files were then installed to "/Texas Instruments-DLP/NIRscan_2.0.0".

    I performed the following steps after downloading the file:

    dlp_user@UbuntuBox:~$ cd Downloads/
    dlp_user@UbuntuBox:~/Downloads$ ls
    DLPNIRSCAN_linux_installer_v2.0.0-2014-08-15.run
    dlp_user@UbuntuBox:~/Downloads$ sudo chmod +x DLPNIRSCAN_linux_installer_v2.0.0-2014-08-15.run
    [sudo] password for dlp_user:
    dlp_user@UbuntuBox:~/Downloads$ sudo ./DLPNIRSCAN_linux_installer_v2.0.0-2014-08-15.run

    Let me know if these steps help.

    Best regards,

    Blair

  • Hi Blair,


    These are the steps I am taking in the terminal window.

    tom@ubuntu:~/Downloads$ ls -a
    .  ..  DLPNIRSCAN_linux_installer_v2.0.0-2014-08-15.run
    tom@ubuntu:~/Downloads$ sudo chmod +x DLPNIRSCAN_linux_installer_v2.0.0-2014-08-15.runtom@ubuntu:~/Downloads$ sudo ./DLPNIRSCAN_linux_installer_v2.0.0-2014-08-15.run
    tom@ubuntu:~/Downloads$

    Nothing seems to happen!? and I do not get any errors are any feedback!? This is Ubuntu 12.04 LTS

    Any thoughts?


    Thanks,

    Tom

  • Hi Tom,

    Are you running the 32-bit or 64-bit version of Ubuntu 12.04 LTS? I'm using the 32-bit version.

    Best regards,

    Blair

  • Hi,


    I am using 64 bit. I will try 32 bit tomorrow. What happens when you run ./DLP xxxx.run

    What comes up in the terminal?


    Thanks,

    Tom

  • Hi Tom,

    My apologies for the delayed response. When I run the installer nothing appears in the terminal, but a graphical installer pops up.

    Best regards,

    Blair

  • This issue was fixed using Ubuntu 12.04 - 32 bit.


    The 32 bit is the most important part!

    Regards,

    Tom