TB config error: GM-SENT, latest Discovery_F407 FW

It's all about the code!
Post Reply
tmbryhn
Posts: 178
Joined: Wed Feb 12, 2020 2:40 am
Location: Norway

TB config error: GM-SENT, latest Discovery_F407 FW

Post by tmbryhn »

I'm trying to get GM SENT ETB to work on the latest Discovery_F407 release on custom hardware running STM32F405RGT6.
Everything else has worked flawlessly on FW versions from 2024.

After setting up the accelerator and defining all the ETB and SENT parameters, I get the following error:
SENT TB error.png
Download link to .MSQ:


I get no error when I define two conventional analog inputs for the TPS (everything else being equal), so it seems to me that we're dealing with a config logic bug. I've successfully run this ETB on older firmware from 2024 with no config errors, albeit with glitchy TPS values which is why I'm trying to update the FW as I've been told that handling of SENT protocol has gone through some improvements.




Hope we can solve this issue. Thanks.
You do not have the required permissions to view the files attached to this post.
User avatar
Dron_Gus
contributor
contributor
Posts: 480
Joined: Wed Nov 13, 2013 1:11 pm
Location: S-Pb
Github Username: dron0gus

Re: TB config error: GM-SENT, latest Discovery_F407 FW

Post by Dron_Gus »

I'll try to reproduce your issue. We did some touches around etb recently. May be I broke something.
tmbryhn
Posts: 178
Joined: Wed Feb 12, 2020 2:40 am
Location: Norway

Re: TB config error: GM-SENT, latest Discovery_F407 FW

Post by tmbryhn »

Thanks for the swift reply. That's awesome :D
User avatar
Dron_Gus
contributor
contributor
Posts: 480
Joined: Wed Nov 13, 2013 1:11 pm
Location: S-Pb
Github Username: dron0gus

Re: TB config error: GM-SENT, latest Discovery_F407 FW

Post by Dron_Gus »

Can not reproduce on uaefi.
You do not have the required permissions to view the files attached to this post.
User avatar
AndreyB
Site Admin
Posts: 14727
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: TB config error: GM-SENT, latest Discovery_F407 FW

Post by AndreyB »

Dron_Gus wrote:
Sun May 25, 2025 10:01 pm
Can not reproduce on uaefi.
are you using snapshot or cancelled 0427 release? that's one obvious difference between the setups. I guess another difference is uaefi vs discovery?
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
tmbryhn
Posts: 178
Joined: Wed Feb 12, 2020 2:40 am
Location: Norway

Re: TB config error: GM-SENT, latest Discovery_F407 FW

Post by tmbryhn »

Seems this is a Discovery specific issue. I tried nightly build a couple of days ago with same result.
Ie; I think you'd need to run Discovery to reproduce the error.
User avatar
AndreyB
Site Admin
Posts: 14727
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: TB config error: GM-SENT, latest Discovery_F407 FW

Post by AndreyB »

current discovery does seem to have EFI_SENT_SUPPORT=TRUE probably because it no longer fits

just fixed the confusion by hiding it from TS https://github.com/rusefi/rusefi/commit/aef69b99ae5ba5cbc9ce7dee7e896f8cbc84fa37
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
tmbryhn
Posts: 178
Joined: Wed Feb 12, 2020 2:40 am
Location: Norway

Re: TB config error: GM-SENT, latest Discovery_F407 FW

Post by tmbryhn »

Thanks for the fix :)
Should I download snapshot or nightly for test?
User avatar
AndreyB
Site Admin
Posts: 14727
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: TB config error: GM-SENT, latest Discovery_F407 FW

Post by AndreyB »

tmbryhn wrote:
Mon May 26, 2025 6:53 pm
Thanks for the fix :)
Should I download snapshot or nightly for test?
what is the URL for snapshot? what is the URL for nightly?

i am fixing the confusion, not SENT on discovery
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
tmbryhn
Posts: 178
Joined: Wed Feb 12, 2020 2:40 am
Location: Norway

Re: TB config error: GM-SENT, latest Discovery_F407 FW

Post by tmbryhn »

Just downloaded the latest F407-Discovery snapshot, and not too surprisingly SENT TPS support has now been removed completely.

Is this a "work in progress" issue, or can I assume that SENT is gone from F407-Discovery forever and that I would need to compile a tailored configuration of the firmware to have SENT working on my custom hardware?
Some clarification would be much appreciated.
User avatar
AndreyB
Site Admin
Posts: 14727
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: TB config error: GM-SENT, latest Discovery_F407 FW

Post by AndreyB »

SENT is gone from F407-Discovery.
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
tmbryhn
Posts: 178
Joined: Wed Feb 12, 2020 2:40 am
Location: Norway

Re: TB config error: GM-SENT, latest Discovery_F407 FW

Post by tmbryhn »

Thanks for the clarification.
tmbryhn
Posts: 178
Joined: Wed Feb 12, 2020 2:40 am
Location: Norway

Re: TB config error: GM-SENT, latest Discovery_F407 FW

Post by tmbryhn »

While I'm in the process of compiling my own codebase and trying to get all of the required stuff set up; is there a chance that we could look into the reason for the ETB config error while SENT TPS is enabled so that I can get the engine setup working again on the latest Discovery firmware?
Post Reply