"Wrong Code Loaded" Error - Building from Source

Testing and development of Megasquirt 3

Moderators: jsmcortina, muythaibxr

Post Reply
mswpm
MS/Extra Newbie
Posts: 2
Joined: Fri Jul 01, 2016 4:57 am

"Wrong Code Loaded" Error - Building from Source

Post by mswpm »

Hello,

I just started with Megasquirt in the past week. I have an MS3-Pro and I would like to be able to build from source and run what I have built. I have been able to get v1.4.0 source and the build tools installed and have been able to get the code built to an 'ms3pro.s19' file. The binary is downloaded successfully to the MS3 but running TunerStudio (v2.6.19) gives me the "Wrong Code Loaded" error. The description string and the 'format' code from the MS3 comes up correctly in TunerStudio but the error is present anyway.

I should mention that I can load the 'release' version of v1.4.0 and it runs correctly. But I have these problems when I build from source.

Can anyone please help me to determine what I am doing wrong?

Thanks,
Matt
jsmcortina
Site Admin
Posts: 39615
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: "Wrong Code Loaded" Error - Building from Source

Post by jsmcortina »

Be sure to

Code: Select all

make clean
make ms3pro
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
mswpm
MS/Extra Newbie
Posts: 2
Joined: Fri Jul 01, 2016 4:57 am

Re: "Wrong Code Loaded" Error - Building from Source

Post by mswpm »

OK, thanks! I will give that a shot later today.

Matt
Post Reply