Hi,
I'm trying to do some developing on the DLPScanNano. I want to monitor the running status of the device, and get to know which file in the DLPSpectrumLibrary is invoked.
How can I achieve my aim?
Thanks in advance!
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.
Hi,
I'm trying to do some developing on the DLPScanNano. I want to monitor the running status of the device, and get to know which file in the DLPSpectrumLibrary is invoked.
How can I achieve my aim?
Thanks in advance!
Hello,
Welcome to TI E2E forums and thanks for showing interest in the DLP technology.
Kindly go through the EVM user guide - it will help clarify your queries. (https://www.ti.com/tool/DLPNIRNANOEVM)
Regards,
Mayank
Hi Mayank,
I've read the user guide, but can't find the solution.
I've done some modification on the source code and the DLPSpretrumLibrary, and upload the code to the device.
Now I meet some error and try to solve it by debugging. I tried to debug using QT. However, I found that the error may caused by the DLPSpretrumLibrary modification. While, I can't monitor how the DLPSpretrumLibrary works using QT, maybe because it works on the TIVA device.
How can I solve this issue?
Thanks & Regards
Hello ,
Please follow the instructions in the user guide to build the code. Please ensure that you are using the right version of tools listed in the appendix B
You may also want to review this thread on compilation.
regards,
Vivek
Hi Vivek,
I have no question about how to complie the code. I've compile and upload the origin version code, and it works well.
After I do some modification on the code, it still works well on compiling and uploading. But when I try to use the device to do a scan, it occurs some error. I found that the error might be caused by a function difined in the DLPSpecLibrary and I can't step into the function to know how it works using QT.
I find that the DLP Spectrum Library works in the device, and I want to know how to step into the library files and how it works.
Thanks & Regards
Hi Vivek,
Thanks for your timely reply. Look forward to your feedback.
Thanks & Regards
Appreciate your patience. I am still waiting on response from my colleagues.
regards,
Vivek
Hello,
I apologize for the delay in getting to address this and I appreciate your patience.
Spectrum library is used in both the device (Tiva) and in the GUI tool (PC). From your description it is not clear to me what exactly you are trying to debug. If you are trying to debug the code running in Tiva, QT is not the tool to use. For that you need to use Code composer studio IDE from TI. The exact version of CCS to use is detailed in the user guide.
If you are trying to debug the GUI tool running on a PC, you may use QT for that purpose. Please clarify the use case here.
Thanks & Regards,
Sreeram
Hi Sreeram,
Thanks for your reply!
I've done some modification on the Spectrum library, and upload the NIRscanNano.bin file to the device successfully. I want to know how it works. From your description, I need to debug the code using the CCS.
I looked through the user guide, but didn't find how to debug the code. Could you please tell me more detials about how to debug using CCS? I 've got the following questions:
1. How can I add some breakpoints in the code?
2. How can I add some expression evaluators so that I can get value of some variables?
Thanks & Regards
Hi Sreeram,
Thanks for your apply. I meet some problem when trying to connect to the device before debugging.
[Start: Texas Instruments XDS100v2 USB Debug Probe_0]
Execute the command:
%ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -F inform,logfile=yes -S pathlength -S integrity
[Result]
-----[Print the board config pathname(s)]------------------------------------
C:\Users\ASUS\AppData\Local\TEXASI~1\CCS\
ccs930\0\0\BrdDat\testBoard.dat
-----[Print the reset-command software log-file]-----------------------------
This utility has selected a 100- or 510-class product.
This utility will load the adapter 'jioserdesusb.dll'.
An error occurred while soft opening the controller.
-----[An error has occurred and this utility has aborted]--------------------
This error is generated by TI's USCIF driver or utilities.
The value is '-716' (0xfffffd34).
The title is 'SC_ERR_LIB_LOAD_SERDES_DRV'.
The explanation is:
Required dynamic library jscserdes could not be located.
The library isn't on the search path.
[End: Texas Instruments XDS100v2 USB Debug Probe_0]
------------------------------------------------------------------------------------------
How can I deal with this issue? I try to find the solution on the internet, and find some guidance at: http://software-dl.ti.com/ccs/esd/documents/ccsv7_debugging_jtag_connectivity_issues.html#library-error
I've check the drivers and update the XDS software, but it doesn't work.
How can I deal with this issue? Do I choose the correct "Connection" and "Board"?
Hello,
Can you please share a picture of the XDS debug emulator that you are using?
Regards,
Sreeram
Hello User,
Kindly share the information that Sreeram has asked for.
Regards,
Mayank