Firmware developent status
Re: Firmware developent status
Anything <=0 should be an error.
And log(x) == x should never be true for any number x.
And log(x) == x should never be true for any number x.
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
log(18000.0)==18000.02017-04-02 01_10: EngineState: FATAL error: Natural logarithm logf() is broken: 18000.00
2017-04-02 01_10: EngineState: FATAL error: Natural logarithm logf() is broken: 18000.00
2017-04-02 01_10: EngineState: FATAL error: Natural logarithm logf() is broken: 18000.00
2017-04-02 01_10: EngineState: FATAL error: Natural logarithm logf() is broken: 18000.00
2017-04-02 01_10: EngineState: FATAL error: Natural logarithm logf() is broken: 18000.00
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
Looks like this natural logarithm issue is caused by switching from softfp to hard. We are not doing something right I guess, rolling that change back for now.mobyfab wrote:You're using softfp in the Makefile, so it's not fully used.
It has to copy register data from regular to FP registers everytime you need FP.
See https://github.com/rusefi/rusefi/issues/375
See original ticket from a while back https://sourceforge.net/p/rusefi/tickets/149/
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
ChibiOS3 migration is pretty much done, looking for help with last step: anyone to start a real vehicle using http://rusefi.com/temp/test_chibios_3.zip ? Download/uncompress/flash and publish some log file if car runs fine?
My test mule is waiting for new alternator. Looks like alternators do not like to be excited while output wire is not hooked up.
My test mule is waiting for new alternator. Looks like alternators do not like to be excited while output wire is not hooked up.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
Firmware help needed: https://github.com/rusefi/rusefi/issues/382
that's an effort to migrate from three separate log entry namings in three different places to using the same constants everywhere by means of wider code generation. All the tools are ready, the remaining part is to actually go locate all the names and extract into the common file.
that's an effort to migrate from three separate log entry namings in three different places to using the same constants everywhere by means of wider code generation. All the tools are ready, the remaining part is to actually go locate all the names and extract into the common file.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
Major change: @ has migrated rusEfi to ChibiOS 3.1
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
new issue - "integration with TunerStudio: 3.0.20 and 3.0.21 something is broken" - 3.0.20 and 3.0.21 are pretty unuseable with rusEfi. I am emailing EFI Analytics
https://github.com/rusefi/rusefi/issues/403
Latest known good version http://tunerstudio.com/downloads2/TunerStudioMS_Setup_v3.0.18.exe
https://github.com/rusefi/rusefi/issues/403
Latest known good version http://tunerstudio.com/downloads2/TunerStudioMS_Setup_v3.0.18.exe
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
https://github.com/rusefi/rusefi/issues/403 closed - TS 3.0.22 fixes the issue
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
Yet another defect reported by @ fixed - https://github.com/rusefi/rusefi/issues/404
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
TunerStudio 3.0.22 knows rusEFI signature now - in a couple of weeks I will switch from older test signature into proper signature, this would mean everyone would need to migrate to 3.0.22 or newer to use rusEfi with TunerStudio.
Usability progress - version is now displayed in TunerStudio title.
Usability progress - version is now displayed in TunerStudio title.
- Attachments
-
- screenshot.png (33.99 KiB) Viewed 34361 times
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Firmware developent status
Small jump congratulations ...
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
https://github.com/rusefi/rusefi/issues/429 is an incompatible protocol change - you would have to use latest console or TS project with latest 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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
@ has discovered a bug in PID implementation - https://github.com/rusefi/rusefi/issues/435
It's about minValue/maxValue handing which is currently implemented by artifically setting iTerm to a funny value, even while iFactor is zero, which value then stays forever?!
https://github.com/rusefi/rusefi/blob/master/firmware/controllers/math/pid.cpp
and here is a unit test which shows wrong behaviour:
It's about minValue/maxValue handing which is currently implemented by artifically setting iTerm to a funny value, even while iFactor is zero, which value then stays forever?!
https://github.com/rusefi/rusefi/blob/master/firmware/controllers/math/pid.cpp
/**
* If we have exceeded the ability of the controlled device to hit target, the I factor will keep accumulating and approach infinity.
* Here we limit the I-term #353
*/
if (iTerm > pid->maxValue - (pTerm + dTerm + pid->offset))
iTerm = pid->maxValue - (pTerm + dTerm + pid->offset);
if (iTerm < pid->minValue - (pTerm + dTerm + pid->offset))
iTerm = pid->minValue - (pTerm + dTerm + pid->offset);
and here is a unit test which shows wrong behaviour:
Code: Select all
pidS.pFactor = 1;
pidS.iFactor = 0;
pidS.dFactor = 0;
pidS.offset = 0;
pidS.minValue = 0;
pidS.maxValue = 100;
pidS.period = 1;
pid.reset();
assertEqualsM("target=50, input=0", 50, pid.getValue(/*target*/50, /*input*/0));
assertEqualsM("target=50, input=0 iTerm", 0, pid.iTerm);
assertEqualsM("target=50, input=70", 0, pid.getValue(/*target*/50, /*input*/70));
assertEqualsM("target=50, input=70 iTerm", 20, pid.iTerm);
assertEqualsM("target=50, input=70 #2", 0, pid.getValue(/*target*/50, /*input*/70));
// WOW, we are getting non-zero iTerm while iFactor is zero?!
assertEqualsM("target=50, input=70 iTerm #2", 20, pid.iTerm);
// and now we inherit this iTerm even for cases where targer==input?! NOT RIGHT
assertEqualsM("target=50, input=50", 20, pid.getValue(/*target*/50, /*input*/50));
assertEqualsM("target=50, input=50 iTerm", 20, pid.iTerm);
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
Finally Lamborghini Diablo firing order https://github.com/rusefi/rusefi/commit/e4d883429f79744567cfd0ff42aaeebb7a191102
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Firmware developent status
It's not April's fool, is it?
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
I wanted to add mass storage drivers into the firmware for a while but I though that I've lost the working sample. I've found it!
Would anyone with a MAC try the sample firmware from ARMCM4-STM32F407-DISCOVERY-USB-MASS-STORAGE-SPI.zip from https://github.com/rusefi/rusefi/issues/140? That's without rusEfi but using rusEfi default SD card pinout.
Would anyone with a MAC try the sample firmware from ARMCM4-STM32F407-DISCOVERY-USB-MASS-STORAGE-SPI.zip from https://github.com/rusefi/rusefi/issues/140? That's without rusEfi but using rusEfi default SD card pinout.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
For first step my idea is two use the user button to switch between USB port modes: normal mode serial USB, is reset while holding button it would be mass storage instead.
Theoretically a composite device could be possible but that's above my current USB skills.
Theoretically a composite device could be possible but that's above my current USB skills.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
I did not realize that TS supports text fields!
- Attachments
-
- screenshot.png (83.37 KiB) Viewed 33840 times
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- Dron_Gus
- contributor
- Posts: 460
- Joined: Wed Nov 13, 2013 1:11 pm
- Location: S-Pb
- Github Username: dron0gus
Re: Firmware developent status
I can try implementing composite device. CDC + MSD.russian wrote:For first step my idea is two use the user button to switch between USB port modes: normal mode serial USB, is reset while holding button it would be mass storage instead.
Theoretically a composite device could be possible but that's above my current USB skills.
Re: Firmware developent status
This might help: https://github.com/fpoussin/MotoLink/blob/master/code/common/usb_config.cDron_Gus wrote:I can try implementing composite device. CDC + MSD.russian wrote:For first step my idea is two use the user button to switch between USB port modes: normal mode serial USB, is reset while holding button it would be mass storage instead.
Theoretically a composite device could be possible but that's above my current USB skills.
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
Another week of vacation
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
A lot of life in the way of firmware progress these days.
- Attachments
-
- max.JPG (1.08 MiB) Viewed 33300 times
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Firmware developent status
!!! congrats!!!
your first kid?
your first kid?
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
Thank you
It's complicated
It's complicated
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: Firmware developent status
Such a cute little one. Assuming that's yours and not a rental, your going to have allot less time in the near future.
Welcome to the friendlier side of internet crazy
Re: Firmware developent status
Congratulations!!
Re: Firmware developent status
Congrats!!
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
Making an incompatible configuration change today - https://github.com/rusefi/rusefi/issues/495
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
While I am not making too much progress these days, @ and @ are really pushing cold start and idle control forward!
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14373
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
Just migrated to latest stable ChibiOS - see https://github.com/rusefi/rusefi/issues/463
minor issue with it - need to fix https://github.com/rusefi/rusefi/issues/551 but that should be easy
minor issue with it - need to fix https://github.com/rusefi/rusefi/issues/551 but that should be easy
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute