increased VE trim table sequentieel code
Moderators: jsmcortina, muythaibxr
-
- Master MS/Extra'er
- Posts: 606
- Joined: Sat Apr 11, 2009 12:54 pm
- Location: Aalsmeer the netherlands
- Contact:
increased VE trim table sequentieel code
MS2tester wrote:
can you tell me more i am very interested and would like to do some programming if you can steer me in the right direktion
Start by downloading the compiler here and try to compile the latest version of the code. Once you have that start a new thread. And you can search the forum because there is information about what you need to compile the code.
Jean
tried make file under cmd
tried cygwin and am out of inspiration at the moment
a lot of links and foto,s seem to be removed in the post,s
any help
uploaded the file removed the microsquirt code otherwise the file was to big
can you tell me more i am very interested and would like to do some programming if you can steer me in the right direktion
Start by downloading the compiler here and try to compile the latest version of the code. Once you have that start a new thread. And you can search the forum because there is information about what you need to compile the code.
Jean
tried make file under cmd
tried cygwin and am out of inspiration at the moment
a lot of links and foto,s seem to be removed in the post,s
any help
uploaded the file removed the microsquirt code otherwise the file was to big
Last edited by MS2tester on Mon Nov 01, 2010 12:46 pm, edited 7 times in total.
-
- Super MS/Extra'er
- Posts: 9130
- Joined: Sun May 02, 2004 6:51 am
- Location: Quebec, Canada
- Contact:
Re: increased VE trim table sequentieel code
Do you have a directory "c:/usr/bin/" with an executable "m6811-elf-gcc.exe"? If not can you find where "m6811-elf-gcc.exe" is? If you don't want to have to modify the make files you will need to have the directory so you may need to create the directory and/or move the files.
Jean
Jean
-
- Master MS/Extra'er
- Posts: 606
- Joined: Sat Apr 11, 2009 12:54 pm
- Location: Aalsmeer the netherlands
- Contact:
Re: increased VE trim table sequentieel code
wat i have now is
C:\msii\compiler\bin\m6811-elf-gcc.exe
C:\msii\ ms2extracode\....
C:\cygwin\.....
i do not have a
C:/usr/bin
i did not do anything with the .exe files in the compiler
can you give me an example of the proper file structuur
C:\msii\compiler\bin\m6811-elf-gcc.exe
C:\msii\ ms2extracode\....
C:\cygwin\.....
i do not have a
C:/usr/bin
i did not do anything with the .exe files in the compiler
can you give me an example of the proper file structuur
Last edited by MS2tester on Mon May 10, 2010 8:25 am, edited 2 times in total.
-
- Super MS/Extra'er
- Posts: 9130
- Joined: Sun May 02, 2004 6:51 am
- Location: Quebec, Canada
- Contact:
Re: increased VE trim table sequentieel code
Create a "c:\usr\bin" directory. Copy the content of "c:\msii\compiler\bin" to the "c:\usr\bin" directory. This should get you going.
Jean
Jean
Re: increased VE trim table sequentieel code
if you use the zip file from 303s, then you can compile it. No problem there.
Unless you are using 303t, then you can't compile it anymore.
That was what happened to my end here. I just can't compile 303t. It will
spit the errors like you had here.
Unless you are using 303t, then you can't compile it anymore.
That was what happened to my end here. I just can't compile 303t. It will
spit the errors like you had here.
(4G63T - MSIIextra) (4G13 - MS3-beta testing)
-
- Super MS/Extra'er
- Posts: 9130
- Joined: Sun May 02, 2004 6:51 am
- Location: Quebec, Canada
- Contact:
Re: increased VE trim table sequentieel code
I'm sorry but the problem is on your end for not using cygwin (or not having it correctly configured) not with the 3.0.3t release. And if you're not using cygwin, did you try the makefile here: http://www.msextra.com/forums/viewtopic ... 20#p243927?Gokart wrote:if you use the zip file from 303s, then you can compile it. No problem there.
Unless you are using 303t, then you can't compile it anymore.
That was what happened to my end here. I just can't compile 303t. It will
spit the errors like you had here.
By the way, if you do a diff of the 3.0.3s and 3.0.3t directories you'll see that very few files were changed and that will not prevent you from compiling the code. Or try just copying the file that changed to see what you get.
Jean
Re: increased VE trim table sequentieel code
Yes, that's the file that I tried with no error. Just unzipped it to c:\msii\compiler folder and it's good to go. It's not that simple with 303t. It just won't compile even with nothing touched to it.racingmini_mtl wrote:I'm sorry but the problem is on your end for not using cygwin (or not having it correctly configured) not with the 3.0.3t release. And if you're not using cygwin, did you try the makefile here: http://www.msextra.com/forums/viewtopic ... 20#p243927?
I'll try that.racingmini_mtl wrote: By the way, if you do a diff of the 3.0.3s and 3.0.3t directories you'll see that very few files were changed and that will not prevent you from compiling the code. Or try just copying the file that changed to see what you get.
Jean
(4G63T - MSIIextra) (4G13 - MS3-beta testing)
-
- Site Admin
- Posts: 39619
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: increased VE trim table sequentieel code
Try with the Makefile.DOS I posted in the 303s topic.Gokart wrote:Yes, that's the file that I tried with no error. Just unzipped it to c:\msii\compiler folder and it's good to go. It's not that simple with 303t. It just won't compile even with nothing touched to it.racingmini_mtl wrote:I'm sorry but the problem is on your end for not using cygwin (or not having it correctly configured) not with the 3.0.3t release. And if you're not using cygwin, did you try the makefile here: http://www.msextra.com/forums/viewtopic ... 20#p243927?
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".
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".
Re: increased VE trim table sequentieel code
Tried but it still wont compile.jsmcortina wrote:Try with the Makefile.DOS I posted in the 303s topic.
James
From what I can see, there are 2 more additional files in 303t.
1. crc32.s
2. interp.s
those files are also mentioned in the errors. Most probably the makefile is not pointing to those files
which prevent it from compiling.
(4G63T - MSIIextra) (4G13 - MS3-beta testing)
Re: increased VE trim table sequentieel code
Yup... include that files to the makefile and it compiled.
Thank you every one.
Thank you every one.
(4G63T - MSIIextra) (4G13 - MS3-beta testing)
-
- Site Admin
- Posts: 39619
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: increased VE trim table sequentieel code
How is that different from the Makefile I posted? Adding those two files is exactly what I did.
James
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".
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".
Re: increased VE trim table sequentieel code
I might make a mistake by wrongly pasting a different file maybe... sorry.
Now, how on earth to compile a microsquirt file. I still unable to do so.
Even though I did say that it compiled but it was not tally with what you
have in the zipped file. You must have a different routine that make it
not to work with the regular msii file folders.
Now, how on earth to compile a microsquirt file. I still unable to do so.
Even though I did say that it compiled but it was not tally with what you
have in the zipped file. You must have a different routine that make it
not to work with the regular msii file folders.
(4G63T - MSIIextra) (4G13 - MS3-beta testing)
-
- Master MS/Extra'er
- Posts: 606
- Joined: Sat Apr 11, 2009 12:54 pm
- Location: Aalsmeer the netherlands
- Contact:
Re: increased VE trim table sequentieel code
well i have the cygwin going also
think something went wrong with my gnu installation
still have to test the code in the megasquirt
think something went wrong with my gnu installation
still have to test the code in the megasquirt
-
- Super MS/Extra'er
- Posts: 9130
- Joined: Sun May 02, 2004 6:51 am
- Location: Quebec, Canada
- Contact:
Re: increased VE trim table sequentieel code
So now what you need to do is change the 10 at the end of the lines below to 9 in the file ms2_extra_inj.c
and change in the megasquirt-ii.ms2extra.ini file the lines related to trim which have the values
to
and the lines having
to
and you'll need to change the vetrim gauges limit from 87,113 to 75,125
That should give you twice the range for the trim but half the resolution
Jean
Code: Select all
void add_vetrim(void)
{
if (outpc.vetrim[0]) {
//Use trim table
tmp_pw1 += (((long)tmp_pw1 * outpc.vetrim[0]) / 10) >> 10;
}
if (outpc.vetrim[1]) {
//Use trim table
tmp_pw2 += (((long)tmp_pw2 * outpc.vetrim[1]) / 10) >> 10;
}
if (outpc.vetrim[2]) {
//Use trim table
tmp_pw3 += (((long)tmp_pw3 * outpc.vetrim[2]) / 10) >> 10;
}
if (outpc.vetrim[3]) {
//Use trim table
tmp_pw4 += (((long)tmp_pw4 * outpc.vetrim[3]) / 10) >> 10;
}
}
Code: Select all
0.0976562500, 1024.0000, 87.60, 112.40
Code: Select all
0.1953125000, 512.0000, 75.20, 124.80
Code: Select all
0.00976562500, 10240.0
Code: Select all
0.01953125000, 5120.0
That should give you twice the range for the trim but half the resolution
Jean
-
- Master MS/Extra'er
- Posts: 606
- Joined: Sat Apr 11, 2009 12:54 pm
- Location: Aalsmeer the netherlands
- Contact:
Re: increased VE trim table sequentieel code
so far so good
now just waiting till all the hardware has come with the mail
now just waiting till all the hardware has come with the mail
-
- Master MS/Extra'er
- Posts: 606
- Joined: Sat Apr 11, 2009 12:54 pm
- Location: Aalsmeer the netherlands
- Contact:
Re: increased VE trim table sequentieel code
hi jean
i,m going to start with a fresh megasquirt
to recap these are the parts not installed on the board anymore
i will only be using sequntieel with the peak and hold boards
V3.0
The parts you no longer need are:
D3, D5, D6, D7, D17, D18, D20, D21, C13, C14, Q1, Q3, Q5, Q9, Q10, Q11, Q12, Q13, Q14, Q15, R15, R18, R20, R30, R31, R32, R33, R34, R35, R36, R37, R38.
The picture below shows the placement on the V3.0 board of the 4 injector channels. The standard injector drivers components can be left on the board but will be unused and will not interfere with injector channels 1 and 2. The injectors channels 3 and 4 connect to pads originally used for the MS1 clock circuit and require the removal of those components for proper and safe operation. The injector channel 3 shows 2 pads because they correspond to the same electrical location (use either one). The components to remove are: R21,C20,C21,R22,R23,Y1,C24,C25.
with the modification to the MS2 chip offcourse
i,m going to start with a fresh megasquirt
to recap these are the parts not installed on the board anymore
i will only be using sequntieel with the peak and hold boards
V3.0
The parts you no longer need are:
D3, D5, D6, D7, D17, D18, D20, D21, C13, C14, Q1, Q3, Q5, Q9, Q10, Q11, Q12, Q13, Q14, Q15, R15, R18, R20, R30, R31, R32, R33, R34, R35, R36, R37, R38.
The picture below shows the placement on the V3.0 board of the 4 injector channels. The standard injector drivers components can be left on the board but will be unused and will not interfere with injector channels 1 and 2. The injectors channels 3 and 4 connect to pads originally used for the MS1 clock circuit and require the removal of those components for proper and safe operation. The injector channel 3 shows 2 pads because they correspond to the same electrical location (use either one). The components to remove are: R21,C20,C21,R22,R23,Y1,C24,C25.
with the modification to the MS2 chip offcourse
-
- Super MS/Extra'er
- Posts: 9130
- Joined: Sun May 02, 2004 6:51 am
- Location: Quebec, Canada
- Contact:
Re: increased VE trim table sequentieel code
You don't need the 2 V3.0 injector driver circuits and the clock circuit (never needed with MS2 anyways). The list of components is for these circuits.
Jean
Jean
-
- Master MS/Extra'er
- Posts: 606
- Joined: Sat Apr 11, 2009 12:54 pm
- Location: Aalsmeer the netherlands
- Contact:
Re: increased VE trim table sequentieel code
forgot to ask is injection timing possible with only a 60-2 wheel
i assumed this since ign V6 two stroke is already possible in 2.1.0
i received the boards thx
now just the megasquirt still in customs
i assumed this since ign V6 two stroke is already possible in 2.1.0
i received the boards thx
now just the megasquirt still in customs
-
- Super MS/Extra'er
- Posts: 9130
- Joined: Sun May 02, 2004 6:51 am
- Location: Quebec, Canada
- Contact:
Re: increased VE trim table sequentieel code
Injection timing is possible for every wheel mode except distributor and EDIS modes which don't provide any information on cylinder identification.
Jean
Jean