AEM UEGO working in teraterm but not Nistune

Anything related to the AEM brand of wideband devices.

Moderator: Matt

sr20truck
Posts: 22
Joined: Tue Apr 28, 2009 11:28 am
Location: St Louis, Missouri
Contact:

AEM UEGO working in teraterm but not Nistune

Postby sr20truck » Mon Dec 11, 2017 1:51 pm

As the title states, I can get the wide band working in Tera Term (outputs as quick as the in car gauge) but not Nistune. I even got it to show the afr in Arduino serial monitor. I can see the proper afr in Nistune for a split second and then it times out. I tried using the Arduino sketch for an UNO you provide in order to emulate an A/D converter with the white wire instead and that just crashes Windows 10 when I hit connect. I read through all the documentation and topics yet this wide band issue seems unresolved. Any word? My other car uses an Innovate and works just fine with Nistune. Good grounds confirmed. Any input would be great.

edit: this wide band unit was purchased in 2009 back when I initially purchased Nistune. I'm not sure of the model number but it is digital and only a wide band. It did work years ago in earlier versions of Nistune.

Matt
Site Admin
Posts: 7752
Joined: Sun Jan 29, 2006 1:45 am
Location: Adelaide, Australia
Contact:

Re: AEM UEGO working in teraterm but not Nistune

Postby Matt » Tue Dec 12, 2017 7:06 pm

1. AEM UEGO

Please provide a debug log and post here (I can check it out).

File > Configuration > Debug logging, then restart Nistune, connect AEM UEGO only several times (not consult) and then close Nistune and post log here

2. DLP converter crash

So connecting to Arduino crashes straight away when connecting? Which version? Did you send a crash log?

sr20truck
Posts: 22
Joined: Tue Apr 28, 2009 11:28 am
Location: St Louis, Missouri
Contact:

Re: AEM UEGO working in teraterm but not Nistune

Postby sr20truck » Sat Dec 16, 2017 1:46 am

Here is the log as requested with several attempts at connecting to the AEM Uego.

I will have to work on getting that crash log for the Arduino dlp a/d device. I get a black screen and instant reboot when I hit connect for it.
Attachments
nistune-1215-0840.log
(17.03 KiB) Downloaded 3 times

Matt
Site Admin
Posts: 7752
Joined: Sun Jan 29, 2006 1:45 am
Location: Adelaide, Australia
Contact:

Re: AEM UEGO working in teraterm but not Nistune

Postby Matt » Tue Dec 19, 2017 10:21 am

If it is rebooting then there is a driver issue. Is the Arduino a geuine unit, or a knock off (like from ebay etc)?

Most of the knock offs use counterfeit FTDI etc USB chipsets. Basically it is not Nistune causing the system crash, but the hardware/driver

Matt
Site Admin
Posts: 7752
Joined: Sun Jan 29, 2006 1:45 am
Location: Adelaide, Australia
Contact:

Re: AEM UEGO working in teraterm but not Nistune

Postby Matt » Tue Dec 19, 2017 10:23 am

14:40:59.933 ReadLoop: RemainingWaitBytes 0 WaitBytes 6, Available 6
14:40:59.933 getArray RX bytes: 31 38 2E 34 0D 0A []
14:40:59.933 BufferRX: 18.4
14:40:59.933 Converted AFR: 18.400000
14:40:59.933 PollRead()
14:40:59.933 ReadLoop(): ThreadSleepTime: 30
14:40:59.965 HandleNoData(): Counter: 1
14:40:59.965 PollRead()
14:40:59.965 ReadLoop(): ThreadSleepTime: 30
14:40:59.996 HandleNoData(): Counter: 2
14:40:59.996 PollRead()
14:40:59.996 ReadLoop(): ThreadSleepTime: 30
14:41:00.027 HandleNoData(): Counter: 3
14:41:00.027 PollRead()
14:41:00.027 ReadLoop(): ThreadSleepTime: 30
14:41:00.057 HandleNoData(): Counter: 4
14:41:00.057 PollRead()
14:41:00.057 ReadLoop(): ThreadSleepTime: 30
14:41:00.089 HandleNoData(): Warning Exceeded 5 counter for 0 bytes


It is receiving the data (18.4) but at a slow rate maybe? I'll increase the sleep timeouts and see how that goes (next release)

iyarovoy
Posts: 9
Joined: Wed Dec 23, 2015 3:47 pm

Re: AEM UEGO working in teraterm but not Nistune

Postby iyarovoy » Sat Dec 23, 2017 6:48 am

Matt wrote:
14:40:59.933 ReadLoop: RemainingWaitBytes 0 WaitBytes 6, Available 6
14:40:59.933 getArray RX bytes: 31 38 2E 34 0D 0A []
14:40:59.933 BufferRX: 18.4
14:40:59.933 Converted AFR: 18.400000
14:40:59.933 PollRead()
14:40:59.933 ReadLoop(): ThreadSleepTime: 30
14:40:59.965 HandleNoData(): Counter: 1
14:40:59.965 PollRead()
14:40:59.965 ReadLoop(): ThreadSleepTime: 30
14:40:59.996 HandleNoData(): Counter: 2
14:40:59.996 PollRead()
14:40:59.996 ReadLoop(): ThreadSleepTime: 30
14:41:00.027 HandleNoData(): Counter: 3
14:41:00.027 PollRead()
14:41:00.027 ReadLoop(): ThreadSleepTime: 30
14:41:00.057 HandleNoData(): Counter: 4
14:41:00.057 PollRead()
14:41:00.057 ReadLoop(): ThreadSleepTime: 30
14:41:00.089 HandleNoData(): Warning Exceeded 5 counter for 0 bytes


It is receiving the data (18.4) but at a slow rate maybe? I'll increase the sleep timeouts and see how that goes (next release)


Im seeing the same issue but with PLX devices AFR. See my post viewtopic.php?f=31&p=25905#p25905

Matt
Site Admin
Posts: 7752
Joined: Sun Jan 29, 2006 1:45 am
Location: Adelaide, Australia
Contact:

Re: AEM UEGO working in teraterm but not Nistune

Postby Matt » Mon Dec 25, 2017 9:00 pm

Yes I have seen that one also. Once again I believe a timeout issue

Previously serial timeouts were not working, so I added code to enforce stricter timeouts, which has stopped some devices (AEM/PLX) functioning. I will work on this in next day or two and make a fix and new release

Matt
Site Admin
Posts: 7752
Joined: Sun Jan 29, 2006 1:45 am
Location: Adelaide, Australia
Contact:

Re: AEM UEGO working in teraterm but not Nistune

Postby Matt » Fri Dec 29, 2017 8:59 am

AEM UEGO works fine now in latest version 1.2.80

Repeated arduino with DLP code test here (and also real DLP) with 1.2.79 and works fine. As before, I suspect problematic drivers with the arduino


Return to “AEM”

Who is online

Users browsing this forum: No registered users and 1 guest