Failed CRC check
Moderator: LT401Vette
Failed CRC check
I have just upgraded my microsquirt v2 from ms2extra3.2.5 to pre3.4alpha2. The upload went fine and when I start TunerStudio v2.6.01 using the new project that I created for this firmware the connection with Microsquirt is established. When I attempt to calibrate the sensors or upload an msq the burn fails because of a CRC mismatch. I have tried uploading the firmware both with and without the bootloader for the same result. If I reflash with 3.2.5 I have no problem configuring the controller and everything returns to normal. Obviously a comms problem but I have nothing so I would appreciate if anyone could throw some light on where I'm messing up.
-
- Super MS/Extra'er
- Posts: 12731
- Joined: Sat Jul 16, 2005 8:07 am
- Location: Moorseville, NC
- Contact:
Re: Failed CRC check
I don't see any reports of comms issues in that brief log.
Is the crc error prompt consistent on some settings/dialogs or random?
Is there any power cycling or resets of the controller? If you set a gauge to Clock and make sure it continues to count up. If it goes back to 0, then the processor rebooted and RAM based changes are lost.
Is the crc error prompt consistent on some settings/dialogs or random?
Is there any power cycling or resets of the controller? If you set a gauge to Clock and make sure it continues to count up. If it goes back to 0, then the processor rebooted and RAM based changes are lost.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
Re: Failed CRC check
Phil, thankyou for replying. I guess I posted in the wrong section. The burn failure because of a CRC error is consistent across the board for all configuration settings and there are no resets because the clock guage keeps counting up regardless. When I make a settings change it immediately lights the 'lost data' button red and wont allow me to burn the change. If I close the settings window the 'burn page failed CRC check' message is displayed. The only way I can make a configuration change is to power cycle microsquirt and when back online hit the 'send TunerStudio configuration to controller' button in the difference report. Occasionally it write the change immediately but most time I have to keep hitting the button until it eventually writes (sometimes up to 9 or 10 times).
I have managed to successfully configure microsquirt with the new firmware using this method and am now in the tuning phase but I have to admit that it is a real pain in the arse way of doing it.
I have managed to successfully configure microsquirt with the new firmware using this method and am now in the tuning phase but I have to admit that it is a real pain in the arse way of doing it.
-
- Super MS/Extra'er
- Posts: 12731
- Joined: Sat Jul 16, 2005 8:07 am
- Location: Moorseville, NC
- Contact:
Re: Failed CRC check
Have you tried with the 3.3.1 stable firmware?
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
Re: Failed CRC check
Yes I have tried with 3.3.1a but with the same result as above. I have tried with a different laptop but that didn't help. I can connect fine with shadow dash and log with no problems but I haven't tried uploading a tune file. I am a little reluctant in case I trash what I have already achieved. I can connect with msdroid via bluetooth but it seems flakey as some of the tuning configuration appears to be missing and the throttle position guage is unresponsive although other guages are working fine. Like with TunerStudio I am unable to burn configuration changes in msdroid even though it offers me the opportunity. I am amazed that I have been able to get this firmware installed, configured and working (and it is working just fine).
Just in case you were wondering why I am using this beta firmware, I have an AIM MXL dash that I was hoping to test with the new CAN broadcasting capability of this firmware.
Just in case you were wondering why I am using this beta firmware, I have an AIM MXL dash that I was hoping to test with the new CAN broadcasting capability of this firmware.
-
- Super MS/Extra'er
- Posts: 12731
- Joined: Sat Jul 16, 2005 8:07 am
- Location: Moorseville, NC
- Contact:
Re: Failed CRC check
Maybe... Are you using a prolific USB to serial cable? With the new protocol ms2 firmware I have seen some prolific cables behave badly. There is special handling built into the JSSC driver.
In communication settings select USB and Wireless, then RS232 (JSSC)make sure the right port is selected and click select.
See if that makes a difference.
In communication settings select USB and Wireless, then RS232 (JSSC)make sure the right port is selected and click select.
See if that makes a difference.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
Re: Failed CRC check
The laptop that I use most of the time is an older hp machine with a serial port so I prefer to use a straight serial connection. The other laptop that I tried has no serial port so I use a FTDI usb to serial cable. Both work fine and yield the same result. I tried the JSSC driver as you suggested but the result was still the same.
BTW Phil, thanks for your interest and assistance with this problem.
BTW Phil, thanks for your interest and assistance with this problem.
-
- Super MS/Extra'er
- Posts: 12731
- Joined: Sat Jul 16, 2005 8:07 am
- Location: Moorseville, NC
- Contact:
Re: Failed CRC check
So your using 2 different laptops, with different serial connections, yet getting this same behavior.
I think we should get a comm debug log.
Under the communications menu, turn days rate down to 1/s, then close TS, delete the TunerStudioAppDebug.txt.
Start TS againunder the communications menu , check comm debug..
Open your project and connect.
Make the crc error happen.
I think we should get a comm debug log.
Under the communications menu, turn days rate down to 1/s, then close TS, delete the TunerStudioAppDebug.txt.
Start TS againunder the communications menu , check comm debug..
Open your project and connect.
Make the crc error happen.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
Re: Failed CRC check
Comm debug log attached.
-
- Super MS/Extra'er
- Posts: 12731
- Joined: Sat Jul 16, 2005 8:07 am
- Location: Moorseville, NC
- Contact:
Re: Failed CRC check
Can you post the msq you are trying to load?
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
-
- Super MS/Extra'er
- Posts: 12731
- Joined: Sat Jul 16, 2005 8:07 am
- Location: Moorseville, NC
- Contact:
Re: Failed CRC check
Looking through your Comm Debug log, I think we need firmware developer input.
The CRC failure is related to TPS Calibration settings. It seems they are not sticking.
In this trimmed log data, you can see TS writes the tpsMin and Max, got an Ok protocol response, then sends a burn for page 1, got another Ok response, but then on the next crc for the page it does not match TS. When TS reads back the controller data, the written values are not there.
The CRC failure is related to TPS Calibration settings. It seems they are not sticking.
In this trimmed log data, you can see TS writes the tpsMin and Max, got an Ok protocol response, then sends a burn for page 1, got another Ok response, but then on the next crc for the page it does not match TS. When TS reads back the controller data, the written values are not there.
Code: Select all
Time: 0:38.032: Received Instruction:
5/26/14 8:32:18 AM :Time: 0:38.033: SENT, 17 bytes
x00 x0B x77 x00 x04 x02 x06 x00 x04 x00 x5B x03 x68 x3D xAA x48 ..w.......[.h=.H
xEF .
#### x00 x5B = 91
#### x03 x68 = 872
5/26/14 8:32:18 AM :Debug: commThreadExpectedReturnTime set to ms from now: 908
5/26/14 8:32:18 AM :Time: 0:38.153: Received, 3 bytes
x00 x01 x00 ...
5/26/14 8:32:18 AM :Time: 0:38.153: Received, 4 bytes
xD2 x02 xEF x8D ....
Time: 0:38.154: Processing Complete:
Time: 0:38.154: Processing Instruction:
5/26/14 8:32:18 AM :Time: 0:38.155: SENT, 9 bytes
x00 x03 x62 x00 x04 xB3 x7F x02 x45 ..b....E
5/26/14 8:32:18 AM :Debug: Burn time:140ms.
5/26/14 8:32:18 AM :Debug: burned page 1
5/26/14 8:32:18 AM :Debug: No Remaining Queue Write instructions
5/26/14 8:32:19 AM :Debug: commThreadExpectedReturnTime set to ms from now: 956
5/26/14 8:32:19 AM :Time: 0:38.295: Received, 3 bytes
x00 x01 x04 ...
5/26/14 8:32:19 AM :Time: 0:38.295: Received, 4 bytes
xD5 x6F x2B x94 .o+.
5/26/14 8:32:19 AM :Debug: Read page time: 219ms.
5/26/14 8:32:19 AM :Warning: Controller page 1 Does not match Local store:
Controller x0C x03 xC5 x88 .... Local Data Store xCF x21 x66 xAA ..f.
Differences Detected at the following addresses:
x207, x209,
or in Decimal:
519, 521,
Non Matching bytes in quotes:
Set 1 Set 2
x0000 x04 x03 x15 x00 x2E x0F x09 x3C x04 x03 x15 x00 x2E x0F x09 x3C
x0008 x50 x64 x78 x8C xA0 xFA x7C x54 x50 x64 x78 x8C xA0 xFA x7C x54
x0010 x40 x33 x2C x02 x02 x8A x00 x3C x40 x33 x2C x02 x02 x8A x00 x3C
x0018 x00 x32 x00 x28 x00 x1E x00 x14 x00 x32 x00 x28 x00 x1E x00 x14
x0020 x00 x0A x00 x00 x00 x00 x00 x00 x00 x0A x00 x00 x00 x00 x00 x00
x0028 x00 x00 x00 x00 x03 x84 x00 xC8 x00 x00 x00 x00 x03 x84 x00 xC8
x0030 x82 x87 xA0 xA0 xA0 x95 x8F x84 x82 x87 xA0 xA0 xA0 x95 x8F x84
x0038 x83 x84 x83 x82 x84 x89 x9D x9D x83 x84 x83 x82 x84 x89 x9D x9D
x0040 x9B x95 x8E x84 x82 x81 x80 x7F x9B x95 x8E x84 x82 x81 x80 x7F
x0048 x86 x8B x9B x9B x9A x95 x8D x82 x86 x8B x9B x9B x9A x95 x8D x82
x0050 x81 x80 x7F x7F x87 x8C x98 x98 x81 x80 x7F x7F x87 x8C x98 x98
x0058 x96 x93 x8C x82 x81 x80 x7F x7E x96 x93 x8C x82 x81 x80 x7F x7E
x0060 x88 x8D x96 x95 x93 x93 x8C x81 x88 x8D x96 x95 x93 x93 x8C x81
x0068 x80 x7F x7E x7E x87 x8A x91 x8F x80 x7F x7E x7E x87 x8A x91 x8F
x0070 x8D x8D x87 x80 x7F x7E x7E x7E x8D x8D x87 x80 x7F x7E x7E x7E
x0078 x86 x86 x8B x89 x88 x88 x83 x7F x86 x86 x8B x89 x88 x88 x83 x7F
x0080 x7E x7E x7E x7E x84 x84 x87 x85 x7E x7E x7E x7E x84 x84 x87 x85
x0088 x85 x84 x82 x7E x7D x7D x7D x7D x85 x84 x82 x7E x7D x7D x7D x7D
x0090 x82 x82 x83 x82 x82 x81 x82 x7D x82 x82 x83 x82 x82 x81 x82 x7D
x0098 x7D x7D x7D x7D x82 x81 x81 x80 x7D x7D x7D x7D x82 x81 x81 x80
x00A0 x80 x7F x7E x7D x7D x7D x7D x7C x80 x7F x7E x7D x7D x7D x7D x7C
x00A8 x82 x81 x81 x80 x80 x7F x7E x7D x82 x81 x81 x80 x80 x7F x7E x7D
x00B0 x7D x7D x7B x7B x82 x81 x81 x80 x7D x7D x7B x7B x82 x81 x81 x80
x00B8 x80 x7F x7E x7D x7D x7A x7A x7A x80 x7F x7E x7D x7D x7A x7A x7A
x00C0 x82 x87 xA0 xA0 xA0 x95 x8F x84 x82 x87 xA0 xA0 xA0 x95 x8F x84
x00C8 x83 x84 x83 x82 x84 x89 x9D x9D x83 x84 x83 x82 x84 x89 x9D x9D
x00D0 x9B x95 x8E x84 x82 x81 x80 x7F x9B x95 x8E x84 x82 x81 x80 x7F
x00D8 x86 x8B x9B x9B x9A x95 x8D x82 x86 x8B x9B x9B x9A x95 x8D x82
x00E0 x81 x80 x7F x7F x87 x8C x98 x98 x81 x80 x7F x7F x87 x8C x98 x98
x00E8 x96 x93 x8C x82 x81 x80 x7F x7E x96 x93 x8C x82 x81 x80 x7F x7E
x00F0 x88 x8D x96 x95 x93 x93 x8C x81 x88 x8D x96 x95 x93 x93 x8C x81
x00F8 x80 x7F x7E x7E x87 x8A x91 x8F x80 x7F x7E x7E x87 x8A x91 x8F
x0100 x8D x8D x87 x80 x7F x7E x7E x7E x8D x8D x87 x80 x7F x7E x7E x7E
x0108 x86 x86 x8B x89 x88 x88 x83 x7F x86 x86 x8B x89 x88 x88 x83 x7F
x0110 x7E x7E x7E x7E x84 x84 x87 x85 x7E x7E x7E x7E x84 x84 x87 x85
x0118 x85 x84 x82 x7E x7D x7D x7D x7D x85 x84 x82 x7E x7D x7D x7D x7D
x0120 x82 x82 x83 x82 x82 x81 x82 x7D x82 x82 x83 x82 x82 x81 x82 x7D
x0128 x7D x7D x7D x7D x82 x81 x81 x80 x7D x7D x7D x7D x82 x81 x81 x80
x0130 x80 x7F x7E x7D x7D x7D x7D x7C x80 x7F x7E x7D x7D x7D x7D x7C
x0138 x82 x81 x81 x80 x80 x7F x7E x7D x82 x81 x81 x80 x80 x7F x7E x7D
x0140 x7D x7D x7B x7B x82 x81 x81 x80 x7D x7D x7B x7B x82 x81 x81 x80
x0148 x80 x7F x7E x7D x7D x7A x7A x7A x80 x7F x7E x7D x7D x7A x7A x7A
x0150 xB4 xB4 xA0 x96 x87 x7D x71 x6C xB4 xB4 xA0 x96 x87 x7D x71 x6C
x0158 x66 x64 x14 x32 x69 x96 x00 x00 x66 x64 x14 x32 x69 x96 x00 x00
x0160 x00 x00 x00 xA0 x00 x96 x00 x8C x00 x00 x00 xA0 x00 x96 x00 x8C
x0168 x00 x82 x00 x78 x00 x69 x00 x5A x00 x82 x00 x78 x00 x69 x00 x5A
x0170 x00 x4B x00 x3C x00 x28 x01 xF4 x00 x4B x00 x3C x00 x28 x01 xF4
x0178 x03 x20 x04 x4C x05 x78 x07 xD0 x03 x20 x04 x4C x05 x78 x07 xD0
x0180 x0A x28 x0C x1C x0E x74 x10 xCC x0A x28 x0C x1C x0E x74 x10 xCC
x0188 x13 x24 x15 x18 x17 x70 x01 xF4 x13 x24 x15 x18 x17 x70 x01 xF4
x0190 x03 x20 x04 x4C x05 x78 x07 xD0 x03 x20 x04 x4C x05 x78 x07 xD0
x0198 x0A x28 x0C x1C x0E x74 x10 xCC x0A x28 x0C x1C x0E x74 x10 xCC
x01A0 x13 x24 x15 x18 x17 x70 x01 x2C x13 x24 x15 x18 x17 x70 x01 x2C
x01A8 x01 x5E x01 xC2 x01 xF4 x02 x26 x01 x5E x01 xC2 x01 xF4 x02 x26
x01B0 x02 x58 x02 xBC x02 xEE x03 x20 x02 x58 x02 xBC x02 xEE x03 x20
x01B8 x03 x52 x03 xB6 x03 xE8 x01 x2C x03 x52 x03 xB6 x03 xE8 x01 x2C
x01C0 x01 x5E x01 xC2 x01 xF4 x02 x26 x01 x5E x01 xC2 x01 xF4 x02 x26
x01C8 x02 x58 x02 xBC x02 xEE x03 x20 x02 x58 x02 xBC x02 xEE x03 x20
x01D0 x03 x52 x03 xB6 x03 xE8 xFE x70 x03 x52 x03 xB6 x03 xE8 xFE x70
x01D8 xFF x38 x00 x00 x00 xC8 x01 x90 xFF x38 x00 x00 x00 xC8 x01 x90
x01E0 x02 x58 x03 x20 x03 xE8 x05 x14 x02 x58 x03 x20 x03 xE8 x05 x14
x01E8 x06 x40 x08 x34 x0F xA0 x1F x40 x06 x40 x08 x34 x0F xA0 x1F x40
x01F0 x3C x28 x00 x00 x00 x00 x00 x00 x3C x28 x00 x00 x00 x00 x00 x00
x01F8 x00 x00 x00 x5D x0A x31 x00 x00 x00 x00 x00 x5D x0A x31 x00 x00
x0200 x00 x64 x00 x00 x00 x64 x00 "x00" x00 x64 x00 x00 x00 x64 x00 "x5B"
x0208 x03 "xFF" x00 x01 x01 x29 x00 x00 x03 "x68" x00 x01 x01 x29 x00 x00
x0210 x00 x64 x00 x5D x0A x31 x00 x00 x00 x64 x00 x5D x0A x31 x00 x00
x0218 x00 x00 x00 x00 x01 xF4 x00 x14 x00 x00 x00 x00 x01 xF4 x00 x14
x0220 x32 x46 x19 x00 x03 x05 x01 x7F x32 x46 x19 x00 x03 x05 x01 x7F
x0228 x00 xFA x00 x32 x00 x64 x00 x05 x00 xFA x00 x32 x00 x64 x00 x05
x0230 x01 x00 x00 x00 x00 x00 x03 xE8 x01 x00 x00 x00 x00 x00 x03 xE8
x0238 x04 xB0 x00 x03 xE8 x00 x64 x06 x04 xB0 x00 x03 xE8 x00 x64 x06
x0240 x07 x00 x07 xD0 x00 x64 x1E x82 x07 x00 x07 xD0 x00 x64 x1E x82
x0248 x01 x90 x02 x64 x02 xBC x02 xBC x01 x90 x02 x64 x02 xBC x02 xBC
x0250 x64 x00 x01 x10 x01 x0F x8C x00 x64 x00 x01 x10 x01 x0F x8C x00
x0258 x00 x04 x05 x78 x06 x40 x05 x14 x00 x04 x05 x78 x06 x40 x05 x14
x0260 x3C x8C x02 x01 x0A xC8 x42 x4B x3C x8C x02 x01 x0A xC8 x42 x4B
x0268 x0C x00 x00 x04 x03 x84 x32 x32 x0C x00 x00 x04 x03 x84 x32 x32
x0270 x32 x3C x32 x50 x32 x00 x01 x01 x32 x3C x32 x50 x32 x00 x01 x01
x0278 x01 x0A x01 xF4 x21 x78 x08 x42 x01 x0A x01 xF4 x21 x78 x08 x42
x0280 x32 x03 xE8 x04 xB0 x01 x04 x1A x32 x03 xE8 x04 xB0 x01 x04 x1A
x0288 x03 x20 x03 xE8 x17 x70 x00 x64 x03 x20 x03 xE8 x17 x70 x00 x64
x0290 x17 x70 x02 x71 x00 x96 x00 x93 x17 x70 x02 x71 x00 x96 x00 x93
x0298 x00 x07 x07 x07 x07 x00 x02 x00 x00 x07 x07 x07 x07 x00 x02 x00
x02A0 x0A x00 x3A x00 x4B x00 x00 x07 x0A x00 x3A x00 x4B x00 x00 x07
x02A8 xD0 x18 x80 x00 x00 x00 x00 x00 xD0 x18 x80 x00 x00 x00 x00 x00
x02B0 x00 x03 x20 x00 x00 x03 xE8 x00 x00 x03 x20 x00 x00 x03 xE8 x00
x02B8 x00 x00 x00 xA3 x00 x01 x90 x03 x00 x00 x00 xA3 x00 x01 x90 x03
x02C0 x84 x07 x08 x07 x08 x07 x08 x07 x84 x07 x08 x07 x08 x07 x08 x07
x02C8 x08 x02 x58 x02 x58 x05 x05 x05 x08 x02 x58 x02 x58 x05 x05 x05
x02D0 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00
x02D8 x00 x00 x00 x00 x1E x0D x00 x01 x00 x00 x00 x00 x1E x0D x00 x01
x02E0 xC2 x00 x03 x84 x01 x00 x00 x00 xC2 x00 x03 x84 x01 x00 x00 x00
x02E8 x00 x00 x00 x00 x00 x00 x0A x01 x00 x00 x00 x00 x00 x00 x0A x01
x02F0 x05 x00 xC8 x00 x00 x00 x00 x00 x05 x00 xC8 x00 x00 x00 x00 x00
x02F8 x00 x00 x00 x3E x3E x3E x3E x3E x00 x00 x00 x3E x3E x3E x3E x3E
x0300 x3E x3E x3E x3E x3E x3E x3E x3E x3E x3E x3E x3E x3E x3E x3E x3E
x0308 x3E x20 x20 x20 x20 x20 x20 x20 x3E x20 x20 x20 x20 x20 x20 x20
x0310 x00 x00 x00 x00 x00 x00 x00 x01 x00 x00 x00 x00 x00 x00 x00 x01
x0318 x01 x01 x01 x01 x01 x01 x00 x00 x01 x01 x01 x01 x01 x01 x00 x00
x0320 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00
x0328 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00
x0330 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00
x0338 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00
x0340 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00
x0348 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00
x0350 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00
x0358 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00
x0360 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00
x0368 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00
x0370 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00
x0378 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00
x0380 x01 x00 x00 x14 x00 x64 x14 x00 x01 x00 x00 x14 x00 x64 x14 x00
x0388 x00 x0A x0F xA0 x00 x32 x96 x64 x00 x0A x0F xA0 x00 x32 x96 x64
x0390 xA3 x00 x00 xC8 x00 x00 x00 x00 xA3 x00 x00 xC8 x00 x00 x00 x00
x0398 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00 x00
x03A0 x64 x1E x0A x02 x14 x1E x02 x00 x64 x1E x0A x02 x14 x1E x02 x00
x03A8 x02 xBC x02 xBC x0D xAC x01 xF4 x02 xBC x02 xBC x0D xAC x01 xF4
x03B0 x03 xE8 x07 xD0 x0B xB8 x0F xA0 x03 xE8 x07 xD0 x0B xB8 x0F xA0
x03B8 x13 x88 x00 xC8 x00 xC8 x00 xC8 x13 x88 x00 xC8 x00 xC8 x00 xC8
x03C0 x00 xC8 x00 xC8 x00 xC8 x00 x24 x00 xC8 x00 xC8 x00 xC8 x00 x24
x03C8 x01 x00 x00 x01 x0A x00 x09 xC4 x01 x00 x00 x01 x0A x00 x09 xC4
x03D0 x13 x88 x00 x00 x00 x23 x02 x14 x13 x88 x00 x00 x00 x23 x02 x14
x03D8 x00 x00 x00 x00 x14 x04 x00 x06 x00 x00 x00 x00 x14 x04 x00 x06
x03E0 x06 x00 x01 x04 x05 x00 x00 x3C x06 x00 x01 x04 x05 x00 x00 x3C
x03E8 x00 x36 x00 x31 x00 x2C x00 x26 x00 x36 x00 x31 x00 x2C x00 x26
x03F0 x00 x20 x00 x1B x00 x15 x00 x0D x00 x20 x00 x1B x00 x15 x00 x0D
x03F8 x00 x05 x02 x5A x00 x64 x00 x64 x00 x05 x02 x5A x00 x64 x00 x64
5/26/14 8:32:19 AM :Info: Retrying CRC call to see if it agrees after read:
5/26/14 8:32:19 AM :Debug: commThreadExpectedReturnTime set to ms from now: 956
5/26/14 8:32:19 AM :Time: 0:38.914: SENT, 13 bytes
x00 x07 x6B x00 x04 x00 x00 x00 x04 xE6 x30 xA5 xB8 ..k.......0..
5/26/14 8:32:19 AM :Info: CRC matches fine.
5/26/14 8:32:19 AM :Debug: CRC from controller page 1:x0C x03 xC5 x88 ....
5/26/14 8:32:19 AM :Debug: Local Data CRC for page 1: x0C x03 xC5 x88 ....
5/26/14 8:32:19 AM :Debug: Writing the last 0 comm interactions including the burn, crc and page read to the log file here:
5/26/14 8:32:19 AM :Debug: Real OchDelay for ms2extra_pre3.4alpha2: 120, timeout=300
5/26/14 8:32:19 AM :Debug: commThreadExpectedReturnTime set to ms from now: 884
5/26/14 8:32:19 AM :Time: 0:38.934: Received, 3 bytes
x00 x05 x00 ...
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
-
- Site Admin
- Posts: 39614
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: Failed CRC check
I draw a blank.LT401Vette wrote:Looking through your Comm Debug log, I think we need firmware developer input.
I tested the same version firmware with the same min/max values. No problems for me.
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Re: Failed CRC check
In this log the CRC failure is only related to TPS calibration because that is the first thing that I did after loading the firmware and going online. I shutdown microsquirt after this in order to keep the log short for attachment. In fact I get the same CRC failure on all configuration changes. On one occasion while trying to upload an msq I got a failure on pages 1, 2, and 3, a successful write on 4 and five and a failure on 6 and 7 but this result was not repeated on other attempts. At the moment I have gone back to 3.2.5 because it works fine and allows me to use the bike but I have borrowed a v3 microsquirt to continue trying to find a solution. I am getting the same results with this controller. I loaded pre3.4 alpha3 on the v3 successfully but struggled to get any calibrations or configuration changes to stick at all so I reflashed it with 3.3.1a and the only way I can write any changes is to go offline and then back online and attempt to send the TunerStudio changes in the difference report to the controller. With a bit of patients I have managed to get it fully configured. It seems to me that I only have a problem with firmware versions after 3.2.5.
-
- Site Admin
- Posts: 39614
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: Failed CRC check
There must be something wrong with your communications setup. Otherwise everyone would have the problem. However, what the problem is... I'm not sure.
James
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
-
- Super MS/Extra'er
- Posts: 12731
- Joined: Sat Jul 16, 2005 8:07 am
- Location: Moorseville, NC
- Contact:
Re: Failed CRC check
What would concern me is that if it is a communications issue, going back to 3.2.5 may just cover up a problem, not fix it. 3.2.5 doesn't have an error checking protocol. With your 3.2.5 project, is CRC Check active in the project properties?
But on the other hand, based on your log there were no protocol errors. All communications appear to be successful.
But on the other hand, based on your log there were no protocol errors. All communications appear to be successful.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
Re: Failed CRC check
CRC checking is deactivated for 3.2.5. With 3.3.1a which I am currently using with the v3 microsquirt on the bike, I noticed that as soon as I go online the 'lost data' and 'need burn' indicators in TunerStudio turn red. Looking at the debug log it is clear to see that there are CRC mismatches at this point. I still don't understand why the CRC matches fine on some pages and not on the others.
-
- Super MS/Extra'er
- Posts: 12731
- Joined: Sat Jul 16, 2005 8:07 am
- Location: Moorseville, NC
- Contact:
Re: Failed CRC check
Crc mismatches during interrogation are commonly normal and nothing to worry about. Any unmapped data on the page can cause that.
The data lost indicator coming on is not normal if the controller just powered on and you connected. That should only happen if there where unburned changes when you disconnected last and there was no power cycle.
If you turn crc checking on with 3.2.5 do you get crc errors again?
The data lost indicator coming on is not normal if the controller just powered on and you connected. That should only happen if there where unburned changes when you disconnected last and there was no power cycle.
If you turn crc checking on with 3.2.5 do you get crc errors again?
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
Re: Failed CRC check
That makes sense except that this happens every time that the controller powers up and goes online regardless of what happened in the previous online session.LT401Vette wrote:The data lost indicator coming on is not normal if the controller just powered on and you connected. That should only happen if there where unburned changes when you disconnected last and there was no power cycle.
I will do as you ask with 3.2.5 but it will have to wait until tomorrow as it is very late here now and I need to reconnect the other microsquirt to do this test. I have a feeling that the penny will drop soon about what I am overlooking or doing wrong.
Re: Failed CRC check
Activated CRC checking with 3.2.5 and there were no CRC errors with the configuration changes that I made and burns proceeded as normal.