[rusEfi] Mitsubishi 4G63 and 4G92 (#6)

Your chance to introduce yourself and your vehicle
User avatar
Tambralinga
donator
donator
Posts: 174
Joined: Wed Jun 18, 2014 8:36 am
Location: Bangkok, Thailand

Re: Mitsubishi 4G63 and 4G92 (#6)

Post by Tambralinga »

russian wrote:Not sure what you mean here :( do not understand what is this question about

get_int command? set_int command?

I want show offset TS or command for show all offset for file rusefi.ini .
Skype : shiva-p
+66 8 5357 5159
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Mitsubishi 4G63 and 4G92 (#6)

Post by AndreyB »

this is probably close to what I am planning to finish maybe today or tomorrow - https://sourceforge.net/p/rusefi/tickets/125/

the tool I am working on would be making all the offsets in the configs, that would allow you to get 16x32 table you are looking for relatively easy
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
Tambralinga
donator
donator
Posts: 174
Joined: Wed Jun 18, 2014 8:36 am
Location: Bangkok, Thailand

Re: Mitsubishi 4G63 and 4G92 (#6)

Post by Tambralinga »

russian wrote:this is probably close to what I am planning to finish maybe today or tomorrow - https://sourceforge.net/p/rusefi/tickets/125/

the tool I am working on would be making all the offsets in the configs, that would allow you to get 16x32 table you are looking for relatively easy
ok
Skype : shiva-p
+66 8 5357 5159
User avatar
Tambralinga
donator
donator
Posts: 174
Joined: Wed Jun 18, 2014 8:36 am
Location: Bangkok, Thailand

Re: Mitsubishi 4G63 and 4G92 (#6)

Post by Tambralinga »

firmware version 6707

Image

set_engine_type 16 have problems

2015-02-07 15_33: EngineState: injection #1 @ PB9
2015-02-07 15_33: EngineState: injection #2 @ PB8
2015-02-07 15_33: EngineState: injection #3 @ PE3
2015-02-07 15_33: EngineState: injection #4 @ PE5
2015-02-07 15_33: EngineState: ignitionPins: mode OM_DEFAULT
2015-02-07 15_33: EngineState: ignition #1 @ PE14
2015-02-07 15_33: EngineState: ignition #2 @ NONE
2015-02-07 15_33: EngineState: ignition #3 @ PE12
2015-02-07 15_33: EngineState: ignition #4 @ NONE

spark 3 and injection 3,4 problems
Skype : shiva-p
+66 8 5357 5159
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Mitsubishi 4G63 and 4G92 (#6)

Post by AndreyB »

The answer could be that error message in the corner:
where is second trigger signal?

Image

please execute triggerinfo and post the results
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
Tambralinga
donator
donator
Posts: 174
Joined: Wed Jun 18, 2014 8:36 am
Location: Bangkok, Thailand

Re: Mitsubishi 4G63 and 4G92 (#6)

Post by Tambralinga »

Code: Select all

2015-02-08 00_14: PortHolder: Sending [sec!11!triggerinfo]
2015-02-08 00_14: EngineState: confirmation_triggerinfo:11
2015-02-08 00_14: EngineState: Template Mi4G93 (16) trigger TT_MITSU (11)
2015-02-08 00_14: EngineState: trigger#1 event counters up=4843/down=4844
2015-02-08 00_14: EngineState: expected cycle events 4/8/0
2015-02-08 00_14: EngineState: trigger type=11/need2ndChannel=No
2015-02-08 00_14: EngineState: expected duty #0=0.37/#1=0.38
2015-02-08 00_14: EngineState: isError Yes/total errors=2421 ord_err=1/total revolutions=2421/self=No
2015-02-08 00_14: EngineState: gap from 1.24 to 2.08
2015-02-08 00_14: EngineState: sn=Yes ignitionMathTime=2049 schTime=1188 triggerMaxDuration=228510
2015-02-08 00_14: EngineState: maxLockTime=39600 / maxTriggerReentraint=0
2015-02-08 00_14: EngineState: maxEventQueueTime=37698
2015-02-08 00_14: EngineState: primary trigger input: PC6
2015-02-08 00_14: EngineState: primary trigger simulator: PD1 OM_DEFAULT freq=1200
2015-02-08 00_14: EngineState: trigger error extra LED: NONE OM_DEFAULT
2015-02-08 00_14: EngineState: primary logic input: PA8
2015-02-08 00_14: EngineState: secondary logic input: NONE


Image

This firmware version 6452 ok

Code: Select all

2015-02-08 00_35: EngineState: isError No/total errors=1 ord_err=1/total revolutions=209/self=No
2015-02-08 00_35: EngineState: gap from 1.24 to 2.08
2015-02-08 00_35: EngineState: sn=Yes ignitionMathTime=2045 schTime=1165 triggerMaxDuration=228525
2015-02-08 00_35: EngineState: maxLockTime=38921 / maxTriggerReentraint=0
2015-02-08 00_35: EngineState: maxEventQueueTime=37828
2015-02-08 00_35: EngineState: primary trigger simulator: PD1 OM_DEFAULT freq=1200
2015-02-08 00_35: EngineState: secondary trigger simulator: PD2 OM_DEFAULT phase=6
2015-02-08 00_35: EngineState: 3rd trigger simulator: NONE OM_DEFAULT
2015-02-08 00_35: EngineState: trigger error extra LED: NONE OM_DEFAULT
2015-02-08 00_35: EngineState: primary trigger input: PC6
2015-02-08 00_35: EngineState: secondary trigger input: PA5
2015-02-08 00_35: EngineState: primary logic input: PA8
2015-02-08 00_35: EngineState: secondary logic input: NONE
Image
Skype : shiva-p
+66 8 5357 5159
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Mitsubishi 4G63 and 4G92 (#6)

Post by AndreyB »

this issue is about
2015-02-08 00_14: EngineState: Template Mi4G93 (16) trigger TT_MITSU (11)
2015-02-08 00_14: EngineState: trigger#1 event counters up=4843/down=4844
2015-02-08 00_14: EngineState: expected cycle events 4/8/0
2015-02-08 00_14: EngineState: trigger type=11/need2ndChannel=No
2015-02-08 00_14: EngineState: expected duty #0=0.37/#1=0.38
2015-02-08 00_14: EngineState: isError Yes/total errors=2421 ord_err=1/total revolutions=2421/self=No
i.e. it is ignoring your second sensor, that's a bug, and I was recently touching something close to this. Let me see...
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Mitsubishi 4G63 and 4G92 (#6)

Post by AndreyB »

That was a stupid bug, fixed in #6713.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
Tambralinga
donator
donator
Posts: 174
Joined: Wed Jun 18, 2014 8:36 am
Location: Bangkok, Thailand

Re: Mitsubishi 4G63 and 4G92 (#6)

Post by Tambralinga »

I'm not sure error occurs.

Connect with TS is necessary to reset frequently.


Image

After version default firmware ford aspire error is not very often.
Skype : shiva-p
+66 8 5357 5159
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Mitsubishi 4G63 and 4G92 (#6)

Post by AndreyB »

I have just fixed the console - it should handle this error better

And MAYBE fixed the bug, at least maybe the error message would be more helpful. Please try #6737
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
Tambralinga
donator
donator
Posts: 174
Joined: Wed Jun 18, 2014 8:36 am
Location: Bangkok, Thailand

Re: Mitsubishi 4G63 and 4G92 (#6)

Post by Tambralinga »

How can I know the command (manual) of the TS with Frankenso ?
I'm note sure you have link in somewhre. :?:
I would like to know any command form TS, for check results.

;-x
Skype : shiva-p
+66 8 5357 5159
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Mitsubishi 4G63 and 4G92 (#6)

Post by AndreyB »

I am not exactly sure what you are asking :( What do you call a command in tunerstudio?

For dev console commands the only manual is http://rusefi.com/wiki/index.php?title=Manual:Software:dev_console_commands

the firmware would give you the list of all commands if you send a 'help' command, it would also print it if you input a wrong command. Just added the link to http://rusefi.com/wiki/index.php?title=Manual:Software:dev_console_commands into help command output

No documentation :( That's bad. No resources to create a full documentation :(
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
ruben
Posts: 9
Joined: Wed Feb 18, 2015 4:00 pm

Re: Mitsubishi 4G63 and 4G92 (#6)

Post by ruben »

if anyone has ever tried ecu rusefi on 6A13TT galant car? can explain to me.
User avatar
Tambralinga
donator
donator
Posts: 174
Joined: Wed Jun 18, 2014 8:36 am
Location: Bangkok, Thailand

Re: Mitsubishi 4G63 and 4G92 (#6)

Post by Tambralinga »

Skype : shiva-p
+66 8 5357 5159
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Mitsubishi 4G63 and 4G92 (#6)

Post by AndreyB »

Tambralinga wrote:How ihis ticket http://sourceforge.net/p/rusefi/tickets/125/ is going on?
It done for your purposes of changing map sizes. See comments in the ticket for details on how configuration is defined currently.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
Tambralinga
donator
donator
Posts: 174
Joined: Wed Jun 18, 2014 8:36 am
Location: Bangkok, Thailand

Re: Mitsubishi 4G63 and 4G92 (#6)

Post by Tambralinga »

Code: Select all

pageIdentifier      = "\x00\x00"
   pageReadCommand     = "R\x00\x00%2o%2c"
   burnCommand         = "B\x00\x00"
   pageActivate        = "P\x00\x00"
   pageValueWrite      = "W\x00\x00%2o%v"
   pageChunkWrite      = "C\x00\x00%2o%2c%v"
I want example command show all config or show CLT,RPM.
I do not understand the work of TS.
Skype : shiva-p
+66 8 5357 5159
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Mitsubishi 4G63 and 4G92 (#6)

Post by AndreyB »

Tambralinga wrote:I want example command show all config or show CLT,RPM.
I do not understand the work of TS.
you should read the source code - https://sourceforge.net/p/rusefi/code/HEAD/tree/trunk/firmware/console/binary/tunerstudio.cpp & https://sourceforge.net/p/rusefi/code/HEAD/tree/trunk/firmware/console/binary/tunerstudio_io.cpp

CLT&RPM are all inside handleOutputChannelsCommand and config is pageReadCommand
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
Tambralinga
donator
donator
Posts: 174
Joined: Wed Jun 18, 2014 8:36 am
Location: Bangkok, Thailand

Re: Mitsubishi 4G63 and 4G92 (#6)

Post by Tambralinga »

Code: Select all

2015-04-13 16_30: EngineState: TunerStudio size=196 / total=1017 / errors=0 / H=0 / O=0 / P=273 / B=0
2015-04-13 16_30: EngineState: TunerStudio W=0 / C=0 / P=0 / page=0
2015-04-13 16_30: EngineState: page size=15288
2015-04-13 16_30: EngineState: Sending 256 done
2015-04-13 16_30: EngineState: READ m=1 p=0 o=8448 c=256
2015-04-13 16_30: EngineState: TunerStudio W=0 / C=0 / P=0 / page=0
2015-04-13 16_30: EngineState: firmware error: operationMode mismatch
2015-04-13 16_30: EngineState: firmware error: operationMode mismatch
2015-04-13 16_30: EngineState: firmware error: operationMode mismatch
2015-04-13 16_30: EngineState: firmware error: operationMode mismatch
2015-04-13 16_30: EngineState: firmware error: operationMode mismatch
2015-04-13 16_30: EngineState: firmware error: operationMode mismatch
2015-04-13 16_30: EngineState: firmware error: operationMode mismatch
2015-04-13 16_30: EngineState: firmware error: operationMode mismatch
2015-04-13 16_30: EngineState: firmware error: operationMode mismatch
2015-04-13 16_30: EngineState: firmware error: operationMode mismatch
2015-04-13 16_30: EngineState: firmware error: operationMode mismatch
2015-04-13 16_30: EngineState: firmware error: operationMode mismatch
2015-04-13 16_30: EngineState: firmware error: operationMode mismatch
็have Error new firmware 13-Apr-2015 00:26
Dev console have command show data in fule table and ignition?
Skype : shiva-p
+66 8 5357 5159
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Mitsubishi 4G63 and 4G92 (#6)

Post by AndreyB »

Tambralinga wrote: 2015-04-13 16_30: EngineState: firmware error: operationMode mismatch
2015-04-13 16_30: EngineState: firmware error: operationMode mismatch
should be fixed now.

Looks like there are no commands to show tables in console right now :( but there is the table editor build into dev console, have you seen it?
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
Tambralinga
donator
donator
Posts: 174
Joined: Wed Jun 18, 2014 8:36 am
Location: Bangkok, Thailand

Re: Mitsubishi 4G63 and 4G92 (#6)

Post by Tambralinga »

Ok
The problem now is to write data the TS.It will stop for 10 seconds if Brun program.
Dev console :can not edit table?
Skype : shiva-p
+66 8 5357 5159
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Mitsubishi 4G63 and 4G92 (#6)

Post by AndreyB »

Tambralinga wrote:Ok
The problem now is to write data the TS.It will stop for 10 seconds if Brun program.
Dev console :can not edit table?
Burn stops TS for a couple of seconds, that's pretty much expected behavior.

TS console can edit tables - use the icon to save changes.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
Tambralinga
donator
donator
Posts: 174
Joined: Wed Jun 18, 2014 8:36 am
Location: Bangkok, Thailand

Re: Mitsubishi 4G63 and 4G92 (#6)

Post by Tambralinga »

Now can use Know sensor?
Skype : shiva-p
+66 8 5357 5159
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Mitsubishi 4G63 and 4G92 (#6)

Post by AndreyB »

Tambralinga wrote:Now can use Know sensor?
???
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
Tambralinga
donator
donator
Posts: 174
Joined: Wed Jun 18, 2014 8:36 am
Location: Bangkok, Thailand

Re: Mitsubishi 4G63 and 4G92 (#6)

Post by Tambralinga »

russian wrote:
Tambralinga wrote:Now can use Know sensor?
???
sorry ,Knock sensor
Skype : shiva-p
+66 8 5357 5159
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Mitsubishi 4G63 and 4G92 (#6)

Post by AndreyB »

Tambralinga wrote:sorry ,Knock sensor
this is not done yet, see http://rusefi.com/forum/viewtopic.php?f=5&t=778
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
Tambralinga
donator
donator
Posts: 174
Joined: Wed Jun 18, 2014 8:36 am
Location: Bangkok, Thailand

Re: Mitsubishi 4G63 and 4G92 (#6)

Post by Tambralinga »

New firmware @8050 cann't set analog input mode in TS.
Skype : shiva-p
+66 8 5357 5159
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Mitsubishi 4G63 and 4G92 (#6)

Post by AndreyB »

Tambralinga wrote:New firmware @8050 cann't set analog input mode in TS.
input mode is now done automatically, you do not need to specify it anymore. use analoginfo to make sure it looks good
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
Tambralinga
donator
donator
Posts: 174
Joined: Wed Jun 18, 2014 8:36 am
Location: Bangkok, Thailand

Re: Mitsubishi 4G63 and 4G92 (#6)

Post by Tambralinga »

Input speed sensor pull-up or pull-down?
Skype : shiva-p
+66 8 5357 5159
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Mitsubishi 4G63 and 4G92 (#6)

Post by AndreyB »

Tambralinga wrote:Input speed sensor pull-up or pull-down?
pull-up and op-amp in case of my hall sensor, yours could be different,

My VSS hall sensor uses same exact circuit as your your shaft position hall sensor: pull-up, then op-amp, then op-amp output is traced to VSS rusEfi pin which is PA8 in my case.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
Tambralinga
donator
donator
Posts: 174
Joined: Wed Jun 18, 2014 8:36 am
Location: Bangkok, Thailand

Re: Mitsubishi 4G63 and 4G92 (#6)

Post by Tambralinga »

russian wrote:
Tambralinga wrote:Input speed sensor pull-up or pull-down?
pull-up and op-amp in case of my hall sensor, yours could be different,

My VSS hall sensor uses same exact circuit as your your shaft position hall sensor: pull-up, then op-amp, then op-amp output is traced to VSS rusEfi pin which is PA8 in my case.
If my hall sensor input primary input channel PC6 and secondary input channel PA5.
I can setting speed sensor PC6 or PA5?
Skype : shiva-p
+66 8 5357 5159
Post Reply