MS3 pre-1.5.1 ChangeLog

Testing and development of Megasquirt 3

Moderators: jsmcortina, muythaibxr

Locked
jsmcortina
Site Admin
Posts: 39585
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

MS3 pre-1.5.1 ChangeLog

Post by jsmcortina »

Changes since 1.5.0 release firmware

2017-01-30 JSM
Correct ini scaling error on fuel pressure for bar and psi.
Correct #ifdefs on some MS3PROU for I/O.

2017-02-06 KWC
Fix an engine states issue interacting with idle where once you're
in CL idle, you don't come out of it until the throttle is pressed.

2017-03-09 JSM
Port options for #3.

2017-03-13 JSM
Variable tacho gave wrong config error.

2017-03-26 KWC
Fix for overrun fuel cut to respect the RPMDot-based RPM limits for turning
fuel back on.

2017-03-28 JSM
Ensure atomic handling of flagbyte.

2017-04-07 JSM
SDcard various.
- Fallback to standard baud if errors during baudhigh.
- Clarify error condition if same SDcard block requested twice and unavailable.
- Allow last SDcard block to be re-sent.
- Add cancel readback internal command. (untested)
Add command buttons for 'Stop Engine' and 'Reset processor'

-- pre-1.5.1 beta 1 --
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".
jsmcortina
Site Admin
Posts: 39585
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS3 pre-1.5.1 ChangeLog

Post by jsmcortina »

2017-04-14 JSM
Update "CAM sensor" tooltip for Nissan CAS case.
AEM CAN EGO could rollover beyond 25.5AFR. Limit to 25.5.
Simplify AEMX CAN receiving code.

2017-04-24 JSM
Staging greying.

2017-05-03 JSM
Sequenced batch-fire tooltip tweak.

2017-05-06 JSM
Fix realtime baro port #define for new MS3-Pro. (On branch)

-- pre-1.5.1 beta 2 --
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".
jsmcortina
Site Admin
Posts: 39585
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS3 pre-1.5.1 ChangeLog

Post by jsmcortina »

2017-05-04 JSM
Implement nitrous timing return delay and taper. Minor re-organisation of nitrous code.

2017-05-11 JSM
V3 inj "bank 2 different" was not being applied correctly.

2017-05-14 JSM
Staging issues:
- change handling of num_inj.
- ensure staged injs are configured but not primed.
- do operate staged injectors in non-sequental MS3X outputs case.
- don't allow 8 inj + simult + V3 staging - not enough timers.
- tweak config error messages.
Tested 36 combinations, some correctly give config error.
- 4,6,8 cyl
- staging off, MS3X, V3
- main fuel as Off MS3X, Semi MS3X, Seq MS3, Off V3.

2017-05-15 JSM
Optionally ignore knock during anti-lag.

2017-05-17 JSM
Re-organise internal log fields to work with TS.
Add Idle, Boost1, AFR1 PID logging as internal log fields for SDcard.
Add status9 to show oil and fuel pressure engine shutdown.

2017-05-20 JSM
Closed-loop EGO.
- Use stoich setting, so PID will work with non-gasoline AFRs (e.g. methanol)
- Limit target to 0.5-1.5 lambda (that's 7.4-22.0 AFR for gasoline.)
- Lower "correct above" limit in ini.
Add stoich and reqfuel switching bits to status9.

2017-05-24 JSM
For debug, allow whole SDcard log file to be download.
For debug, allow SDcard detect switch to be ignored.
Per customer request, allow logging to stop at end of file.
Allow "Reset ECU" to work in config error.
Change greying on Ignition table 3,4 and Fuel table 3,4.
Only allow transbrake at very low speeds.

2017-05-29 JSM
Fix code overflow with dome control timed from launch.

2017-06-02 JSM
Change behaviour in case of SDcard SPI error during write.
Update loaders. (Committed late.)

-- pre-1.5.1 beta 3 --
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".
jsmcortina
Site Admin
Posts: 39585
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS3 pre-1.5.1 ChangeLog

Post by jsmcortina »

2017-06-22 JSM
Fix memset of vars2, was wiping Dome Bias and more.
Tweak on dp_adding ini entry.
ini PID typo correction.
Simplify Engine States by removing redundant "Fast Accel/Decel" settings.
Closed-loop Dome:
- change behaviour to use Bias value when beyond lowerlimit and baro when off-boost.
- Minor re-arrange closed-loop code and fixed null pointer.

2017-06-29 JSM
Prevent MAP going negative.
Var renaming in MAP, MAF, TPS calcs. Should have no effect.
Don't operate dome control outputs in testmode.
3-step, transbrake, line-lock staging config code only runs when Launch system enabled.

2017-07-04 JSM
Change default ECU temperature calibration for Ult and Evo.

-- pre-1.5.1 beta 4 --
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".
jsmcortina
Site Admin
Posts: 39585
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS3 pre-1.5.1 ChangeLog

Post by jsmcortina »

2017-07-10 JSM
Use #defined value instead of number comparing to status2. (No functional change.)

2017-07-18 JSM
rpmdot returns to zero on stall.
SDcard:
- check pre-created empty file is valid size before using it.
- add new variable to remove potential (rare) conflict.
- tweak to when 'ready' shows.
- show SPI actual baud rate in 'D' output.
- fix bug where erase caused next logged file to be wrong size.
- remove some commented code
- fix issue where unallocated clusters were created when directory was full.
- in case of card full, erase earliest file to make space. (This can be very slow.)
- Change to default to enabled, 128 byte, more log fields and no LED.

2017-08-06 JSM
Rewrite Flex fuel calculations to give more smoothing.
Allow default eth% to be set.
ini text tweaks

2017-08-08 JSM
ITB ini text tweaks.
Set initial port values for PTS on Ultimate.
Don't touch PP0/1 on any MS3-Pro (PWM4/5 interference from InjI/J)
Fix display issue where "PW1" included the wrong deadtime. No impact on actual pulsewidth.

2017-08-09 JSM
When blending by VSS1 use MPH not ms-1. (Future release will support KPH.)
2-stroke rejects single-wheel at cam speed due to too many triggers.
Report config error for Staged pri=V3, sec=MS3X.

2017-08-12 JSM
Add support for 116 tooth 4cyl tri-tach mode. Leave MS3X cam input disconnected.
Comment some debug code.
Injector test mode, 65535 squirts means continual.

2017-08-15 JSM
SDcard init tweaks.
Allow PT4 as Flex input.

2017-08-19 JSM
SDcard tweaks.
- If error during init, drop baud rate to allow for card and production variation.
- Tweak 'CRC' byte.
- (internal) add debug code option.
- remove loopback debug code.

-- pre-1.5.1 beta 5 --
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".
jsmcortina
Site Admin
Posts: 39585
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS3 pre-1.5.1 ChangeLog

Post by jsmcortina »

2017-08-21 JSM
SDcard. A timeout during first init could cause an invalid baud rate to be used.

-- pre-1.5.1 beta 6 --
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".
jsmcortina
Site Admin
Posts: 39585
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: MS3 pre-1.5.1 ChangeLog

Post by jsmcortina »

2017-08-31 JSM
Allow HD32-2 / oddfire / WastedCOP (false config error)

2017-09-07 JSM
SDcard:
- Tweak baud rate drop behaviour.
- Add more internal retries for SDcard reads in readback.
- Add retry during FAT scan phase.

2017-09-08 JSM
SDcard
- Add indicator (SD Warn) for repeated card hardware errors.
- Add workaround for TS reading wrong directory size.
Add VVT PID logging (internal log fields.)

2017-09-08 KWC
Make it so if CL idle disables because IDLE state goes away, when
idle comes back on, the valve position makes sense

2017-09-10 JSM
Add MS3 test I/O for D14,15,16, JS11
Use local var for ram_no_cyl in init to save space.

-- pre-1.5.1 beta 7 --
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".
Locked