Poll

Has the hackabiliy of the E4 made you buy one :  

Yes, I was already looking at the competition at a similar price, but the hack swung it to E4
274 (27.9%)
Yes, I'd not considered buying a TIC before, but 320x240 resolution at this price justifies it (as either tool or toy!)
444 (45.3%)
Yes, I was going to buy an E5/6/8 class of unit but will now get the E4
49 (5%)
No, but am looking out for a cheap i3 to hack
50 (5.1%)
Not yet, but probably will if now that a closed-box hack becomes is possible
164 (16.7%)

Total Members Voted: 803

Author Topic: Flir E4 Thermal imaging camera teardown  (Read 3799426 times)

0 Members and 10 Guests are viewing this topic.

Offline kaz911

  • Super Contributor
  • ***
  • Posts: 1052
  • Country: gb
Re: Flir E4 Thermal imaging camera teardown
« Reply #1750 on: November 25, 2013, 02:01:06 pm »
Turned off the highway this morning and took this photo of the Flir office right north of Stockholm, where I understood that my camera is "designed and engineered", and where they come up with passwords like 3vlig, thank you Flir for making it possible for me to own a 320x240 TIC!

This is MSX@320x240, when I look at it in pure termal image, it's apparent that I need to go for the T-series ;)

I thought the floors and some of the chairs in there would have been a LOT hotter...  :-DD
 

Offline olsenn

  • Frequent Contributor
  • **
  • Posts: 993
Re: Flir E4 Thermal imaging camera teardown
« Reply #1751 on: November 25, 2013, 02:12:21 pm »
Quote
I thought the floors and some of the chairs in there would have been a LOT hotter...

Actually, the thermal camera cannot see through the glass. It's only the MSX outlines (from the regular camera) of the chairs etc inside the building that you are seeing
« Last Edit: November 25, 2013, 02:15:33 pm by olsenn »
 

Online mikeselectricstuffTopic starter

  • Super Contributor
  • ***
  • Posts: 13747
  • Country: gb
    • Mike's Electric Stuff
Re: Flir E4 Thermal imaging camera teardown
« Reply #1752 on: November 25, 2013, 04:30:16 pm »
Quote
I thought the floors and some of the chairs in there would have been a LOT hotter...

Actually, the thermal camera cannot see through the glass. It's only the MSX outlines (from the regular camera) of the chairs etc inside the building that you are seeing
If you were a thermal imaging comany, wouldn't it be fun to have a logo on your building that was only visible through a TIC... ;D

..or on a smaller scale, how about some T-shirts printed in inks with different emissivities, with logos you can only see with a TIC...

Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline tim_h

  • Newbie
  • Posts: 3
  • Country: gb
Re: Flir E4 Thermal imaging camera teardown
« Reply #1753 on: November 25, 2013, 04:36:35 pm »
Received my camera today :) from Alpha Electronics Maidstone UK. Camera is made in Estonia.

SW version 1.19.8
Calibration date: November 22 2013.

Just installing FLIR tools...
 

Offline cyr

  • Frequent Contributor
  • **
  • Posts: 252
  • Country: se
Re: Flir E4 Thermal imaging camera teardown
« Reply #1754 on: November 25, 2013, 05:24:48 pm »
If you were a thermal imaging comany, wouldn't it be fun to have a logo on your building that was only visible through a TIC... ;D

Perhaps the FLIR guys could borrow this tech (also developed in Sweden):

 

Offline ixfd64

  • Frequent Contributor
  • **
  • Posts: 345
  • Country: us
    • Facebook
Re: Flir E4 Thermal imaging camera teardown
« Reply #1755 on: November 25, 2013, 05:28:13 pm »
It looks like the rumors about FLIR making the E4 "hack-proof" are just that - rumors. :)

Offline equinoxe

  • Contributor
  • Posts: 23
Re: Flir E4 Thermal imaging camera teardown
« Reply #1756 on: November 25, 2013, 07:09:00 pm »
testing firmware takes time, they wouldn't want to rush out some crappy firmware, that would be extremely bad advertisement.
 

Offline bronson

  • Regular Contributor
  • *
  • Posts: 172
  • Country: us
Re: Flir E4 Thermal imaging camera teardown
« Reply #1757 on: November 25, 2013, 07:45:40 pm »
How's the Linux-based E4->E8 transition looking?  mrflibble posted the autohack https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/msg333051/#msg333051 but things on the Windows side seem to have advanced quite a bit since then.  And it doesn't have a README.

So, should I go with the flow and set up a one-time Windows VM?  Or should I go for glory on Linux (which I expect would require re-reading everything posted since around page 50...?)

Gotta say, this camera has already been surprisingly useful.  Looking forward to when they cost $200 and everyone has one.
 

Offline ullki

  • Newbie
  • Posts: 4
  • Country: se
Flir E4 Thermal imaging camera teardown
« Reply #1758 on: November 25, 2013, 08:04:30 pm »

Turned off the highway this morning and took this photo of the Flir office right north of Stockholm, where I understood that my camera is "designed and engineered", and where they come up with passwords like 3vlig, thank you Flir for making it possible for me to own a 320x240 TIC!

This is MSX@320x240, when I look at it in pure termal image, it's apparent that I need to go for the T-series ;)

Ah! This is great! I hope they don't take this as an insult, we all love FLIR and this photo proves the influence of this forum on the electronics industry, great job ullki.

Indeed, maybe I should be explicit about that: This was by no means meant as an insult but rather as a tribute, to all you Flir employees out there: you make (well develop) some awesome hardware inside that glass facade, thank you very much! I'm now* a proud Flir TIC owner and will try my best to promote your products!

* Yes, I'm not a lost E8 customer but rather a gained new customer that only went for the E4 due to the upgrade-ability, so you made an additional $1000 on me (actually, in Sweden it's considerably more expensive than that, must be very costly to ship it across the Baltic Sea ;) )

/U
 

Offline Alphatronique

  • Regular Contributor
  • *
  • Posts: 129
  • Country: ca
    • Alphatronique Inc.
Re: Flir E4 Thermal imaging camera teardown
« Reply #1759 on: November 25, 2013, 09:15:16 pm »
will knot soon if last batch of 62 unit on tequipment was 1.2.x or not  ;D

To Be Shipped
Estimated Ship Date: 11/26/2013
(1 day)
Marc Lalonde CID.  IPC Certified PCB Designer.
Alphatroniqe inc.   www.alphatronique.com
 

Online mikeselectricstuffTopic starter

  • Super Contributor
  • ***
  • Posts: 13747
  • Country: gb
    • Mike's Electric Stuff
Re: Flir E4 Thermal imaging camera teardown
« Reply #1760 on: November 25, 2013, 09:16:46 pm »
How's the Linux-based E4->E8 transition looking?  mrflibble posted the autohack https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/msg333051/#msg333051 but things on the Windows side seem to have advanced quite a bit since then.  And it doesn't have a README.

So, should I go with the flow and set up a one-time Windows VM?  Or should I go for glory on Linux (which I expect would require re-reading everything posted since around page 50...?)

Gotta say, this camera has already been surprisingly useful.  Looking forward to when they cost $200 and everyone has one.
I'm sure if you ask nicely someone will CRC01 a file with your serial number, but it shouldn't be a problem for anyone who speaks Linux or Mac to recompile the CRC01 source
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Online mikeselectricstuffTopic starter

  • Super Contributor
  • ***
  • Posts: 13747
  • Country: gb
    • Mike's Electric Stuff
Re: Flir E4 Thermal imaging camera teardown
« Reply #1761 on: November 25, 2013, 09:17:36 pm »
will knot soon if last batch of 62 unit on tequipment was 1.2.x or not  ;D

To Be Shipped
Estimated Ship Date: 11/26/2013
(1 day)
Now 51.... still flying off the shelves!
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline ixfd64

  • Frequent Contributor
  • **
  • Posts: 345
  • Country: us
    • Facebook
Re: Flir E4 Thermal imaging camera teardown
« Reply #1762 on: November 25, 2013, 09:26:20 pm »
I have a feeling FLIR is creating rumors of the "fix" to get people to buy more E4's. :D

Offline Alphatronique

  • Regular Contributor
  • *
  • Posts: 129
  • Country: ca
    • Alphatronique Inc.
Re: Flir E4 Thermal imaging camera teardown
« Reply #1763 on: November 25, 2013, 09:54:27 pm »
i found the great Mike tread just this week end
and when buy my saturday have 60 left

so yup may have a rush before to late ;-0  ,or it fault of santa claus

Marc Lalonde CID.  IPC Certified PCB Designer.
Alphatroniqe inc.   www.alphatronique.com
 

Offline Alphatronique

  • Regular Contributor
  • *
  • Posts: 129
  • Country: ca
    • Alphatronique Inc.
Re: Flir E4 Thermal imaging camera teardown
« Reply #1764 on: November 25, 2013, 09:56:57 pm »
i found the great Mike tread just this week end
and when buy my saturday have 60 left

so yup may have a rush before to late ;-0  ,or it fault of santa claus

almost hope it 1.2 just for the fun  8)
Marc Lalonde CID.  IPC Certified PCB Designer.
Alphatroniqe inc.   www.alphatronique.com
 

Offline tanntraad

  • Newbie
  • Posts: 7
  • Country: no
  • Engineer, Materials Technology
    • Insructables
Re: Flir E4 Thermal imaging camera teardown
« Reply #1765 on: November 25, 2013, 10:17:33 pm »
I just wanted to share a tip for a nice little focus tool: an automotive fuse! For macro thermal vision I just turn it CC half a turn to almost a full turn. Fine tuning is only a matter of going closer or further away with my E4-8.
Some hot shots to lighten up this great forum:

 

Online cynfab

  • Regular Contributor
  • *
  • Posts: 175
  • Country: us
Re: Flir E4 Thermal imaging camera teardown
« Reply #1766 on: November 25, 2013, 10:20:32 pm »
How's the Linux-based E4->E8 transition looking?  mrflibble posted the autohack https://www.eevblog.com/forum/testgear/flir-e4-thermal-imaging-camera-teardown/msg333051/#msg333051 but things on the Windows side seem to have advanced quite a bit since then.  And it doesn't have a README.

So, should I go with the flow and set up a one-time Windows VM?  Or should I go for glory on Linux (which I expect would require re-reading everything posted since around page 50...?)

Gotta say, this camera has already been surprisingly useful.  Looking forward to when they cost $200 and everyone has one.


You can run the original crc01.exe under wine. It worked fine for me, gave me the same CRC as it did running under Win 7.

What would really be useful is for someone to set up a VM with Win 7 in it and do a packet capture (WireShark) of the transactions that occur over the USB/Ethernet when the flir drivers talk to the RNDIS DHCP server on the camera.
I've tried setting a linux pc up with a static address of 192.168.0.1 and 192.168.1.1 (both of which I've seen my Win7 PC get from the camera) to no avail. I'm thinking that the flir drivers are using a non-standard port for DHCP or some other magic handshake with the camera. WireShark under native Win 7 will not capture USB transactions.
It would really be nice to be able to talk to the camera via telnet/ftp/http from linux.

I haven't seen this mentioned before (but may have missed it). Point your web browser at the IP of the camera when connected via RNDIS... Quite a lot of info there, but be carefull!!! don't do any fiddling with the calibration pages, or things might get upset.

Again, many heartfelt thanks to Mike and all the others that contributed to this hack.

   ...ken...
« Last Edit: November 25, 2013, 10:23:46 pm by cynfab »
 

Offline MrSquirrel

  • Contributor
  • Posts: 34
  • Country: gb
Re: Flir E4 Thermal imaging camera teardown
« Reply #1767 on: November 25, 2013, 11:25:15 pm »
What would really be useful is for someone to set up a VM with Win 7 in it and do a packet capture (WireShark) of the transactions that occur over the USB/Ethernet when the flir drivers talk to the RNDIS DHCP server on the camera.
I've tried setting a linux pc up with a static address of 192.168.0.1 and 192.168.1.1 (both of which I've seen my Win7 PC get from the camera) to no avail. I'm thinking that the flir drivers are using a non-standard port for DHCP or some other magic handshake with the camera. WireShark under native Win 7 will not capture USB transactions.
It would really be nice to be able to talk to the camera via telnet/ftp/http from linux.

I would probably dig through docs on the RNDIS standard. From what i remember RNDIS emulates a point to point ethernet link that appears to an OS as ethernet, but the lower layers are fudged - at least that's the way i think of it. If you do a release/renew the RNDIS adaptor gets upset and will not get a new IP, probably does not support this. You have to unplug-replug to restore connectivity. Like i say the lower layers are fudged because there will only ever be two hosts on the "network".

Google for "[MS-RNDIS].pdf"

I had a go anyway with Wireshark, it's tricky to sniff what is happening because the RNDIS interface is not available until the camera is plugged in. However if you are quick you can capture some initial traffic. The camera appears to offer an address to itself, the source MAC appears to be from an unknown vendor - will send you the grab if you like.

I used to use a program called "USB Trace" years ago do do USB sniffing, was playing with an FTDI USB Host module at the time. Looks like it is still around, http://www.sysnucleus.com/. This was great because you could set it running and watch the whole init process as you plugged a device in and of course pick through the protocol.
« Last Edit: November 25, 2013, 11:32:26 pm by MrSquirrel »
 

Online mikeselectricstuffTopic starter

  • Super Contributor
  • ***
  • Posts: 13747
  • Country: gb
    • Mike's Electric Stuff
Re: Flir E4 Thermal imaging camera teardown
« Reply #1768 on: November 25, 2013, 11:30:04 pm »
Quote
What would really be useful is for someone to set up a VM with Win 7 in it and do a packet capture (WireShark) of the transactions that occur over the USB/Ethernet when the flir drivers talk to the RNDIS DHCP server on the camera.
Not sure why this would be particularly useful, compared to  rev-enging the protocol they use for firmware updates over USB UVC, as that would be a more likely way in if RNDIS got disabled as a hack countermeasure.
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Online cynfab

  • Regular Contributor
  • *
  • Posts: 175
  • Country: us
Re: Flir E4 Thermal imaging camera teardown
« Reply #1769 on: November 25, 2013, 11:52:07 pm »
Mike,
That would certainly be useful as well, and would require the same USB sniffing/recording setup as figuring out the RNDIS DHCP. Time will tell as to what version 1.2.? will bring.

MrSquirrel,
I'd like to see the dump you got, may give me some ideas. Thanks..

I had gotten the MS-RNDIS .pdf a while ago and at first read, it's DHCP seemed like it should work with a linux client. But I will read it again.

I haven't set up a VM with Win 7 for lack of Win 7. I ran it on my desktop for the first time since I bought the box, just to update my E4 to E8+. I took many hours to update Win 7 before I could begin installing the flir tools.
I might try Win 7 again to use the "USB Trace" program.

 

Offline mrflibble

  • Super Contributor
  • ***
  • Posts: 2051
  • Country: nl
Re: Flir E4 Thermal imaging camera teardown
« Reply #1770 on: November 25, 2013, 11:58:44 pm »
Quote
What would really be useful is for someone to set up a VM with Win 7 in it and do a packet capture (WireShark) of the transactions that occur over the USB/Ethernet when the flir drivers talk to the RNDIS DHCP server on the camera.
Not sure why this would be particularly useful, compared to  rev-enging the protocol they use for firmware updates over USB UVC, as that would be a more likely way in if RNDIS got disabled as a hack countermeasure.

I've been doing some reversing on the USB protocol, but I stopped. Amusingly enough exactly with the above setup, not sure if I mentioned it somewhere. win7-64 in a virtualbox. That's how I applied the E8 hack as well. That's also how I run my telnet scripts. win7 guest sets up the link, and then I ssh tunnel to the linux guest. That way you have the ports of the flir available on your linux localhost. I would have preferred using native rndis on linux directly to the flir, but that was a nogo. I'm pretty sure I  :rant: about that, because it's damn annoying. I hope it's just a matter of me using an old kernel or me being stupid. That way there should be an easy fix for it.

Oh yeah, tip du jour when setting up rndis etc in vm... I get the best results when I killed the IRCAM somethingsomething in the system tray. You get that one after you install the Flir RNDIS drivers. So the low level drivers are okay, but the "handy tool" only gets in the way...

I was busy reversing the command protocol over UVC, but then I decided that using the camera through telnet+ftp interface made a bit more sense in terms of flushing time.  ;D

So on the linux side it would be more productive to get rndis working. Or maybe it's already working for you because you have  a more recent kernel and/or I am being silly.

As in for the functionality, having rndis working properly without needing a VM would be action #1. After that a libusb based tool to do commands/updates over UVC would be #2 IMO. Too bad that for me right now #0 is "Use Camera" and other non-E4 related things. :P

Oh yeah, re VM ... you obviously have to pass the USB device through to the VM. I think I listed the various USB ID's somewhere earlier on... I'll just paste it here...
Code: [Select]
MSD                   : 09cb:ffff
UVC                   : 09cb:1004
RNDIS                 : 09cb:1002
RNDIS and UVC         : 09cb:1005
RNDIS and MSD         : 09cb:1006
UVC and MSD (standard): 09cb:1007
RNDIS, UVC and MSD    : 09cb:1005

Re: RNDIS + DHCP... From the win7 guest this is working. When using native rndis on linux I can see the USB payloads for a dhcp request going from linux box to flir. Payload looks proper (using wireshark to snoop usb traffic). However, no return URBs from flir. So it's silently dropping those because it hasn't seen the proper handshake yet.

After a couple more tries I went a screw it, and telnet through the VM. After all, there are thermal images to be made...
 

Online cynfab

  • Regular Contributor
  • *
  • Posts: 175
  • Country: us
Re: Flir E4 Thermal imaging camera teardown
« Reply #1771 on: November 26, 2013, 12:26:37 am »
mrflibble,

I tried the camera on several different kernels,
3.5.?      x86 Linux Mint
3.8.13    Arm Cortex A8 Angstrom
2.6.31    x86-64 Ubuntu 9.10
3.8.0      x86-64 Ubuntu 13.04

All had the same (lack of) DHCP performance.
When I ran WireShark on Ubuntu 13.04 I could see the USB data encapsulating the Ethernet DHCP requests when I monitored the USB interface, I could also monitor the "derived" Ethernet interface and see DHCP requests going over to the camera, but nothing coming back.
Googling rndis ,linux, WinCE 6 gets lots of hits on people using linux to talk to WinCE devices via RNDIS. Sooo, I think it is possible, there is just something about the flir WinCE build.
 

Offline mrflibble

  • Super Contributor
  • ***
  • Posts: 2051
  • Country: nl
Re: Flir E4 Thermal imaging camera teardown
« Reply #1772 on: November 26, 2013, 12:41:06 am »
All had the same (lack of) DHCP performance.
When I ran WireShark on Ubuntu 13.04 I could see the USB data encapsulating the Ethernet DHCP requests when I monitored the USB interface, I could also monitor the "derived" Ethernet interface and see DHCP requests going over to the camera, but nothing coming back.
Googling rndis ,linux, WinCE 6 gets lots of hits on people using linux to talk to WinCE devices via RNDIS. Sooo, I think it is possible, there is just something about the flir WinCE build.
Exactly all of that, yes. :)

Like I said, you see the DHCP request (encapsulated in URB) going to the flir, but the E4 never even sends an acknowledge of the URB. Almost as if it is just not servicing that endpoint. Although it probably is, but just silently dropping it.

I have also tried static ip + route + arp, but no dice. So my suspicion is that Flir did something not 100% standard in their rndis drivers. Oh and on kernel 3.3.4 it doesn't work either.

 

Online cynfab

  • Regular Contributor
  • *
  • Posts: 175
  • Country: us
Re: Flir E4 Thermal imaging camera teardown
« Reply #1773 on: November 26, 2013, 01:08:39 am »
So here is an interesting point, when I connected my E4 to my Win 7 PC, that already had an ethernet connection to my 192.168.0.x network, the new ethernet interface created when the camera was connected got 192.168.1.1. So the camera must have exchanged enough data with the PC to realize that the 192.168.0.x net was already in use. Just like DHCP should be behaving. This is why I think sniffing that interface while Win 7 + flir drivers negotiate the DHCP lease will be enlightening.
BTW if i disabled the 192.168.0.x ethernet interface before connecting the camera, the usb-->camera "ethernet" then got 192.168.0.1.
 

Offline MrSquirrel

  • Contributor
  • Posts: 34
  • Country: gb
Re: Flir E4 Thermal imaging camera teardown
« Reply #1774 on: November 26, 2013, 01:12:24 am »
Here is the DHCP capture file. You always get that malformed packet which seems to confuse Windows initally.

I don't know the Linux equivalent but there are Windows command line tools (i forget the name of) you can use to "replay" packets captured in a Wireshark grab back out an interface.  That is sometimes useful when debugging when you have a known good trace.

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf