[SOLVED]Fatal error: angle NaN ...

Hardware inside and outside of the ECU
Post Reply
hossein
Posts: 47
Joined: Mon Apr 10, 2017 8:10 am

[SOLVED]Fatal error: angle NaN ...

Post by hossein »

During I was testing fuel table config on my engine, and after 10 minutes, The ecu showed critical signs.
No trigger and so no ignition &| injection
injectors & coils are working properly, but there is no reaction to signal cran- it is working , 3-0 volts in trigger -
And i see Fatal error : angle NaN getAdvance in console and after reprogramming chip with latest release even just discovery board was connected to pc .
What this error exactly is ? Should i repair/fix discovery board ?
Thanks .
Attachments
Fatal error angle NaN getAdvance
Fatal error angle NaN getAdvance
Screenshot_20180524_173123.png (83.79 KiB) Viewed 5577 times
Last edited by hossein on Sat May 26, 2018 6:55 am, edited 1 time in total.
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: Fatal error: angle NaN ...

Post by kb1gtt »

Do you have a scope? Can you verify the signal is getting to the discovery correctly?
Welcome to the friendlier side of internet crazy :)
hossein
Posts: 47
Joined: Mon Apr 10, 2017 8:10 am

Re: Fatal error: angle NaN ...

Post by hossein »

No i do not have scope, I checked the board without frankenstein and the error is the same.
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Fatal error: angle NaN ...

Post by AndreyB »

I am pretty sure your discovery is fine - I bet this is a software defect. I suspect it only happens sometimes which unfortunatelly makes it a bit harder to fix :(

I've just improved the message a bit, let me know if you get a new message with new version of the firmware.
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
hossein
Posts: 47
Joined: Mon Apr 10, 2017 8:10 am

Re: Fatal error: angle NaN ...

Post by hossein »

The message belongs to two latest versions.
hossein
Posts: 47
Joined: Mon Apr 10, 2017 8:10 am

Re: [SOLVED]Fatal error: angle NaN ...

Post by hossein »

After 4-5 hours -dedicated - and reading some articles, I found what just happened.
The configuration of My engine was wrong.
I'd tried to fully erase chip and i failed - every time - so i decided to upgrade my stlink app and chip repogrammed successfully and now ! the blue led is on.
After that i plugged board to my laptop and i find the config of my engine is wrong and turns my ecu to error mod ...
I am working on my config .

Thanks
kb1gtt & Russian ;)
User avatar
kb1gtt
contributor
contributor
Posts: 3758
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA

Re: [SOLVED]Fatal error: angle NaN ...

Post by kb1gtt »

Good to hear you got it working, and good to hear that PC software update is an item we should suggest if we see this in the future. Thanks for the feedback.
Welcome to the friendlier side of internet crazy :)
Post Reply