# Found bug in aem v2

**URL:** <https://forum.realdash.net/t/found-bug-in-aem-v2/1374>\
**Category:** Bugs and troubleshooting\
**Created:** [August 2, 2022, 9:13pm UTC](https://forum.realdash.net/t/found-bug-in-aem-v2/1374 "2022-08-02T21:13:16Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Admanirv](https://forum.realdash.net/letter_avatar_proxy/v4/letter/a/898d66/32.png) [@Admanirv](https://forum.realdash.net/u/Admanirv)\
**Post date:** [August 2, 2022, 9:13pm UTC](https://forum.realdash.net/t/found-bug-in-aem-v2/1374/1 "2022-08-02T21:13:16Z")

</div>

Rpm does not read correctly, I couldn’t find the xml for Android I suspect maths is wrong.

Thanks

---

<div class="post-metadata">

**Author:** ![realdashdev](https://forum.realdash.net/user_avatar/forum.realdash.net/realdashdev/32/6_2.png) [@realdashdev](https://forum.realdash.net/u/realdashdev)\
**Post date:** [August 3, 2022, 1:37pm UTC](https://forum.realdash.net/t/found-bug-in-aem-v2/1374/2 "2022-08-03T13:37:13Z")

</div>

Could you give a little bit more info, RPM always 0, value too small or large.

All AEM related CAN files are in here:

[https://github.com/janimm/RealDash-extras/tree/master/RealDash-CAN/XML-files/AEM](https://github.com/janimm/RealDash-extras/tree/master/RealDash-CAN/XML-files/AEM)

Is V2 in any of those supported files?

---

<div class="post-metadata">

**Author:** ![Admanirv](https://forum.realdash.net/letter_avatar_proxy/v4/letter/a/898d66/32.png) [@Admanirv](https://forum.realdash.net/u/Admanirv)\
**Post date:** [August 4, 2022, 9:09pm UTC](https://forum.realdash.net/t/found-bug-in-aem-v2/1374/3 "2022-08-04T21:09:23Z")

</div>

Hi,

Sure, Rpm is pretty much half that the ecu is reporting.

Those xmls don’t look like they are for the v2, can 22 is expand unit and obviously infinity is different ecu.

My question was where is the xml file located on android file system to alter xml if that’s what’s used to work out on rpm.

I am using serial to usb, so aem telemetry not CAN.

I can help with logging files or whatever you want 🙂

Thanks

---

<div class="post-metadata">

**Author:** ![realdashdev](https://forum.realdash.net/user_avatar/forum.realdash.net/realdashdev/32/6_2.png) [@realdashdev](https://forum.realdash.net/u/realdashdev)\
**Post date:** [August 8, 2022, 7:59am UTC](https://forum.realdash.net/t/found-bug-in-aem-v2/1374/4 "2022-08-08T07:59:34Z")

</div>

What connection type you use to connect to AEM V2? As far as I know CAN is the only option.

---

<div class="post-metadata">

**Author:** ![Admanirv](https://forum.realdash.net/letter_avatar_proxy/v4/letter/a/898d66/32.png) [@Admanirv](https://forum.realdash.net/u/Admanirv)\
**Post date:** [August 8, 2022, 1:31pm UTC](https://forum.realdash.net/t/found-bug-in-aem-v2/1374/5 "2022-08-08T13:31:14Z")

</div>

Hi I could never get CAN to work using a seedstudio cab2usb, within aem tuner (ecu software) I configure serial telemetry as I default and use a serial to usb cable thus from the serial port on the aem v2 to usb on my android headunit.

I noticed some settings for idle rpm etc could it be linked with this?

Thanks

---

<div class="post-metadata">

**Author:** ![realdashdev](https://forum.realdash.net/user_avatar/forum.realdash.net/realdashdev/32/6_2.png) [@realdashdev](https://forum.realdash.net/u/realdashdev)\
**Post date:** [August 8, 2022, 1:44pm UTC](https://forum.realdash.net/t/found-bug-in-aem-v2/1374/6 "2022-08-08T13:44:32Z")

</div>

I mean what connection type in RealDash?

---

<div class="post-metadata">

**Author:** ![Admanirv](https://forum.realdash.net/letter_avatar_proxy/v4/letter/a/898d66/32.png) [@Admanirv](https://forum.realdash.net/u/Admanirv)\
**Post date:** [August 8, 2022, 5:01pm UTC](https://forum.realdash.net/t/found-bug-in-aem-v2/1374/7 "2022-08-08T17:01:39Z")

</div>

Aem serial telemetry, serial/usb.

Is that what you want?

Thanks

---

<div class="post-metadata">

**Author:** ![realdashdev](https://forum.realdash.net/user_avatar/forum.realdash.net/realdashdev/32/6_2.png) [@realdashdev](https://forum.realdash.net/u/realdashdev)\
**Post date:** [August 9, 2022, 8:07am UTC](https://forum.realdash.net/t/found-bug-in-aem-v2/1374/8 "2022-08-09T08:07:25Z")

</div>

Ok, this connection type does not use any XML configuration file but is hard coded.

I see that RPM comes in as single byte which is multiplied by 50 to get actual RPM. You are suggesting that it should be multiplied by 100 instead? I can make that change, but I have no idea if this will break another AEM setup somehow.

---

<div class="post-metadata">

**Author:** ![Admanirv](https://forum.realdash.net/letter_avatar_proxy/v4/letter/a/898d66/32.png) [@Admanirv](https://forum.realdash.net/u/Admanirv)\
**Post date:** [August 9, 2022, 9:08am UTC](https://forum.realdash.net/t/found-bug-in-aem-v2/1374/9 "2022-08-09T09:08:07Z")

</div>

Hi yes I believe the maths is simply wrong.

Within aem tuner it gives you byte format/length etc.

Well the byte format is not changeable with aem its set and aem infinity which is the other ecu does not have the capability to do serial comms so won’t invoke this code.

If you want info happy to email stuff?

Thanks

---

<div class="post-metadata">

**Author:** ![realdashdev](https://forum.realdash.net/user_avatar/forum.realdash.net/realdashdev/32/6_2.png) [@realdashdev](https://forum.realdash.net/u/realdashdev)\
**Post date:** [August 9, 2022, 11:19am UTC](https://forum.realdash.net/t/found-bug-in-aem-v2/1374/10 "2022-08-09T11:19:40Z")

</div>

I will change the RPM multiplier to 100 for next release.

---

<div class="post-metadata">

**Author:** ![Admanirv](https://forum.realdash.net/letter_avatar_proxy/v4/letter/a/898d66/32.png) [@Admanirv](https://forum.realdash.net/u/Admanirv)\
**Post date:** [August 9, 2022, 11:51am UTC](https://forum.realdash.net/t/found-bug-in-aem-v2/1374/11 "2022-08-09T11:51:08Z")

</div>

Hi ok I am paid member I can test a beta if you want?

There’s are few other items missing that could be assigned to variables that come in the packet such as battery etc.

Thanks

---

<div class="post-metadata">

**Author:** ![Admanirv](https://forum.realdash.net/letter_avatar_proxy/v4/letter/a/898d66/32.png) [@Admanirv](https://forum.realdash.net/u/Admanirv)\
**Post date:** [August 25, 2022, 10:52pm UTC](https://forum.realdash.net/t/found-bug-in-aem-v2/1374/12 "2022-08-25T22:52:19Z")

</div>

> [@](#):
>
> I will change the RPM multiplier to 100 for next release.

Hi, was this changed in the latest version release?

Thanks

---

<div class="post-metadata">

**Author:** ![realdashdev](https://forum.realdash.net/user_avatar/forum.realdash.net/realdashdev/32/6_2.png) [@realdashdev](https://forum.realdash.net/u/realdashdev)\
**Post date:** [August 26, 2022, 5:55am UTC](https://forum.realdash.net/t/found-bug-in-aem-v2/1374/13 "2022-08-26T05:55:50Z")

</div>

Yes, RPM multiplier has been changed as discussed.

---

<div class="post-metadata">

**Author:** ![Admanirv](https://forum.realdash.net/letter_avatar_proxy/v4/letter/a/898d66/32.png) [@Admanirv](https://forum.realdash.net/u/Admanirv)\
**Post date:** [August 26, 2022, 11:21am UTC](https://forum.realdash.net/t/found-bug-in-aem-v2/1374/14 "2022-08-26T11:21:44Z")

</div>

Ok thanks I’ll test

---

<div class="post-metadata">

**Author:** ![Admanirv](https://forum.realdash.net/letter_avatar_proxy/v4/letter/a/898d66/32.png) [@Admanirv](https://forum.realdash.net/u/Admanirv)\
**Post date:** [August 26, 2022, 10:23pm UTC](https://forum.realdash.net/t/found-bug-in-aem-v2/1374/15 "2022-08-26T22:23:02Z")

</div>

> [@](#):
>
> Yes, RPM multiplier has been changed as discussed.

Ok rpm seems to work correctly now however, there is spark advance broken and few other variables not reading/mapped correctly. I have a screenshot and can help with mapping/format.

 ![20220826_162037.jpg](https://forum.realdash.net/uploads/default/original/1X/60ab1f1d25340346ff0e7a674926b1f546f543a0.jpeg)

---

<div class="post-metadata">

**Author:** ![realdashdev](https://forum.realdash.net/user_avatar/forum.realdash.net/realdashdev/32/6_2.png) [@realdashdev](https://forum.realdash.net/u/realdashdev)\
**Post date:** [August 29, 2022, 6:10am UTC](https://forum.realdash.net/t/found-bug-in-aem-v2/1374/16 "2022-08-29T06:10:01Z")

</div>

Can you link any documentation that should be correct for AEM v2?

---

<div class="post-metadata">

**Author:** ![Admanirv](https://forum.realdash.net/letter_avatar_proxy/v4/letter/a/898d66/32.png) [@Admanirv](https://forum.realdash.net/u/Admanirv)\
**Post date:** [August 30, 2022, 7:45pm UTC](https://forum.realdash.net/t/found-bug-in-aem-v2/1374/17 "2022-08-30T19:45:42Z")

</div>

> [@](#):
>
> Can you link any documentation that should be correct for AEM v2?

Hi,

Sure, these are the default settings so providing everyone uses this which they should it’ll work for everyone.

Here is the screenshot for default setting and also attached PDF format showing byte data and format’s i think this will be of most benefit to you.

Thanks

 ![out2.png](https://forum.realdash.net/uploads/default/original/1X/cb0fb940e1927bcffe08015ff6b09ffa0b0e5ea7.png)  
 ![out1.png](https://forum.realdash.net/uploads/default/original/1X/ce23b49f31d1a63b1977a000d1f3f172ae1ad3ed.png)  
 ![Serialdefault.png](https://forum.realdash.net/uploads/default/original/1X/5815df6a3ad2b0b8628b433cdc97c36700e2e809.png)

---

<div class="post-metadata">

**Author:** ![realdashdev](https://forum.realdash.net/user_avatar/forum.realdash.net/realdashdev/32/6_2.png) [@realdashdev](https://forum.realdash.net/u/realdashdev)\
**Post date:** [August 31, 2022, 7:44am UTC](https://forum.realdash.net/t/found-bug-in-aem-v2/1374/18 "2022-08-31T07:44:46Z")

</div>

Is there no MAP sensor info, or is it one of the ADC channels?

I see that per this document temperatures come in as Celsius, but currently code is expecting Fahrenheit. Is that your observation that temperatures are currently wrong?

---

<div class="post-metadata">

**Author:** ![Admanirv](https://forum.realdash.net/letter_avatar_proxy/v4/letter/a/898d66/32.png) [@Admanirv](https://forum.realdash.net/u/Admanirv)\
**Post date:** [August 31, 2022, 12:51pm UTC](https://forum.realdash.net/t/found-bug-in-aem-v2/1374/19 "2022-08-31T12:51:11Z")

</div>

Engine load is map sensor this works fine at the moment it’s boost variable in realdash.

Temperature is in Celsius and works fine. Maf isn’t used on my car I don’t think the ecu even supports it would be better to reassign this to adcd14 (which can be oil pressure), I think you have maf set as tps! Battery voltage doesn’t work nor does pulse width, spark table and duty cycle. I’d assign pulse width to another adcr which can be oil temp. There is the ability to change the channel/bytes assignment to whatever you want but since you have hard coded no good, or better I can assign most of common values people are interested in and give you the above output byte parameters again but with meaningful alias names ? I can send you email if easier? I’m sure we have spoken before.

Thanks

---

<div class="post-metadata">

**Author:** ![Admanirv](https://forum.realdash.net/letter_avatar_proxy/v4/letter/a/898d66/32.png) [@Admanirv](https://forum.realdash.net/u/Admanirv)\
**Post date:** [November 9, 2022, 2:44pm UTC](https://forum.realdash.net/t/found-bug-in-aem-v2/1374/20 "2022-11-09T14:44:39Z")

</div>

Hi are there any changes implemented in latest release?

Thanks

[Next page](https://forum.realdash.net/t/found-bug-in-aem-v2/1374.md?page=2)
