There is a 12v power ground for the heater and a signal return (not really a ground) that is supposed to go back to the pcm for signal puroses. What type of issue are you having? you Should be able to run the ground wire of the mass air to a good ground with the rest of the chassis type grounds that you have run to about the same place as the ground for the megasquirt.
Also..last time I was using megasquirts they needed to be modified internally for proper operation with a MAF sensor. Really they run better with MAP that MAF. The auto tune function for drivability is spot on!!!
I attached a wiring diagram for the 2004 cobra for clarification.
Search found 235 matches
- 2024 Apr 18, 15:27
- Forum: Hardware, Programming & Disassembly
- Topic: 4 pin maf ground seperation
- Replies: 1
- Views: 153
- 2024 Apr 16, 08:17
- Forum: Hardware, Programming & Disassembly
- Topic: SAD Version 5 (alpha)
- Replies: 143
- Views: 14816
Re: SAD Version 5 (alpha)
I am not sure exactly how to describe the looped scan function, but if you take a look at my directive file you will see how many scan commands I had to use to make it through just 2 banks. Right now it seems that as soon as it finds a stopping point, it stops scanning. I will see if I can make a dir with just the scan codes to give you a clearer view. It would be awesome if it would scan a range of code if you put a start and end address for it to scan, where it wouldn't stop until it got to the end of the range. I guess that may be the easiest way to explain it, I guess. Maybe JSA could elaborate on it a bit...
Also, You will see examples of the byte and word values that I am talking about in my dir file. Again, I am very new, and I am following examples in the dir files I am given, Maybe there is a better way of doing it, or maybe I am misunderstanding the dir files?? Thanks for being so open to new ideas, especially from someone so new to this.
Also, You will see examples of the byte and word values that I am talking about in my dir file. Again, I am very new, and I am following examples in the dir files I am given, Maybe there is a better way of doing it, or maybe I am misunderstanding the dir files?? Thanks for being so open to new ideas, especially from someone so new to this.
- 2024 Apr 13, 09:45
- Forum: Hardware, Programming & Disassembly
- Topic: EEC V file conversion
- Replies: 359
- Views: 58503
Re: EEC V file conversion
Thank you. That worked. So Ratch_min is an inline scalar, and it should point to a function, or it should not? Sorry if that’s a stupid question. And if it does point to a function, is there a way to define it as an inline scalar instead of a generic function? I am also having issues finding some of the names in the strategy docs of some of the syms, is there another document somewhere I am missing that is used for some of the other names used in these for files?
- 2024 Apr 13, 09:37
- Forum: Hardware, Programming & Disassembly
- Topic: SAD Version 5 (alpha)
- Replies: 143
- Views: 14816
Re: SAD Version 5 (alpha)
TVRFan…is there a way to request a couple things to be added to the new versions of SAD? I would like to request to see if you could incorporate a looped scan command and possibly SAD produced branch comments, and loop comments. Also, SAD 5 still doesn't like an address to have both a word value and byte value assigned to it, could that also be incorporated? Or could you possibly add the previous 2 things to a previous version of SAD 4? I hate to ask for things, being as I am so new to the community. These would be a huge help for me as a newbie, and I think they may help other new people as well. Thanks for the consideration. And also thanks so much for the continuing development on this software.
- 2024 Apr 11, 16:02
- Forum: Hardware, Programming & Disassembly
- Topic: EEC V file conversion
- Replies: 359
- Views: 58503
Re: EEC V file conversion
Yes, I get a bank error message with the above on sad v 4.012. Should all 4 of those entries be commented out, The first instance of both were not commented out and the second was. So wasn't exactly sure why there was a duplicate of each, just commented out.
- 2024 Apr 10, 08:03
- Forum: Hardware, Programming & Disassembly
- Topic: SAD Directive Formatting
- Replies: 5
- Views: 158
Re: SAD Directive Formatting
Here is the SAD documentation I have been using for SAD 4.012
- 2024 Apr 10, 07:58
- Forum: Hardware, Programming & Disassembly
- Topic: SAD Directive Formatting
- Replies: 5
- Views: 158
Re: SAD Directive Formatting
Here is the dir file I got from you and added a few entries and converted over most of the old context to the new. Some stuff could be wrong so you will have to double check some of the actual entries, but the context is correct, I hope.
- 2024 Apr 10, 07:54
- Forum: Hardware, Programming & Disassembly
- Topic: EEC V file conversion
- Replies: 359
- Views: 58503
Re: EEC V file conversion
That is the DIR file I got from you, so I am not positive about that to be honest. The duplicates were there already and were commented out. I only commented out the first RATCH_MIN entry to see if I could make it clear, but it did not help.
- 2024 Apr 10, 07:52
- Forum: Hardware, Programming & Disassembly
- Topic: SAD Directive Formatting
- Replies: 5
- Views: 158
Re: SAD Directive Formatting
sym xxxx "flags_xxx" :Bx
- 2024 Apr 09, 16:03
- Forum: Hardware, Programming & Disassembly
- Topic: EEC V file conversion
- Replies: 359
- Views: 58503
Re: EEC V file conversion
I do have another question that I can not figure out. In RZASAMY.dir I have below...
That puts RATCH_MIN
Here as a function at line 943AE, I commented it out to see if it helped to figure it out... It did not. LOL
In OMAE2 I think I have found the match for it, but it puts it right inside the MAF Transfer Function
The rest of the subroutine also matches up pretty well. But the 12300 address puts it
So...am I doing something incorrectly or do I need to define it specifically to the addresses where it looks to be RATCH_MIN? Or is it not correct in RZASA as well? Thanks again
Code: Select all
#SYM 12280 "RATCH_MIN" #W via SADx
#SYM 12280 "RATCH_MIN" #W via SADx
SYM 144C0 "RATIV"
#SYM 144C0 "RATIV" #UW Via SADx
SYM 188C2 "V_EGRDC_MAX" #W via sadx
SYM 18D5C "VEC"
Code: Select all
9439b: a0,37,36 ldw R36,R136 TMP2L = RATCH;
9439e: a0,23,38 ldw R38,R122 TMP3L = TP;
943a1: a1,00,3c,3a ldw R3a,3c00 TMP4L = 3c00;
943a5: ef,04,e9 call 92cac Sub_92cac ();
943a8: 89,80,22,42 cmpw R42,2280
943ac: db,06 jc 943b4 if (TMP8L < 2280) {
943ae: a1,80,22,42 ldw R42,2280 TMP8L = Func_12280;
943b2: 20,0a sjmp 943be goto 943be; }
In OMAE2 I think I have found the match for it, but it puts it right inside the MAF Transfer Function
Code: Select all
94a74: a0,fb,36 ldw R36,R1fa TMP2L = RATCH;
94a77: a0,99,38 ldw R38,R198 TMP3L = TP;
94a7a: a1,00,28,3a ldw R3a,2800 TMP4L = 2800;
94a7e: 10,08 rombk 8
94a80: ef,a8,de call 8292b Sub_8292b ();
94a83: 89,00,23,42 cmpw R42,2300
94a87: db,06 jc 94a8f if (TMP8L < 2300) {
94a89: a1,00,23,42 ldw R42,2300 TMP8L = 2300;
94a8d: 20,0a sjmp 94a99 goto 94a99; }
Code: Select all
uuwFn036_MAF_Transfer:
12290: ff,ff,ff,ff func 5.12 , 1741.75
12294: 40,fb,f0,ff func 5.03 , 1741.35
12298: 80,ed,c7,d8 func 4.75 , 1474.91
1229c: 80,e3,5e,bf func 4.55 , 1302.03
122a0: 80,d9,4b,a8 func 4.35 , 1145.03
122a4: 80,cf,5c,93 func 4.15 , 1002.6
122a8: 80,c5,61,80 func 3.95 , 873.47
122ac: 80,bb,32,6f func 3.75 , 756.55
122b0: 80,b1,a7,5f func 3.55 , 650.8
122b4: 80,a7,9e,51 func 3.35 , 555.31
122b8: 80,9d,f8,44 func 3.15 , 469.25
122bc: 80,93,9a,39 func 2.95 , 391.91
122c0: 00,8c,dc,31 func 2.8 , 339.23
122c4: 80,84,c1,2a func 2.65 , 290.89
122c8: 00,7d,55,24 func 2.5 , 247.2
122cc: 80,75,cf,1e func 2.35 , 209.62
122d0: 00,6e,05,1a func 2.2 , 177.03
122d4: 80,66,dc,15 func 2.05 , 148.73
122d8: 00,5f,3e,12 func 1.9 , 124.12
122dc: 80,57,19,0f func 1.75 , 102.72
122e0: 00,50,5a,0c func 1.6 , 84.04
122e4: 80,48,f7,09 func 1.45 , 67.8
122e8: 00,41,e2,07 func 1.3 , 53.63
122ec: 80,39,16,06 func 1.15 , 41.41
122f0: 00,32,88,04 func 1 , 30.83
122f4: c0,2b,6a,03 func 0.88 , 23.23
122f8: 80,25,73,02 func 0.75 , 16.66
122fc: 80,20,e7,01 func 0.65 , 12.94
12300: c0,1c,a1,01 func 0.57 , 11.08
12304: 00,00,00,00 func 0 , 0
Func_12308:
12308: ff,ff,00,07 func 65535, 7
1230c: 00,0e,00,07 func 3584, 7
12310: 00,08,00,06 func 2048, 6