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.

DLPNIRSCANEVM: NIRSCAN

Part Number: DLPNIRSCANEVM
Other Parts Discussed in Thread: DLPC350, DLPNIRNANOEVM

Hello experts,

I have encountered some problems with your DLPNIRSCANEVM instrument and need your help. I have installed the SDK (software-dl.ti.com/.../index_FDS.html) and DLPNIRSCAN software bundle (www.ti.com/nirscan-linux-bundle-v2).

In the software bundle, I made an SD card according to the steps described in the file, which was named ' SD_card_build_instructions ', and then I inserted the SD card into DLPNIRSCANEVM and wrote it. However, the indicator shows that the eMMC is not being programmed. Could you please tell me what I should do next?

And I'm still a little confused, about the file path "<HgSpectroscopy>/Spectroscopy/Sitara/Sitara_Linux_SDK_06.00.00/.", the folder''Sitara_Linux_SDK_06.00.00'' of the software bundle I used when making SDcard, is this correct?

The contents of the file are as follows:

NIRscan SD Card Build Instructions
==================================

1. Install Sitara Linux SDK 6.0 for BBB from
www.ti.com/.../linuxezsdk-sitara onto Ubuntu linux host (12.0.4
tested)

2. Insert SD card to development host

3. sudo createSD-standard.sh (or execute steps below)

3. Make an SD card with this script from the TI SDK: sudo
\<SDK\>/bin/create-sdcard.sh

4. This will ask to partition the card, choose two partitions.

5. Then choose install the pre-built images.

6. Overwrite the files (all the files present in the repository directory tree)
in your host installation with the source files in our repository: sudo cp
-r \<HgSpectroscopy\>/Spectroscopy/Sitara/Sitara_Linux_SDK_06.00.00/.
\<SDK\>/.

7. cd \<SDK\>

8. make linux

9. cp board-support/linux-3.2.0-psp-04.06.00.11/arch/arm/boot/uImage
/media/boot/uImage

10. sudo cp -r Spectroscopy/Sitara/target_file_system/. /media/rootfs/.

11. cd \<SDK\>/example-applications/dlp_nirscan

12. sudo make

13. sudo cp dlp_nirscan /media/rootfs/usr/bin/

14. sudo chmod +x /media/rootfs/usr/bin/dlp_nirscan

15. sudo chmod +x /media/rootfs/usr/bin/convert

16. cd /media/rootfs/etc/init.d/

17. sudo chmod +x dlpc350_init

18. sudo chmod +x udhcpd_start

19. cd /media/rootfs/etc/rc5.d/

20. sudo ln -s ../init.d/dlpc350_init S99dlpc_init

21. sudo ln -s ../init.d/udhcpd_start S99udhcpd

22. sudo rm -rf /media/rootfs/usr/share/matrix-gui-2.0/

23. sudo cp -r
\<HgSpectroscopy\>/Sitara/target_file_system/usr/share/matrix-gui-2.0/
/media/rootfs/usr/share/.

24. sudo chmod –R 777 /usr/share/matrix-gui-2.0/

  • Hello Chen,

    We will look into this and get back to you by end of this week.

    Thank you for your patience.

    regards,

    Vivek

  • Thank you for your reply!

    I would like to add a few more details about some of the attempts I have already made so that you can give more accurate advice.

    Firstly, for this machine, the recommended SDK version is 06.00.00, and the recommended system version for this SDK is Ubuntu 12.04 LTS. But since the 12.04 version is a bit old, many dependent files cannot be downloaded, so I switched to Ubuntu 14.04 LTS. I installed the above SDK and software bundle on my 14.04 system.

    Secondly, after installing the SDK, run the SDK setup.sh script file as instructed, to prepara the host for software development. I modified some setup.sh script files, i.e. removed the part that detects the host system version so that I can run the setup.sh on the journey. After that, I followed exactly what was described in the txt file above.

    Finally,I ran into some problems when performing some steps in the txt file, here's how I did it: 1. In the operation of copying the library file in step six, the path of the file I copied is "/<software bundle installation path>/Sitara_Linux_SDK_06.00.00/.", which is the correct path in my opinion. The same is true in step 10, with the corresponding path "/<software bundle installation path>/target_file_system/.".

    After following the file to complete the SD card, I inserted the SD card into the instrument and held down the S2 key while powering it on. If eMMC is programmed normally, there should be alternate flashing of D1 and D2, but when I execute, there is no alternating flashing, indicating that eMMC is not being programmed. 

  • Hello User,

    Thank you for more insight on what has occurred. The team will look into the matter and get back to you.

    Best,

    John 

  • Hello John,

    Do you have any results on the above questions? I've been struggling with this for a long time and would love to hear from you. If there is a result, please send me a message through this email(492516452@qq.com), thank you very much.

  • Hi Lin,

    Could you please let us know what is the issue you are facing exactly. 

    Is the device not powering up after your changes? or Are you having trouble flashing the EVM itself.

    Also looks like there were some additional changes that you had to make in script. Are those somethign you had to make to handle the usage in Ubuntu14.004 or is it something more generic. If it is something generic, Please provide exactly what changes you had to make and why.

    Regards,

    Akhil

  • Hi Akhil,

    Thank you for your reply!

    The problem I encountered was that when I ran the "dlp_nirscan" example provided by TI, I followed your documentation "SD_card_build_instructions" and got an SD card for flashing DLPNIRSCANEVM, and when I inserted this SD card into the instrument, turned on the power when I held down S2, and then the instrument was not programmed (if the instrument was programmed, the two LEDs (D1 and D2)will flash on and off erratically, but them not).But the instrument started normally, loading its original program. 

    I made some modifications to the script to be able to compile normally. For example,

    in the setup.sh, I commented out the setup-host-check part, so that the script setup.sh worked.

    in the dlp_nirscan folder, i revised the 13th line, from"$(CC) -lpthread  -ludev -lm $^ -o $@" to"$(CC) -lpthread  $^ -o $@ -ludev -lm", so I was able to compile the build executable dlp_nirscan.exe.

    That's all the changes I made to the script. My biggest concern is how to get example-application (dlp_nirscan) to run on DLPNIRSCANEVM. I made an SDcard as required by the documentation, but it didn't seem to work.

    Regards,

    Lin

  • Hello Lin,

    This EVM is very old, and we have discontinued technical support for this EVM due to resource limitation.

    Thank you for your understanding.

    regards,

    Vivek

  • Hello Vivek,

    We purchased this brand-new product only a few months ago. Simply saying that the technical support for a product still on sale was discontinued was not responsible for a big company like TI. It would not be good for TI's reputation if this is spread out. Please let me know what information you can provide.

    regards,

    Lin

  • Hello Lin,

    I understand your concern. Could you please share more details about your application and end product? How are you using this EVM and what are the requirements?

    This information will help us explore how best we can support your requirements.

    regards,

    Vivek

  • Hello Vivek,
    Actually,what I have difficulty to do now is to load an example named dlp_nirscan provided by TI into the EVM in the form of an SD card and run it, which is to facilitate the modification of the example later.
    I've included the details about how I made my SDcard in an earlier post of this thread, explaining what changes I made and why.

    Firstly, for this machine, the recommended SDK version is 06.00.00, and the recommended system version for this SDK is Ubuntu 12.04 LTS. But since the 12.04 version is a bit old, many dependent files cannot be downloaded, so I switched to Ubuntu 14.04 LTS. I installed the above SDK and software bundle on my 14.04 system.

    Secondly, after installing the SDK, run the SDK setup.sh script file as instructed, to prepara the host for software development. I modified some setup.sh script files, i.e. removed the part that detects the host system version so that I can run the setup.sh on the journey. After that, I followed exactly what was described in the txt file above.

    In the setup.sh, I commented out the setup-host-check part, so that the script setup.sh worked.

    Finally,I ran into some problems when performing some steps in the txt file, here's how I did it: 1. In the operation of copying the library file in step six, the path of the file I copied is "/<software bundle installation path>/Sitara_Linux_SDK_06.00.00/.", which is the correct path in my opinion. The same is true in step 10, with the corresponding path "/<software bundle installation path>/target_file_system/.".

    In the dlp_nirscan folder, i revised the 13th line, from"$(CC) -lpthread  -ludev -lm $^ -o $@" to"$(CC) -lpthread  $^ -o $@ -ludev -lm", so I was able to compile the build executable dlp_nirscan.exe.

    After following the file to complete the SD card, I inserted the SD card into the instrument and held down the S2 key while powering it on. If eMMC is programmed normally, there should be alternate flashing of D1 and D2, but when I execute, there is no alternating flashing, indicating that eMMC is not being programmed. 

    Basically, I followed the file "SD_card_build_instructions.txt" except a few places that didn't go through as explained earlier. If possible, can you try to load the dlp_nirscan program (www.ti.com/nirscan-linux-bundle-v2) provided by TI to a DLPNIRSCANEVM unit by following SD_card_build_instructions.txt in the package? This way the problems I described would be evident right away.
    regards,
    Lin

  • Hello Lin,

    I am requesting information on the end product you are developing.  The end application - what problem are you trying to solve?  I want to explore how best we support your need.

    regards,

    Vivek

  • Hello Vivek,
    What I have to do is to be able to use the dlp_nirscan examples provided by TI smoothly. This example is provided by TI, here is the download link: www.ti.com/nirscan-linux-bundle-v2, after installing this software, you can find it in  \<installation_path>/NIRscan_2.0.0/Sitara_Linux_SDK_06.00.00/example-applications/dlp_nirscan Find the example I am talking about, I now need to load the application into the EVM and make it run successfully. But after I followed your instruction manual (the file's path is: <installation_path>/NIRscan_2.0.0/SD_card_build_instructions.txt), the application did not load into the instrument successfully. So I hope you will try loading this example (dlp_nirscan) into the instrument. If you succeed, you can teach me how to do it, and if it fails, TI should update the relevant files.
    As for the "end product" you asked,we want to implement a new scan mode (different from the custom scan mode in the build-in package) in DLPNIRSCANEVM (DLP® NIRscanTm Evaluation Module), which could be the basis for a new DMD based spectrometer. This EVM's information can be found on www.ti.com/.../DLPNIRSCANEVM. I ran into problems in the development process as described in the previous post.
    regards,
    Lin

  • Hello Lin,

    I am requesting you for your application requirement like wavelength and resolution etc. Evaluate if your application can use DLPNIRNano EVM.  This EVM is actively supported. In addition, it is compact and much lower cost.

    DLPNIRNANOEVM Evaluation board | TI.com

    If you application requires transmissive head, you can purchase a complete product with transmissive head from third-party partners.

    OPTECKS-3P-TNIR by Optecks, LLC | TI.com 

    INNOS-3P-DLP2010NIRMOD by InnoSpectra Corporation | TI.com

    These third-parties also sell only transmissive ahead for TI EVM.

    As I have already communicated that technical support for this EVM has been discontinued. You need to evaluate if you could use DLPNIRNano EVM.

    The purpose of TI EVM is to enable our customers to evaluate and develop product based on TI's chipset. These EVMs are not intended to be used an end product and in field operation.

    Hopefully, you EVM is still in warranty period (90 days) and you can request for RMA from the organization your purchased. You can mention "discontinued technical support" for RMA .

    regards,

    Vivek

  • Hello Vivek,
    I think DLPNIRNANOEVM is not a good option, because both the wavelength range and the sample configuration are inappropriate. We need to cover up to 2450 nm and measure the absorption spectra of liquid in a cuvette. In addition, I purchased the instrument in mid-April 2023 and it's been more than 90 days.
    Do note that we are not trying to use this as an end product in a field application. What I have difficulty to do is actually very basic, which may be quite straightfoward for an experienced person. We want to implement a new scan mode, different from the custom scan mode provided by TI. In order to implement the new scan mode, I would like to make some changes on the source code in the demo provided by TI to meet our requirements. But I couldn't even load the demo program (dlp_nirscan)TI provided into the EVM. So I need help on how to load the demo program into the EVM and run it.
    regards,
    Lin

  • Hello Lin,

    The EVM is 30 days outside warranty period. We will an exception because of discontinued technical support. Please reach out to organization where you purchased this EVM and request for RMA.  You can use this communication as authorization for RMA.

    The demo code and other related firmware are very old. We have no plan to update it or support it. We do not have any expertise on this EVM/ firmware in our team.

    Thank you for your understanding.

    regards,

    Vivek