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.

NIR scan Nano stops responding after a firmware update

I am flashing modified NIR Scan Nano firmware based on sources from TI using the NIRscan Nano GUI. Everything worked fine until recently when I flashed another incremental version of my customized firmware and the device doesn’t function like before.

For instance, If I power on the device/press reset button, the application on the MCU is probably hanging (the status LED blinks once and then does not blink any further). Most importantly the device does not respond to commands via USB or scan button presses. Therefore, I am unable to flash original firmware/binaries provided by TI. To add a bit of background to the customization I did to the Nano Software, This additional piece of code does not interfere with the core functionalities and communications of the EVM.

Did anyone come across similar issues ? Could you suggest any ideas for debugging and resolving this issue ?

I've come across the following post on e2e. It seems I have a similar issue like the one attached.  

e2e.ti.com/.../491285

  • Hi Sai,

    It sounds like the Tiva is not booting into a proper state. The Tiva firmware on the NIRscan Nano can be debugged by using an XDS emulator connected to the JTAG header on J4. TI’s XDS100 and XDS200 are two possible emulators that can be used. The XDS200 is faster, has more debugging capability, and comes with the necessary TI 20-pin to ARM 10-pin converter, but is more expensive. The NIRscan Nano JTAG header is the ARM 10 pin.

    Regards,
    Dylan

  • There was a stack pointer out of bound exception encountered while executing an RTOS Task. I used the default stack size in the application config file and the CCS build did not show any errors or warnings about possible stackoverflow.

    The following wiki article might be helpful :
    processors.wiki.ti.com/.../Checking_for_Stack_Overflow