472,364 Members | 2,056 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,364 software developers and data experts.

Can I use C++ to re-program a common passenger vehicle?

SwissProgrammer
220 128KB
Can I use C++ to re-program a common passenger vehicle?

I was reading a profile here on bytes.com and found Expertise in C++ and Vehicle Software. That reminded me of a question that I had.

If I wanted to adjust the software in a common vehicle, like a 2019 Ford F-150, or almost any other common passenger vehicle used in the USA, then what language should I use? C++ maybe? And how to go about that?
Jul 25 '20 #1
6 6208
Banfa
9,065 Expert Mod 8TB
The real question is not can I use C++, or indeed any other programming language, but rather what is the platform hardware and how is the software loaded onto the platform.

The truth is when most people talk about reprogramming vehicles they normally mean tweaking the parameters used by the engine management system in its decision making, for example altering the timing on the sparks, which is normally, and often easily, done by connecting the the CANBus which provides access to that sort of thing as well as status data. Note I would not suggest tinkering unless you really know what you are doing as you will certainly invalidate any manufactures warranty and you can easily cause serious damage to the engine.

Anyway back to the original point, if you can work out how to access the platform used by the engine management system and how to create software to run on that platform you still have the issue that your software would need to do everything the original software did plus whatever modifications you plan when you write it. This means you need to know not just about the processing platform but every other piece of hardware it interacts with in detail so that you can produce the correct behaviour, information that would be hard to come by. And of course that doesn't consider any security measures the manufacturer might have put in place specifically to prevent such a thing.

Note that this is basically the same problem as any problem were you are considering reprogramming a bespoke system made by someone else.
Jul 26 '20 #2
SwissProgrammer
220 128KB
I think that the correct answer is probably "Yes". The correct comments are probably covered by "The common passenger vehicle can be programmed completely in C++." How is probably answered by "Access the chip that holds the current program. If that chip is burnt in and unchangable, get a blank chip of the same type and write to it then replace the old chip with the new one." As to the warranty: I and most other people looking to do such do not need or even want the manufacturer's warranty."

I have been studying this and the previous seems to be what I am finding suggested by shop mechanics, etc.

Thanks Banfa. You are still one of my favorite guru's here.
Sep 25 '20 #3
SioSio
272 256MB
Reference information.
TRON is widely used in Japan.
Sep 28 '20 #4
Banfa
9,065 Expert Mod 8TB
You are right the absolute correct answer is yes, if you are willing to hack the hardware* then you can almost certainly find a way :-)

But you will have to put in the work and there will be quite a lot of it.


* and don't care about the warrantee
Sep 28 '20 #5
SwissProgrammer
220 128KB
Banfa says it can be done, and SioSio gave a reference. I am accepting that as fact.

SioSio:
I searched TRON and C++ and auto, etc. and I am not clear that I have usable results. Would you please point me to a description of the TRON that you are referencing? Please tell me where to get it and maybe a link to a users manual?

Thank you.
Oct 10 '20 #6
Banfa
9,065 Expert Mod 8TB
1 last word of advice, if possible be non-destructive, so if you are removing the flash chip to replace it do it in a way that leaves it so you can put it back, if you are just going to programme over the top of it take a copy of it first etc.

Not because you ever intend going back to that state but because sometimes in these endeavours you realise you needed to know how it was working before.
Oct 10 '20 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: noname | last post by:
Hello all, I use Access to keep track of approx. 80 vehicles. I have a table of vehicles with specs. I have another of service records linked to the vehicle table. Works great! I can expand each...
6
by: jimfortune | last post by:
In: http://groups.google.com/group/comp.databases.ms-access/msg/60d7faa790c65db1 james.ea...@gmail.com said: :Ok, I've answered the first half of my own question. From a MSDN :article, I...
35
by: javelin | last post by:
I posted an answer to someone's question, and realized I have more questions than answers. Thus, I am going to post my scenario to get to the question that I have: I have a challenge, to figure...
6
by: xdeath | last post by:
Hi guys, at the moment, im rushing to get my assignment done as the dateline is soon. Haven't had much time lately, so i'm in need of some help. Im supposed to create a program that : Has a...
2
by: Warren Hoskins | last post by:
I'm going to have to break this up into files however I receiving errors when I try to compile this. I am confused about this program Please help.I.m using Visual C++ platform, XP operating system ...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
2
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.