Voltage based lever issue

A forum for discussing applications and implementations of the MegaShift transmission controller code for the GPIO from B&G. This can control up to 8-speeds and 6 shift solenoids (plus a 16x9 table for controlling a PWM line pressure valve). It has manual and fully automatic modes (16x9 load x speed table), with under and over rev-limit protection, and full data logging of all inputs and outputs (among many other abilities). A TransStim to test your completed board is also available.
Post Reply
jamies
Posts: 5
Joined: Fri Nov 11, 2011 9:50 pm

Voltage based lever issue

Post by jamies »

i seem to have an issue with both 2110 and 4007 -

on 2110, i load the firmware from scratch, open tunerstudio, load the project etc, make only one change, that is configure shift lever type to 'voltages (ford)' and click burn, flash/burn lights up but will not complete the burning process. if i power cycle the gpio after a few minutes, it doesnt start up, ie flash is corrupted (tunerstudio will not connect)

if i do the same with 4007, flash/burn lights up and after a few seconds, shows burned, all ok, but power the gpio down and power it up it wont start up (tunerstudio will not connect).

I have replicated this a number of times, and it seems i can change almost all settings without issue except for the lever type - this seems to corrupt something somewhere....
Bernard Fife
Posts: 1696
Joined: Fri Apr 04, 2008 1:28 pm

Re: Latest Code Updates

Post by Bernard Fife »

jamies,

I will have a look shortly.

Lance.
"Never wrestle with pigs. You both get dirty and the pig likes it." - George Bernard Shaw
Bernard Fife
Posts: 1696
Joined: Fri Apr 04, 2008 1:28 pm

Voltage based lever issue

Post by Bernard Fife »

jamies,

This is clearly a problem in the code or compiler. MT does the same as TS, and if I set the default value to the voltage selection (Ford) directly in the code (rather than with TS) I get the same issues. I haven't found the cause of the issue yet, but hope to shortly. I will keep you posted. The fix will be released as 2.111 code/INI.

Lance.
"Never wrestle with pigs. You both get dirty and the pig likes it." - George Bernard Shaw
Bernard Fife
Posts: 1696
Joined: Fri Apr 04, 2008 1:28 pm

Re: Latest Code Updates

Post by Bernard Fife »

I am getting to the bottom of this. I have isolated the problem code, and have some potential solutions to try. Once I have something that works, I will have to do some testing to verify I haven't screwed that up, nor anything else. I hope to be able to post updated 2.111 code later today (with luck and a tail wind!). Lance.
"Never wrestle with pigs. You both get dirty and the pig likes it." - George Bernard Shaw
Bernard Fife
Posts: 1696
Joined: Fri Apr 04, 2008 1:28 pm

Voltage based lever issue

Post by Bernard Fife »

jamies.

Here is new code for you to try that appears to work properly with the flash burning and lever selection in quick testing on my bench. A number of small issues (typos & logical errors) with the voltage based lever determination were fixed. The comments were also expanded to make it easier to fix anything in this area in the future.

I will do more testing on this code tomorrow. Hopefully I haven't buggered to much else up in the process...

This likely won't be the final version of 2.111 code, as at the very least I have some clean-up to do, so I will eventually remove the attachments below and put the final 2.111 code in the usual spot on the web page: http://www.msgpio.com/manuals/mshift/V2code.html

I need to make the same fixes to the 4.XXX code, and will do that in the next day or two.

Thanks for spotting this, testing it, and bringing it to our attention - that's how things get better!

Lance.

<files deleted, use code from post below>
"Never wrestle with pigs. You both get dirty and the pig likes it." - George Bernard Shaw
gurov
Posts: 164
Joined: Mon Jun 01, 2009 1:01 pm

Re: Latest Code Updates

Post by gurov »

jamies wrote:i seem to have an issue with both 2110 and 4007 -

on 2110, i load the firmware from scratch, open tunerstudio, load the project etc, make only one change, that is configure shift lever type to 'voltages (ford)' and click burn, flash/burn lights up but will not complete the burning process. if i power cycle the gpio after a few minutes, it doesnt start up, ie flash is corrupted (tunerstudio will not connect)

if i do the same with 4007, flash/burn lights up and after a few seconds, shows burned, all ok, but power the gpio down and power it up it wont start up (tunerstudio will not connect).

I have replicated this a number of times, and it seems i can change almost all settings without issue except for the lever type - this seems to corrupt something somewhere....
i hit the same with 4007 today.

in other news, 2111 works fine for my setup (if you remember all the weirdness with the gearshift selector), but i'm not sure if the controller is honoring the shift-duration times. do you remember if that was a real issue ?

<some posts from this thread moved to: viewtopic.php?f=4&t=246>
Post Reply