PDA

View Full Version : Strange flash counts



Scoota
June 1st, 2008, 11:54 AM
I was just going into the V2 licensing to add some more licenses to find I've been quite busy.

I've not quite been that busy.

Anyone else noticed this on their units.

Cheers Scotty.

Blacky
June 1st, 2008, 09:09 PM
It's a bug (in an older version of the software) in the way the data is displayed in those fields. The byte order of the 16 bit values is being switched when it should not be. Both the Infineon CPU in FlashScan and the x86 CPU in the PC use the same byte order. The bug was a hangover from code copied from FlashScan V1 that used an Atmel CPU with a reverse byte order.

You can convert the displayed values to their true value as follows:
32513 is $7F01, it should be $017F which is 383 (cal flashes)
5632 is $1600, it should be $0016 which is 22 (full flashes)

Regards
Paul

Scoota
June 1st, 2008, 10:31 PM
That sounds about right paul.

Cheers Scotty.