[help needed] Firmware version Proteus F7
-
- Posts: 13
- Joined: Sun May 16, 2021 5:16 pm
- Github Username: biohazardav
Firmware version Proteus F7
I recently bought a Proteus off ebay to start a project on my Volvo s60. I'm having trouble finding a working release of firmware for this board. Its labeled:
rusEFI Proteus F7
v0.6 march 2021
CPU is STM32F767ZGT6
I attempted using the:
2021 May Proteus QC builds
and i also tried the April build MALBEC rusefi_bundle_proteus_f7.zip
I keep having issues with getting tuner studio to even write any changes when using these firmwares and i keep getting a error referring to the flash.
I've been messing with it for a couple days now and i cant quite figure out if im having a firmware issue/software issue, hardware issue or just my own human error.
rusEFI Proteus F7
v0.6 march 2021
CPU is STM32F767ZGT6
I attempted using the:
2021 May Proteus QC builds
and i also tried the April build MALBEC rusefi_bundle_proteus_f7.zip
I keep having issues with getting tuner studio to even write any changes when using these firmwares and i keep getting a error referring to the flash.
I've been messing with it for a couple days now and i cant quite figure out if im having a firmware issue/software issue, hardware issue or just my own human error.
- AndreyB
- Site Admin
- Posts: 14334
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware version Proteus F7
Welcome to the forum! Congrats on being first Proteus 0.6 user
Will create a release with proper F7 today and update links to night builds.
Will create a release with proper F7 today and update links to night builds.
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
-
- Posts: 13
- Joined: Sun May 16, 2021 5:16 pm
- Github Username: biohazardav
Re: Firmware version Proteus F7
Thanks! This will be my first dive into rusEFI . I don't normally make posts but im glad i did because i didn't know i was the first .6 user! Also do you recommend getting a st-link programmer or is the onboard usb adequate?
-
- running engine in first post
- Posts: 1494
- Joined: Mon Jan 30, 2017 2:05 am
- Location: Seattle-ish
Re: Firmware version Proteus F7
Onboard USB is perfectly adequate for normal firmware updates.
- AndreyB
- Site Admin
- Posts: 14334
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware version Proteus F7
We now have https://github.com/rusefi/rusefi/releases/tag/2021.05.16_release which supports your chip.
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: 14334
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware version Proteus F7
What year s60? Any chance you want to start a thread with a picture? Is that a road racing vehicle or else?biohazardav wrote: ↑Sun May 16, 2021 5:26 pmI recently bought a Proteus off ebay to start a project on my Volvo s60.
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
-
- Posts: 13
- Joined: Sun May 16, 2021 5:16 pm
- Github Username: biohazardav
Re: Firmware version Proteus F7
So I tried the packages in this picture below:
And it gives me this error with either one, also this is the same error that I've gotten with some of the other precompiled bundles. I also noticed that I cant seem to change the tune at all. Any write commands don't seem to work. fault only occurs once I load tunerstudio.
It's just a tinker project at the moment but I work at a Volvo dealer and have a s60R that I've been wanting to play with the new dual vvt and DBW and want to see how difficult it would be to build a sort of PNP system that wouldn't require me building another harness but rather just stick with the factory one entirely and if it works well I have a bunch of spare 5 cylinders in their stock form i have been feeling the urge to swap into some older chassis i have laying around.-
- Posts: 13
- Joined: Sun May 16, 2021 5:16 pm
- Github Username: biohazardav
Re: Firmware version Proteus F7
IF all goes well I might buy a efr7670 and start a build thread on my s60R but currently im helping some locals with some standalones and also finally getting my volvo 240 b234ft build some love .
- AndreyB
- Site Admin
- Posts: 14334
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware version Proteus F7
"QC special build" is failing to communicate "please do not touch me I am special quality control build that's not what real users should be using"
@mck1117 ideas?
@mck1117 ideas?
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: 14334
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware version Proteus F7
https://github.com/rusefi/rusefi/issues/2711 is for the error in the error message which is totally not the root cause of your error
mck1117 this unit was switched to proper nDBANK settings since it has departed with a not failing non-QC snapshot build.
mck1117 this unit was switched to proper nDBANK settings since it has departed with a not failing non-QC snapshot build.
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: 14334
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware version Proteus F7
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
-
- contributor
- Posts: 94
- Joined: Sat Jul 19, 2014 10:43 pm
- Location: 67867
- Github Username: chuckwagoncomputing
- Slack: dbh97
Re: Firmware version Proteus F7
FWIW I'm getting the same error.
-
- running engine in first post
- Posts: 1494
- Joined: Mon Jan 30, 2017 2:05 am
- Location: Seattle-ish
Re: Firmware version Proteus F7
Ok, there's a bug in math we use to calculate which flash sector to erase on the 1MB STM32F7 chips. Will have a fix out shortly!
-
- Posts: 13
- Joined: Sun May 16, 2021 5:16 pm
- Github Username: biohazardav
Re: Firmware version Proteus F7
So thats what i originally thought as i saw some communication about that regarding the f7 vs f4 chips but I still lack a lot of understanding of this architecture. That's partly what made me think i needed a st-link programmer because i came across this page looking for key words about this dual bank system?:
https://wiki.segger.com/STM32F7
How exactly does that work? so the "tune" portion is written to separate memory locations at the same time for redundancy, is that what im understanding? I just managed to get the code to compile on my machine early today cause i thought maybe there was a build target directly for this chip that i could compile but I'm a very limited in knowledge on some of this stuff and trying desperately to fill the gaps in. managed to compile it but couldnt find a way to flash the ecu with my own binary, I'm guessing i need to understand the openocd CLI right? such a learning curve I apologize in advance...
https://wiki.segger.com/STM32F7
How exactly does that work? so the "tune" portion is written to separate memory locations at the same time for redundancy, is that what im understanding? I just managed to get the code to compile on my machine early today cause i thought maybe there was a build target directly for this chip that i could compile but I'm a very limited in knowledge on some of this stuff and trying desperately to fill the gaps in. managed to compile it but couldnt find a way to flash the ecu with my own binary, I'm guessing i need to understand the openocd CLI right? such a learning curve I apologize in advance...
- AndreyB
- Site Admin
- Posts: 14334
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware version Proteus F7
The biggest thing is the fact that you cannot just update 100 bytes on stm32f7 flash - you have to erase and write complete memory page and those are not your SD card 512 bytes pages, those are you to 512K pages - i.e. to update 100 bytes you have to really update all half a megabyte, and if power is turned off you corrupt all content not just your 100 bytes.biohazardav wrote: ↑Mon May 17, 2021 5:35 amHow exactly does that work? so the "tune" portion is written to separate memory locations at the same time for redundancy, is that what im understanding?
To make things more reliable yes we update two clones of tune in two of these pages. Thus we need to know position of those two for all chips we support. Because of chip shortage drama we had no choice but to fabricate 0.6 with a version of stm32 we have not used previously. It comes with minor differences we have not paged proper attention at. We did not handle this 0.6 to my own satisfaction, you should not be the one reporting issues that trivial Somehow I was able to get my not default v12 tune into both of these units you and David have so I am a bit puzzled on what's the defect but seems like we have one
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: 1494
- Joined: Mon Jan 30, 2017 2:05 am
- Location: Seattle-ish
Re: Firmware version Proteus F7
The first flash works - subsequent erase operations don't work. The first one looks like it worked because it was already erased, but the next erase didn't work. We were erasing the wrong page on 1MB devices. Part way fixed, will PR tomorrow (Monday) probably.
-
- Posts: 13
- Joined: Sun May 16, 2021 5:16 pm
- Github Username: biohazardav
Re: Firmware version Proteus F7
that explains a lot because all of the suggested firmware does succeed in uploading and operation but the moment tuner studio connects and attempts a page burn the unit begins to complain.
- AndreyB
- Site Admin
- Posts: 14334
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Firmware version Proteus F7
We have a change! Please try https://rusefi.com/build_server/rusefi_bundle_proteus_f7.zip
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: 1494
- Joined: Mon Jan 30, 2017 2:05 am
- Location: Seattle-ish
Re: Firmware version Proteus F7
Yes, finally sussed out all the problems with the 1MB F7, should work perfect now!
-
- Posts: 13
- Joined: Sun May 16, 2021 5:16 pm
- Github Username: biohazardav
Re: Firmware version Proteus F7
That did it! Ill go ahead and print a case and get rockin with this thing.
-
- running engine in first post
- Posts: 1494
- Joined: Mon Jan 30, 2017 2:05 am
- Location: Seattle-ish
Re: Firmware version Proteus F7
Excellent!biohazardav wrote: ↑Wed May 19, 2021 4:41 amThat did it! Ill go ahead and print a case and get rockin with this thing.