Firmware developent status
Re: Firmware developent status
5ms timeout?
- AndreyB
- Site Admin
- Posts: 14564
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
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
there seems to be a 5 ms pause between these two bytes - could be a timeout
- AndreyB
- Site Admin
- Posts: 14564
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
So we both see two bytes on the wire yet my code fails to read at least one byte. At the moment I would be happy to just read one byte. Not sure how is that 5ms relevant for my current cry for help to read one byte
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
what's the schematics? which exactly wire is that? kline usually works at much higher levels (12v).
can it read bytes sent from usb-uart adapter?
can it read bytes sent from usb-uart adapter?
- AndreyB
- Site Admin
- Posts: 14564
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
Thank you!!! That's actually an amazing idea for me to try next.
It's https://github.com/rusefi/rusefi_documentation/raw/master/Hardware/Hellen/hellen125honda-a-schematic.pdf it already after the LIN transceiver so I show RX exactly how it goes into stm32. had to add a 1K pull-up since that's missing in the schematics at the moment
It's https://github.com/rusefi/rusefi_documentation/raw/master/Hardware/Hellen/hellen125honda-a-schematic.pdf it already after the LIN transceiver so I show RX exactly how it goes into stm32. had to add a 1K pull-up since that's missing in the schematics at the moment
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
"No LIN transceiver is fully compliant to the K-LINE, but compatible. You can see the difference from the document. So I think TJA1021 can work"
https://community.nxp.com/t5/MPC5xxx/TJA1021-K-LINE-compatibilty/td-p/550725
unfortunatelly, it's 403 for me.
https://community.nxp.com/t5/MPC5xxx/TJA1021-K-LINE-compatibilty/td-p/550725
unfortunatelly, it's 403 for me.
- AndreyB
- Site Admin
- Posts: 14564
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
rusEFI discovery, adafruit, secondary serial feature with perfect timing https://github.com/rusefi/rusefi/issues/5105 fix
9600 and 14400 works while 10400 does not work. Smells like uart configuration magic?!
9600 and 14400 works while 10400 does not work. Smells like uart configuration magic?!
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
10400 is not supported by some usb-uart converters... (that's why people prefer ft232)
- AndreyB
- Site Admin
- Posts: 14564
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
I got a chance to try my fake cheap eBay 16 channel logic analyzer! Looks like CP210x has performed as expected at 10400?
10400 9600
10400 9600
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
you can tell for sure by measuring the length of the start bit probably.
still, didn't get: it doesn't work even when bytes are sent from the usb-uart dongle? so, it's a firmware bug?
still, didn't get: it doesn't work even when bytes are sent from the usb-uart dongle? so, it's a firmware bug?
- AndreyB
- Site Admin
- Posts: 14564
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
As a test step I've decided to run proven and known to work TS protocol at 10400 not k-line connector. And at the moment TS protocol does NOT run at 10400 which makes me stretch my head and post https://forum.chibios.org/viewtopic.php?f=16&t=6194 wondering if I can blame stm32 or ChibiOS
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
-
- running engine in first post
- Posts: 1501
- Joined: Mon Jan 30, 2017 2:05 am
- Location: Seattle-ish
Re: Firmware developent status
please use a dedicated thread instead of clogging a pinned announcement thread
- AndreyB
- Site Admin
- Posts: 14564
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
What pinned thread? What announcement thread?
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: 14564
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
Wow just wow.
The fix for https://github.com/rusefi/rusefi/issues/5354 turned out to be https://github.com/rusefi/rusefi/commit/1e43299eab2b2af033cb79d03446dbf07e4bd2c3
F4 does not seem to care. F7 cares deeply but compiled only throws us under the train at -Os optimization level.
Kudos @dron_gus for fixing.
The fix for https://github.com/rusefi/rusefi/issues/5354 turned out to be https://github.com/rusefi/rusefi/commit/1e43299eab2b2af033cb79d03446dbf07e4bd2c3
F4 does not seem to care. F7 cares deeply but compiled only throws us under the train at -Os optimization level.
Kudos @dron_gus for fixing.
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: 14564
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
Daihatsu 4 cylinder cam trigger added https://github.com/rusefi/rusefi/wiki/All-Supported-Triggers#daihatsu
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: 14564
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
Anyone with a Bluetooth board interested to test https://github.com/rusefi/rusefi/issues/5927?
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: 14564
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
Time flies - it has been over three years since @mck1117 has contributed that amazing performance tracing!
@andreika has just fixed a defect reviving it and I've added a touch of usability.
I have some questions around high frequency CANbus processing with Lua let's see if PTrace would be the magic tool.
@andreika has just fixed a defect reviving it and I've added a touch of usability.
I have some questions around high frequency CANbus processing with Lua let's see if PTrace would be the magic tool.
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: 14564
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
@dbh97 has revamped the build scripts! I expect way less broken local proteus builds now.
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: 14564
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
ADC sample value just a bit above 12 bits, that's not what one would expect from stm32f7?
Do we have a wild memory overrun which just happens to touch ADC region? Are we not good at reading that ADC app note? Else?
That's https://github.com/rusefi/rusefi/issues/6376
Do we have a wild memory overrun which just happens to touch ADC region? Are we not good at reading that ADC app note? Else?
That's https://github.com/rusefi/rusefi/issues/6376
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: 14564
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
Status update:AndreyB wrote: ↑Mon Apr 22, 2024 11:49 pmADC sample value just a bit above 12 bits, that's not what one would expect from stm32f7?
Do we have a wild memory overrun which just happens to touch ADC region? Are we not good at reading that ADC app note? Else?
That's https://github.com/rusefi/rusefi/issues/6376
image.png
* finally I am able to reproduce on the bench, vehicle not required
* looks like SD card has to be logging for the issue to occur. Wow, we have some sort of a connection between SD card and ADC?!
* so far I can reproduce only on one type of PnP board
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: 14564
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware developent status
Another surprise - USB CDC ACM and 64 bytes transaction - https://forum.chibios.org/viewtopic.php?f=35&t=6395
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