Go Back   EcoModder Forum > EcoModding > Instrumentation > OpenGauge / MPGuino FE computer
Register Now
 Register Now
 

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 04-01-2024, 11:37 PM   #201 (permalink)
EcoModding Beginner
 
Join Date: Oct 2022
Location: Oklahoma
Posts: 30

WJ - '03 Jeep Grand Cherokee Laredo
Team E85
90 day: 17.28 mpg (US)

ZJ - '94 Jeep Grand Cherokee Laredo
Thanks: 17
Thanked 11 Times in 10 Posts
Compilation error - useChryslerMAPCorrection

I know this isn't a tech support forum, but I couldn't figure out this compilation problem. Would it be better to post this as an issue on github?

I would love to solve this, if you know what the problem is, or could point me toward how to solve it myself. Thanks!

I tried enabling useChryslerMAPCorrection, but compilation failed with the error:

Quote:
In file included from /home/ian/Arduino/mpguino_tav/mpguino_tav.ino:438:0:

/home/ian/Arduino/mpguino_tav/trip_measurement.h:438:52: error: 'tPressureChannel' was not declared in this scope
((mpMAPpressureIdx - mpMAPpressureIdx) << 8 ) | (tPressureChannel) // Pressures
/home/ian/Arduino/mpguino_tav/trip_measurement.h:439:53: error: 'tPressureChannel' was not declared in this scope

,((mpBaroPressureIdx - mpMAPpressureIdx) << 8 ) | (tPressureChannel)

/home/ian/Arduino/mpguino_tav/trip_measurement.h:440:53: error: 'tPressureChannel' was not declared in this scope
,((mpFuelPressureIdx - mpMAPpressureIdx) << 8 ) | (tPressureChannel)

/home/ian/Arduino/mpguino_tav/trip_measurement.h:441:52: error: 'tPressureChannel' was not declared in this scope
,((mpInjPressureIdx - mpMAPpressureIdx) << 8 ) | (tPressureChannel)

/home/ian/Arduino/mpguino_tav/feature_datalogging.ino: In function 'void idleProcess()':
/home/ian/Arduino/mpguino_tav/feature_datalogging.ino:528:20: error: 'prgmCalculateMAPpressure' was not declared in this scope
/home/ian/Arduino/mpguino_tav/feature_datalogging.ino:528:20: note: suggested alternative: 'prgmCalculateSpeed'
/home/ian/Arduino/mpguino_tav/feature_datalogging.ino:539:20: error: 'prgmCalculateBaroPressure' was not declared in this scope
/home/ian/Arduino/mpguino_tav/feature_datalogging.ino:539:20: note: suggested alternative: 'prgmCalculateBingoFuel'

exit status 1

Compilation error: 'tPressureChannel' was not declared in this scope
I messed around with it but was unable to make any progress. I'm using MPGuino v1.95tav 2023-Aug-14 with a legacy MPGuino setup.

useChryslerBaroSensor compiles without errors.

I also have an issue where instant mpg only shows up half the time while moving; it switches back to gal/h the other half of the time. My speed always shows up correctly, and the average mpg continues working.

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 04-09-2024, 01:38 PM   #202 (permalink)
EcoModding Beginner
 
Join Date: Oct 2022
Location: Oklahoma
Posts: 30

WJ - '03 Jeep Grand Cherokee Laredo
Team E85
90 day: 17.28 mpg (US)

ZJ - '94 Jeep Grand Cherokee Laredo
Thanks: 17
Thanked 11 Times in 10 Posts
Serial Logging Frequency (speed)

So, the serial logging function output every 0.5 seconds. Is there a way to make this faster (i.e every 0.2 seconds, or even every 0.1)?
  Reply With Quote
Old 08-02-2024, 06:10 PM   #203 (permalink)
EcoModding Beginner
 
Join Date: Oct 2022
Location: Oklahoma
Posts: 30

WJ - '03 Jeep Grand Cherokee Laredo
Team E85
90 day: 17.28 mpg (US)

ZJ - '94 Jeep Grand Cherokee Laredo
Thanks: 17
Thanked 11 Times in 10 Posts
Found the last version where useChryslerMAPCorrection worked. It is commit "a50af8e". You can find it on github by going to "commits" and scrolling to Jun 3, 2023. Or by cloning the repo, and then doing "git checkout a50af8e". This is in case anyone else wants to try out Chrysler MAP Correction, obviously t_vago, you know where all that is.
  Reply With Quote
Old 11-19-2024, 07:23 PM   #204 (permalink)
EcoModding Beginner
 
Join Date: Oct 2022
Location: Oklahoma
Posts: 30

WJ - '03 Jeep Grand Cherokee Laredo
Team E85
90 day: 17.28 mpg (US)

ZJ - '94 Jeep Grand Cherokee Laredo
Thanks: 17
Thanked 11 Times in 10 Posts
I fixed useChryslerMapCorrection. All I did was move the code that changed in the broken version back to how it was before. I created a pull request for the latest version, available here (https://github.com/FlashStopFall/MPG...rMapCorrection) if you would like to use it. t_vago, I hope you are doing well, and I hope the pull request is satisfactory!
  Reply With Quote
The Following User Says Thank You to FlashStopFall For This Useful Post:
t vago (11-22-2024)
Old 06-07-2026, 03:05 PM   #205 (permalink)
MPGuino Supporter
 
t vago's Avatar
 
Join Date: Oct 2010
Location: Hungary
Posts: 1,811

iNXS - '10 Opel Zafira 111 Anniversary

Suzi - '02 Suzuki Swift GL
Thanks: 832
Thanked 711 Times in 459 Posts
Okay... been busy these past two years, but again am supporting my version of MPGuino!

FlashStopFall, I looked at your fix for useChryslerMapCorrection, and implemented a more modular fix that I tested on my IDE as working.

I also fixed another user's reported bug, and ensured that EEPROM.h matches filename case.

Latest development - I went through the code and fixed all pointer references to all SWEET64 programs for the AtMega2560, as there was a possibility that they would get pushed outside of assumed program space if the code and selected options would become big enough for that to happen. I also added the ability to write bytes into a dedicated RAM buffer from the debug monitor, copy existing flash-resident SWEET64 routines into this RAM, and the ability for MPGuino to run any SWEET64 program so entered into the RAM buffer, as one of its built-in functions. This means that an existing SWEET64 program can be worked on, in real-time, to troubleshoot any bugs.

I still need to add some more items to this new feature. Namely, the ability to enter the SWEET64 instructions and their arguments (operand bytes), and have the monitor automatically convert those into bytecode that SWEET64 can actually run. Also, the ability to output these RAM programs into a form that can be directly pasted into the source file. This will immensely improve the ability to develop new SWEET64 programs.

After that, I will further development to allow my MPGuino to support TFT displays. It already supports Bluetooth, and can interface using a suitable bluetooth module with the MPGuino Blue app currently available on Google Play or on abbalooga's website, http://abbalooga.com
  Reply With Quote
Old 06-17-2026, 07:00 AM   #206 (permalink)
MPGuino Supporter
 
t vago's Avatar
 
Join Date: Oct 2010
Location: Hungary
Posts: 1,811

iNXS - '10 Opel Zafira 111 Anniversary

Suzi - '02 Suzuki Swift GL
Thanks: 832
Thanked 711 Times in 459 Posts
Okay, I added the ability to enter the SWEET64 instructions and their arguments (operand bytes), and have the debug monitor automatically convert those into bytecode that SWEET64 can actually run. Also, I added the ability to output these RAM programs into a form that can be directly pasted into the source file. This will immensely improve the ability to develop new SWEET64 programs.

Added also a user manual and a developer manual, and updated the readme.
  Reply With Quote
Old 06-29-2026, 02:15 PM   #207 (permalink)
MPGuino Supporter
 
t vago's Avatar
 
Join Date: Oct 2010
Location: Hungary
Posts: 1,811

iNXS - '10 Opel Zafira 111 Anniversary

Suzi - '02 Suzuki Swift GL
Thanks: 832
Thanked 711 Times in 459 Posts
Updated the debug monitor to display more status information, and wrote a regression package to externally test SWEET64 opcodes for proper behavior. Caught a really subtle bug in the square root function by doing this, too.

Now working on finally supporting Abbalooga's AtMega2560 touch screen and TFT display. Got to where I can perform touch calibration, draw simple shapes, and rotate the output screen in 90 degree increments. Also began work on the parameter editor TFT displays, and got an actual numeric touchpad working, as well as drop-down menus for those parameters which are either on-off or only have a few enumerated values
  Reply With Quote
The Following User Says Thank You to t vago For This Useful Post:
freebeard (06-29-2026)
Old 06-29-2026, 05:33 PM   #208 (permalink)
Master EcoModder
 
freebeard's Avatar
 
Join Date: Aug 2012
Location: northwest of normal
Posts: 31,130
Thanks: 8,875
Thanked 9,548 Times in 7,884 Posts
Not an area of interest to me, but thanks for keeping the old homestead in your thoughts. It's been quiet around here lately.

__________________
.
..
Without freedom of speech we wouldn't know who all the idiots are. -- anonymous poster

___________________
.
..
Now for the ball scores: 4 to 3, 6 to 2 and 8 to 1 -- Firesign Theater
  Reply With Quote
The Following User Says Thank You to freebeard For This Useful Post:
t vago (06-30-2026)
Reply  Post New Thread


Tags
mpguino, peak and hold

Thread Tools




Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com