USB issue with pureThermal 2 I/O Board

I have a problem with USB on pureThermal 2 I/O board.

I bought the following FLIR letpton camera module and PureThermal 2 I/O board at your site. My order ID is 5817057 for you information.

KIT-14654

FLIR Radiometric Lepton Dev Kit with Lepton® 2.5 longwave infrared (LWIR) imager

https://www.sparkfun.com/products/14654

DEV-14670

PureThermal 2 - FLIR Lepton Smart I/O Board

https://www.sparkfun.com/products/14670

And I also bought the following accessories at tag-connect.com

Adapter & 6-pin Plug of Nails connector cable & clip

  1. ARM20-CTX

  2. TC2030-IDC-NL

  3. TC2030-CLIP

My development enviromnet is as follows.

uname -a

Linux tangled 4.14.4 #13 SMP Sat Jul 13 19:23:46 EST 2019 x86_64 Intel(R) Core™ i5-4670K CPU @ 3.40GHz GenuineIntel GNU/Linux

gcc with newlib-hardfpu-3.1.0-x86_64-1_SBo installed

gcc -v

Reading specs from /usr/lib64/gcc/x86_64-slackware-linux/5.5.0/specs

COLLECT_GCC=gcc

COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-slackware-linux/5.5.0/lto-wrapper

Target: x86_64-slackware-linux

Configured with: …/gcc-5.5.0/configure --prefix=/usr --libdir=/usr/lib64 --mandir=/usr/man --infodir=/usr/info --enable-shared --enable-bootstrap --enable-languages=ada,c,c++,fortran,go,java,lto,objc --enable-threads=posix --enable-checking=release --enable-objc-gc --with-system-zlib --with-python-dir=/lib64/python2.7/site-packages --enable-libstdcxx-dual-abi --with-default-libstdcxx-abi=gcc4-compatible --disable-libunwind-exceptions --enable-__cxa_atexit --enable-libssp --enable-lto --disable-install-libiberty --with-gnu-ld --verbose --enable-java-home --with-java-home=/usr/lib64/jvm/jre --with-jvm-root-dir=/usr/lib64/jvm --with-jvm-jar-dir=/usr/lib64/jvm/jvm-exports --with-arch-directory=amd64 --with-antlr-jar=/home/slackware/slackbuilds/gcc-5.5.0/antlr-runtime-3.4.jar --enable-multilib --target=x86_64-slackware-linux --build=x86_64-slackware-linux --host=x86_64-slackware-linux

Thread model: posix

gcc version 5.5.0 (GCC)

ld -v

GNU ld version 2.26.20160125

make -v

GNU Make 4.1

Built for x86_64-slackware-linux-gnu

Copyright (C) 1988-2014 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.

S# openocd -v

Open On-Chip Debugger 0.10.0

Licensed under GNU GPL v2

For bug reports, read

http://openocd.org/doc/doxygen/bugs.html

And then I downloaded the “Documents >> Leptone Software >> LeptonModule(C)”. I also downloaded chibios_stable_2.6.x from the offical ChibiOS site.

I compiled and linked all necessary binary files with some minor error, where $SZ is not defined anywhere in some make files. $SZ should be defined as arm-none-eabi-size. But that is no serious problem. I programmed the board flash using command as below.

#openocd -f PureThermal1.cfg -c “program build/stm32f3discovery-demo.elf verify reset exit”

I think the board communicate with ThermalView on Host through USB. That means at this point I can see the USB device on the board when I connect the USB cable to the PureThermal 2 I/O board. I can find no trace of USB device on Linux host. I used dmesg and lsusb to find any newly found USB device. But none. No changes at all.

Before connecting USB cable between pureThermal I/O board and host,

dmesg

[1827931.371614] usb 3-1: new full-speed USB device number 21 using xhci_hcd

[1827931.498671] usb 3-1: New USB device found, idVendor=0483, idProduct=3748

[1827931.498674] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3

[1827931.498676] usb 3-1: Product: STM32 STLink

[1827931.498677] usb 3-1: Manufacturer: STMicroelectronics

[1827931.498679] usb 3-1: SerialNumber: 8ÿoNW456"C

lsusb | wc -l

14

After connecting USB cable between pureThermal I/O board and host,

dmesg

[1827931.371614] usb 3-1: new full-speed USB device number 21 using xhci_hcd

[1827931.498671] usb 3-1: New USB device found, idVendor=0483, idProduct=3748

[1827931.498674] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3

[1827931.498676] usb 3-1: Product: STM32 STLink

[1827931.498677] usb 3-1: Manufacturer: STMicroelectronics

[1827931.498679] usb 3-1: SerialNumber: 8ÿoNW456"C

lsusb | wc -l

14

This is weird because the pureThermal 2 I/O board with the provided software would have been verified already. It is also hard to say that only the USB is the problem.

Would you please help me with this problem? I am more than happy to order another pureThermal 2 I/O board only if I am sure that it is faulty.

Best regards,

Kyle

Hi Kyle.

It sounds like you modified the firmware on the STM chip that operates the Lepton Smart I/O Board. Unfortunately that appears to have overwritten the original firmware and that’s probably why the USB interface isn’t working anymore.

I’m afraid SparkFun doesn’t make this product and can’t assist in restoring the original firmware. The only advice I have would be for you to [contact the manufacturer and see if they can assist.](https://groupgets.com/manufacturers/getlab/products/purethermal-2-flir-lepton-smart-i-o-module)

Thank you for your help.

Please note that I reprogrammed the board only because linux host couldn’t recognize the USB device of the board.