GQ Electronics Technical Support Forum Active Users: / Visits Today:
Highest Active Users:
GQ Electronics Technical Support Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 GQ Electronics Forums
 2.GQ Geiger Muller Counter
 Firmware BUG: Bad save data with GMC-300Re 2.30

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List Spell Checker
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Insert an Image File
Check here to include your profile signature.
    

T O P I C    R E V I E W
jd Posted - 12/20/2012 : 06:08:28
Using a GMC-300 with firmware version "GMC-300Re 2.30", here's some raw data extracted from the 64 KiB memory via the USB serial interface:


61F0:  55 AA 01 02  74 55 AA 01  02 2C 55 AA  01 02 79 55
6200:  01 02 1C FF  55 AA 01 02  35 55 AA 01  02 66 55 AA
6210:  01 02 56 55  AA 01 02 4E  55 AA 01 02  59 55 AA 01
6220:  02 38 55 AA  01 02 80 55  AA 01 02 4C  55 AA 01 02
6230:  70 55 AA 01  02 3C 55 AA  01 02 A1 55  AA 01 02 2B


With "55 AA 01" indicating a following 16-bit (two byte) value, this data would decode to the following readings in hexidecimal:
0x274, 0x22C, 0x279, 0x55,
0x1, 0x2, 0x1C, 0xFF,
0x235, 0x266,
0x256, 0x24E, 0x259,
0x238, 0x280, 0x24C,
0x270, 0x23C, 0x2A1, 0x22B

Notice the values that don't fit the trend.

Note too that the address 0x6200 occurs on a 0x100 byte boundary.

It seems as if an intended sequence of 55 AA 01 02 1C required two separate writes due to the boundary, but then was misaligned for the second write, losing the AA, and revealing an FF which would have been over-written by the 1C if the alignment had been correct.

At another memory location:

                                                    55 AA
5EF0:  01 02 21 55  AA 01 02 3C  55 AA 01 02  0C 55 AA 01
5F00:  1B FF 55 AA  01 02 7C 55  AA 01 02 4A  55 AA 01 02
5F10:  33


This decodes to readings of:
0x221, 0x23c, 0x20c,
0x1BFF, 0x27C, 0x24A,
0x233

Here again at a 0x100 byte boundary the same bad behavior appears, except this time data is lost and an erroneous reading of 0x1BFF (7167 in decimal) replaces the correct reading, unknown but probably 0x21B (539 in decimal). Due to the firmware bug, the device records a false value over 13 times higher than the likely correct value here.

This problematic behavior continues to repeat itself throughout the saved history data.

Does anyone know if there is currently a firmware version available that corrects this bug that causes potential data loss every 256 bytes?
3   L A T E S T    R E P L I E S    (Newest First)
ZLM Posted - 12/24/2012 : 19:43:02
Contact support@gqelectronicsllc.com for the firmware update. It should be fixed in firmware Re.2.31
jd Posted - 12/22/2012 : 03:55:40
quote:

Here is my raw data log:



I see the bug in your data too at address 00008100 where the decoded value jumps up to 53759 (0xd1ff) between values of 765 (0x02fd) and 805 (0x325).

The bug isn't limited to counts that exceed 255 and require multiple bytes. This off-by-one alignment bug also corrupts time stamps. Here's an example extracted from the same GMC-300:


98F0:  .. .. .. ..  .. .. .. .. 55 AA 00 0C  0C 14 01 24  
9900:  FF 55 AA 00  .. .. .. .. .. .. .. ..  .. .. .. ..


"55 AA 00" marks the time stamp and this data decodes to a date and time of 12-12-20 1:36:255.
We tend not to see 255 seconds in less than a minute.
ZLM Posted - 12/21/2012 : 21:46:34
It seems it happend when the CPM reading is super high( greater than 30600 CPM).

It works fine on regular reading.

This should be fixed.

Here is my raw data log:

Image Insert:

160.29 KB

GQ Electronics Technical Support Forum © Copyright since 2011 Go To Top Of Page
Generated in 0.05 sec. Snitz's Forums 2000