Page 1 of 1

[SOLVED]Fatal error: angle NaN ...

Posted: Thu May 24, 2018 1:23 pm
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 .

Re: Fatal error: angle NaN ...

Posted: Thu May 24, 2018 3:55 pm
by kb1gtt
Do you have a scope? Can you verify the signal is getting to the discovery correctly?

Re: Fatal error: angle NaN ...

Posted: Thu May 24, 2018 4:29 pm
by hossein
No i do not have scope, I checked the board without frankenstein and the error is the same.

Re: Fatal error: angle NaN ...

Posted: Fri May 25, 2018 2:15 am
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.

Re: Fatal error: angle NaN ...

Posted: Fri May 25, 2018 3:59 am
by hossein
The message belongs to two latest versions.

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

Posted: Sat May 26, 2018 7:02 am
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 ;)

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

Posted: Sat May 26, 2018 9:12 am
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.