By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,213 Members | 1,328 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,213 IT Pros & Developers. It's quick & easy.

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

P: 39
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?
1 Week Ago #1
Share this Question
Share on Google+
1 Reply


Banfa
Expert Mod 5K+
P: 8,959
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.
1 Week Ago #2

Post your reply

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