Am I sure about what exactly? I am pretty sure - and you are quoting the right source code file, so yes. Please note that RX/TX naming is one way on discovery end and the opposite way on the USB/TTL device, because TX&RX depends on where you look from - from stm side or from usb/ttl side. It's a bit confusing.acab wrote:you sure?
Connectivity overview & build-in commands
- AndreyB
- Site Admin
- Posts: 14327
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Connectivity overview & build-in commands
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: 14327
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Connectivity overview & build-in commands
new commands:
fuelinfo shows injection pulse width for current rpm and engine load
fuelinfo2 RPM ENGINE_LOAD (for example fuelinfo2 2000 2) shows injection pulse width for current rpm and engine load
fuelinfo shows injection pulse width for current rpm and engine load
fuelinfo2 RPM ENGINE_LOAD (for example fuelinfo2 2000 2) shows injection pulse width for current rpm and engine load
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
- Tambralinga
- donator
- Posts: 174
- Joined: Wed Jun 18, 2014 8:36 am
- Location: Bangkok, Thailand
Re: Connectivity overview & build-in commands
E4ODnut wrote:Good. Glad to be of assistance. I see your additions so I'll play around with them.
I've also written up a bit of a ".hex file loading cheat sheet" for my own use, but maybe it could be incorporated into some more comprehensive instructions.
How to get and load the latest rusEFI .hex file:
1: - Go to the rusEFI.com web site
2: - Click the “Manual-Software” button. This brings up a software manual page. In the line of text “once you get the brain board you will need to program it with the rusEFI firmware binary file. More about that here”.
3: - Click “here” link. This brings you to the thread “Setting up the board with pre-compiled binaries” This thread has instructions on how to download and use the STM32 ST-Link Utility with which to load the .hex file into Discovery.
4: - In the first line in the first post of the thread, click the “build-server” link. This brings up a link to the rusEFI consol.jar and rusEFI firmware.zip.
rusEFI consol is a utility that you can use to communicate with Discovery. It can live at whatever location you download it to. A shortcut on your desktop will allow you to run it from your desktop.
rusEFI firmware.zip contains the latest firmware .hex file and configuration settings for Tuner Studio. Create a folder for rusEFI stuff and unzip it here.
5: - To load the file into Discovery connect both the power and communication USB cables to your computer. Open the STM32 ST-Link Utility. Go to “File” . “Open” and select the .hex file in your rusEFI folder. Click the “Program and Verify” button. The process takes several seconds and if successful will report so on the screen.
That’s it.
Hey man,
I'm newbies for the rusEFI and I follow 5: step via Discovery board.
Connect to that new serial port @ 115200 with 8/N/1 no flow control.
I got the results form microUSB. but I cannot got the result from directly from PC10,PC11.
And same problem, cannot connect to Tuning Studio. It return message connection fail!!
What am I doing wrong?
PS. rusefi.ini followed link...
http://sourceforge.net/p/rusefi/code/HEAD/tree/firmware_archive/rusefi.20140702_3817.hex
Thanks.
Skype : shiva-p
+66 8 5357 5159
+66 8 5357 5159
- AndreyB
- Site Admin
- Posts: 14327
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Connectivity overview & build-in commands
It's my fault - it is currently set to 38400. I guess I should get it back to 115200 one day soon, but for now it's going to be 38400.Tambralinga wrote: Connect to that new serial port @ 115200 with 8/N/1 no flow control.
I got the results form microUSB. but I cannot got the result from directly from PC10,PC11.
I've created http://rusefi.com/wiki/index.php?title=Manual:Software:TunerStudio_connectivity with a summary so that you do not have to look around on the forum.
The current files are always in http://rusefi.com/build_server/rusefi_firmware.zipTambralinga wrote: PS. rusefi.ini followed link...
http://sourceforge.net/p/rusefi/code/HEAD/tree/firmware_archive/rusefi.20140702_3817.hex
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: 14327
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Connectivity overview & build-in commands
http://rusefi.com/wiki/index.php?title=Development:Software:connectivity would host the general connectivity Q&A.
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: 14327
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Connectivity overview & build-in commands
While using the simulator you have some special commands to control virtual sensor voltage - that's the fake voltage with the logic would decode according to the settings.
There is also a way to apply the values using the dev console UI - double-click on a gauge and you will get a spinner which allows changing the values.
where X is a value between 0.0 and 5.0set_mock_iat_voltage X
set_mock_maf_voltage X
set_mock_afr_voltage X
set_mock_tps_voltage X
set_mock_map_voltage X
There is also a way to apply the values using the dev console UI - double-click on a gauge and you will get a spinner which allows changing the values.
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: 14327
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Connectivity overview & build-in commands
egtinfo
set_egt_spi X
for example
set_egt_spi 3 would set EGT to SPI3
set_egt_cs_pin X Y
for example
set_egt_cs_pin 0 PD10
would set EGT channel #8 chip select line to pin PD10
set_egt_spi X
for example
set_egt_spi 3 would set EGT to SPI3
set_egt_cs_pin X Y
for example
set_egt_cs_pin 0 PD10
would set EGT channel #8 chip select line to pin PD10
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: 14327
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Connectivity overview & build-in commands
get_float OFFSET
get_int OFFSET
set_float OFFSET VALUE
this commands allow you to access any given part of the configuration if you know the offset, which you can probably find inside rusefi.ini
for example
get_float 524
get_int 4
set_float 524 10000
get_int OFFSET
set_float OFFSET VALUE
this commands allow you to access any given part of the configuration if you know the offset, which you can probably find inside rusefi.ini
for example
get_float 524
get_int 4
set_float 524 10000
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: Connectivity overview & build-in commands
wow! this adds flexibility!
what about set_int offset value? %-)
are these new values applied immediately? is write_config needed to save the changes?
some explanation on finding offset from the rusefi.ini would also be nice…
what about set_int offset value? %-)
are these new values applied immediately? is write_config needed to save the changes?
some explanation on finding offset from the rusefi.ini would also be nice…
- AndreyB
- Site Admin
- Posts: 14327
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Connectivity overview & build-in commands
It is obvious that you have not yet opened rusefi.ini in notepadpuff wrote:some explanation on finding offset from the rusefi.ini would also be nice…
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