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.

Is it possible to upload a compiled program to DLP NIRscan without NirscanNanoGUI?

Other Parts Discussed in Thread: UNIFLASH

I ask this question because I have uploaded a program which locks the software in the NIRscan (an infinite while loop before starting TI-RTOS).

Because of this lock there is no connection with the NIRscan Nano GUI anymore.

Is it possible to restore the default firmware of the DLP NIRscan without the NirscanNano GUI?

I have found and installed CCS UniFlash. Can I use this tool to upload firmware?

I don't have a JTAG debugger.

Kind regards,

Bart Poot

  • Bart,

    To download updated firmware to the NIRscan Nano, you need to place the Tiva in DFU (USB's device firmware update) mode or erase Tiva flash. If Tiva is not enumerating, it will not respond to any USB command to erase its memory or place it in DFU mode. Since the USB connection is unsucessful, a JTAG communication will be needed to load new code or erase its flash. Uniflash can erase memory and place a device in DFU mode. However, it will also need a JTAG connection to communicate with the device, if USB connection is not responding. There are two JTAG emulators that offer JTAG connections:

    • XDS100v2 with the ARM 10-pin adapter 
    • XDS200 using the TI 20-pin to ARM 10-pin converter adapter

    XDS200 is faster at loading and stepping through code than the XDS100. If you are modifying the Tiva code, I would strongly suggest to get the JTAG emulators and Code Composer Studio so that you can debug the code and be able to trace your issues with new software. It also takes over the Tiva system and can erase the memory when USB is not responding. Also the RTOS run-time object viewer (ROV) feature in Code Composer can be quite useful when debugging RTOS tasks.

    Best regards,
    Pedro