RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Sat Feb 21, 2026 10:23 pm

All times are UTC




Post new topic Reply to topic  [ 73 posts ]  Go to page Previous  1, 2, 3, 4, 5
Author Message
 Post subject: Re: FastECU development
PostPosted: Mon Jul 15, 2024 6:24 am 
Offline
RomRaider Donator

Joined: Fri Aug 26, 2016 8:21 am
Posts: 154
MiikaS wrote:
Is it possible for all quys to use QtCreator/qmake for these projects as it simplifies and keeps it consistent? And have fixed folder structure.

For FastECU I have simple structure like this:
FastECU-OEM for all stuff, under that has folders:
FastECU
FastECU-Linux
FastECU-Win

Where FastECU contains sources and others are shadow build dirs that has FastECU data folders also (config, kernels etc.). So when switching machine/arch you have always everything setup, just compile and run without hassle.


I moved all things related to serial communication to serial_port directory because there's 14 files that provide serial port operation. You enter the dir and you know that all that files are hardware related and you don't have to search through the whole dir. That was the only reason. If you think that it's not right, I'll move them back, although I think it clutters up the home dir.

_________________
2Boost Subaru mod


Top
 Profile  
 
 Post subject: Re: FastECU development
PostPosted: Mon Jul 15, 2024 6:53 am 
Offline
Experienced

Joined: Tue Jun 06, 2017 6:11 pm
Posts: 215
alesv wrote:
MiikaS wrote:
Is it possible for all quys to use QtCreator/qmake for these projects as it simplifies and keeps it consistent? And have fixed folder structure.

For FastECU I have simple structure like this:
FastECU-OEM for all stuff, under that has folders:
FastECU
FastECU-Linux
FastECU-Win

Where FastECU contains sources and others are shadow build dirs that has FastECU data folders also (config, kernels etc.). So when switching machine/arch you have always everything setup, just compile and run without hassle.


I moved all things related to serial communication to serial_port directory because there's 14 files that provide serial port operation. You enter the dir and you know that all that files are hardware related and you don't have to search through the whole dir. That was the only reason. If you think that it's not right, I'll move them back, although I think it clutters up the home dir.
Actually that's a good thing :-)

What I meant that when building, it's easier that you have FastECU folder that contains all sources, and build folder outside that so you don't mix git and build code, named after arch/version that it's build against, which contains all necessary files so app can find them.

EDIT: And of course everyone can keep whatever structure they want, I just use that one as I was compiling code for different archs.


Top
 Profile  
 
 Post subject: Re: FastECU development
PostPosted: Mon Jul 15, 2024 8:19 am 
Offline
RomRaider Donator

Joined: Fri Aug 26, 2016 8:21 am
Posts: 154
OK, if I understood you right, all serial port files stay in serial_port dir.

Quote:
build folder outside that so you don't mix git and build code


Yes, that's a good practice. But Qt by default uses build/ dir for building, and I think we should forsee a case when someone will build with default settings and then will want to commit and will have a lot of files changed. Also pro.user file contains a lot of settings that could be unique for every user. I'm not sure it should be included in repository. Otherwise it will rewrite pro.user file for everyone every time. Also build dir could be effectively excluded from git by adding it to gitignore. As I figured, this is common practice. But again, if you think it's not right, I'll revert .pro.user back. I hope I undestood you right. If I understood you wrong, please could you be more specific. And if I'm doing something wrong, please tell me straight. It won't insult me. Thank you.

And I almost ended with migrating from cmake back to qmake for FastECU-broker. They recommend to use cmake, but it is not compatible well between versions. I just started liking Qt when it striked back, LOL :D

_________________
2Boost Subaru mod


Top
 Profile  
 
 Post subject: Re: FastECU development
PostPosted: Mon Jul 15, 2024 8:42 am 
Offline
Experienced
User avatar

Joined: Sun Aug 18, 2019 12:10 pm
Posts: 278
Location: Russia, Ulan-Ude (Near Lake Baikal)
You can add only a Broker.pro file:
Code:
QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets websockets


CONFIG += c++17

SOURCES += \
        main.cpp \
        mainwindow.cpp \
        broker.cpp

HEADERS += \
        mainwindow.h \
        broker.h

FORMS += \
        mainwindow.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target


Type qmake and then mingw32-make.

_________________
Subaru Outback BR9 EDM 2010 EJ253 CVT... Subaru Impreza GG2 JDM 2001 EJ152 AT...
Some Hitachi ROM's modifications...


Top
 Profile  
 
 Post subject: Re: FastECU development
PostPosted: Mon Jul 15, 2024 8:56 am 
Offline
RomRaider Donator

Joined: Fri Aug 26, 2016 8:21 am
Posts: 154
SergArb wrote:
You can add only a Broker.pro file:


I finished. It also copies all needed files to build dir and should work out of the box. Please pull changes and try again. Thank you!

_________________
2Boost Subaru mod


Top
 Profile  
 
 Post subject: Re: FastECU development
PostPosted: Mon Jul 15, 2024 8:57 am 
Offline
Experienced

Joined: Tue Jun 06, 2017 6:11 pm
Posts: 215
alesv wrote:
OK, if I understood you right, all serial port files stay in serial_port dir.

Quote:
build folder outside that so you don't mix git and build code


Yes, that's a good practice. But Qt by default uses build/ dir for building, and I think we should forsee a case when someone will build with default settings and then will want to commit and will have a lot of files changed. Also pro.user file contains a lot of settings that could be unique for every user. I'm not sure it should be included in repository. Otherwise it will rewrite pro.user file for everyone every time. Also build dir could be effectively excluded from git by adding it to gitignore. As I figured, this is common practice. But again, if you think it's not right, I'll revert .pro.user back. I hope I undestood you right. If I understood you wrong, please could you be more specific. And if I'm doing something wrong, please tell me straight. It won't insult me. Thank you.

And I almost ended with migrating from cmake back to qmake for FastECU-broker. They recommend to use cmake, but it is not compatible well between versions. I just started liking Qt when it striked back, LOL :D


I think you are right with folder settings and we should forsee how it goes. And of course everyone can have whatever settings they like, just use gitignore to exclude files/folders.

I haven't use cmake much, as I have had problems every time I try to compile someone else project, no matter if it's Qt or plain c/c++ :D with QtCreator/qmake on Qt projects usually everything just works no matter if it's win or linux :-)


Top
 Profile  
 
 Post subject: Re: FastECU development
PostPosted: Mon Jul 15, 2024 9:06 am 
Offline
RomRaider Donator

Joined: Fri Aug 26, 2016 8:21 am
Posts: 154
MiikaS wrote:
I haven't use cmake much, as I have had problems every time I try to compile someone else project, no matter if it's Qt or plain c/c++ :D with QtCreator/qmake on Qt projects usually everything just works no matter if it's win or linux :-)


Yeah, I don't like cmake too. But they say move to cmake, so I tried. And failed :) I thought I would use VSCode because I did not like Qt Creator from ghe first sight. But then I get used to it.

I reverted FastECU-broker back to qmake.

_________________
2Boost Subaru mod


Top
 Profile  
 
 Post subject: Re: FastECU development
PostPosted: Thu Oct 10, 2024 5:07 pm 
Offline
Experienced

Joined: Tue Jun 06, 2017 6:11 pm
Posts: 215
New beta release of FastECU software is out for testing purposes and it can be found on FastECU github release page here.

More info and discussion, please check:
https://www.fastecu.fi/forum/viewtopic.php?t=134


Last edited by MiikaS on Sat Jan 11, 2025 5:59 pm, edited 2 times in total.

Top
 Profile  
 
 Post subject: Re: FastECU development
PostPosted: Thu Dec 19, 2024 6:47 pm 
Offline
Experienced

Joined: Sun Oct 26, 2014 6:59 pm
Posts: 246
Location: Russia
MiikaS wrote:
New beta release of FastECU software is out for testing purposes and it can be found on FastECU github release page here.

More info and discussion, please check:
https://www.fastecu.fi/forum/viewtopic.php?t=134

tested the modules:
flash_ecu_subaru_mitsu_m32r_kline - writes / does not read
flash_ecu_subaru_unisia_jecs_20 - writes / reads
flash_ecu_subaru_unisia_jecs_20 - writes / reads
lash_ecu_subaru_denso_sh72531_can - writes / reads
lash_tcu_cvt_subaru_mitsu_mh8111_can - does not writes / does not read
flash_ecu_subaru_denso_sh72531_can - - writes / reads

_________________
https://vk.com/cortin_ecu


Top
 Profile  
 
 Post subject: Re: FastECU development
PostPosted: Thu Jan 09, 2025 12:39 pm 
Offline
Experienced

Joined: Tue Jun 06, 2017 6:11 pm
Posts: 215
New beta is available! Check it out and download it from here.


Top
 Profile  
 
 Post subject: Re: FastECU development
PostPosted: Sun Jan 12, 2025 12:52 am 
Offline
Newbie

Joined: Wed Mar 21, 2012 10:45 pm
Posts: 69
Trying to read a CVT TCU on the bench. The file doesn't have anything in it when it's done reading. All FF
Attachment:
mh811_read_error.png


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
 Post subject: Re: FastECU development
PostPosted: Sun Jan 12, 2025 1:45 am 
Offline
Experienced

Joined: Fri Aug 21, 2020 10:05 am
Posts: 321
Post up what happens at the start of the connection process.

FastECU produces a log file, or you can copy/paste the text in the output window.


Top
 Profile  
 
 Post subject: Re: FastECU development
PostPosted: Sun Jan 12, 2025 1:51 am 
Offline
Newbie

Joined: Wed Mar 21, 2012 10:45 pm
Posts: 69
It's not initializing the bootloader. Also shows cal ID as zero's


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 73 posts ]  Go to page Previous  1, 2, 3, 4, 5

All times are UTC


Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl