Search found 196 matches

by Hairyscreech
Thu Apr 12, 2018 3:19 pm
Forum: Bosch
Topic: DME 403 SOFT 950 XDF
Replies: 12
Views: 22393

For temperatures i use X*0.75 - 48. Thats the formula Ive seen on many threads here, dont know if its 100% accurate. Are you sure for D6 To be raw load?? There is no D5 in 403, and I think raw and dampered load are D3 and D2 :wink: Sounds right, D2 and D3 are the equivalent to the D5 and D6 pairing...
by Hairyscreech
Tue Mar 13, 2018 6:38 am
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

I have been doing some work with the load calculation in the ECU and can now confirm exactly how it works: Load formulae: Tl = Q/(n*K) Tl - load [ms] Q - airmass [kg/h] n - rpm [1/min] K - constant [kg/h*min/ms] reciprocal, factor=400 Let for example at full load we have: Q=120g/sec -> 432 kg/h n = ...
by Hairyscreech
Sat Mar 10, 2018 5:11 am
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

Interesting, ok, VSS might be a culprit, The VSS plug on most E30s has long expired and gives intermittent connection, very occasionally I get the typical E30 speedo waving. I will start there. It looks like it may be worth me spending some time confirming all of the sensors are consistent and withi...
by Hairyscreech
Fri Mar 09, 2018 4:42 am
Forum: Bosch
Topic: How do you chech Checksum?
Replies: 1
Views: 4678

How did you change the Rev limiter? If you used an XDF downloaded from the main website then most of them have the correct checksum calculation built in and tunerpro will recalculate and patch the BIN when you save it. (So save before an upload or you might find the car won't start at the worst poss...
by Hairyscreech
Thu Mar 08, 2018 8:03 am
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

No, this one has been tuned up from a stock bin to avoid any cumulative errors, I don't think there is anything up on the ToT front. I did wonder if it was a TPS issue so plugged the car in to INPA and checked that INPA gave the correct TPS signal and clicked to WOT at ~70% throttle. It was all ok o...
by Hairyscreech
Wed Mar 07, 2018 2:42 am
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

I never found RPM axis data for idle/pt/wot tables, i think it is shared for multiple tables and it is somewhere close of those threshold tables. RPM's for those thresholds in my XDF was purely found by testing and tracing. They are not very accurate. I did take a break in playing with this device,...
by Hairyscreech
Tue Feb 27, 2018 4:42 am
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

MyKK - I spotted a post by you here: https://www.bimmerforums.com/forum/showthread.php?2360139-Breaking-the-Motronic-code-Redux-404DME-M60-s Regarding those TPS limits tables, how did you find those and know what the RPM thresholds were/are? When I was looking at the transfer function area those 12 ...
by Hairyscreech
Fri Feb 16, 2018 5:24 am
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

Well noted. :D I have used that to edit the disassembly I have and it highlights the times when the program uses the A2D quite well. Just by spotting the A2D write on 02H and then read on 03H then 02H you can find all 5 reads of the A2D in the 413 ROM. Lets see if anything useful can come of that. E...
by Hairyscreech
Thu Feb 15, 2018 12:28 am
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

Its interesting you post that as it looks like some of the code does that to get offsets, there are a couple of times something is added to an Exxxh or Fxxxh number and put into an 8 bit register, this obviously can only drop the extra values off the end of the register. Seems like it is a dirty tri...
by Hairyscreech
Wed Feb 14, 2018 12:00 pm
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

To back you up on that the E30 thermostat is 80 to 88 degrees and that is central/vertical on my gauge, I hit that last cell while still at the 1/4 mark on the gauge, so likely about 50-60 degrees. I have been plugging it into a few tables today to see how if fits, looks ok but might be worth testin...
by Hairyscreech
Wed Feb 14, 2018 12:41 am
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

I took a look at the missing factor for D7 last night and I think the reason I struggled to find a linear factor for it before is that there is not one. I believe this is simply the raw 256 bit values from the A2D converter. I get that the A2D is 10bit and would then have to convert into 8bit somewh...
by Hairyscreech
Wed Feb 14, 2018 12:17 am
Forum: Bosch
Topic: DME 413 silver label alpina m50b30
Replies: 8
Views: 12450

All depends what bits you have for the B30. There were several unique bits on the Alpina that make a basic B30 bottom end/M50 tob end perform differently. It should work as a good start but then so should the normal 413 map. Both will need tuning and will not be a simple solution. I believe the Alpi...
by Hairyscreech
Tue Feb 13, 2018 12:11 am
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

Thanks, Should be enough, just needed a solid confirmation. In that case it looks like the M50 and M20 coolant sensor only differ by the thread on the outside of the sensor, the M20 is M12 and the M50 is M14. Both sensors should work on the car just fine. The ECU has a 1110 Ohm resistor to complete ...
by Hairyscreech
Mon Feb 12, 2018 1:27 pm
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

Its the coolant sensor that's the big issue. Take a look at the sheet of temp sensor resistances, one measures ~6300 Ohms at 20 degrees C (870 Ohms @ 80 Deg C) and the other ~2500 Ohms at 20 Deg C (and 370 Ohms @80 Deg C). One of them is not correct but they both claim to be the right sensors. If yo...
by Hairyscreech
Mon Feb 12, 2018 11:25 am
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

Almost forgot - I swapped the air temp sensor onto the car and it seems to have improved things quite a bit. I measured the Temp sensor on the car and it was the higher resistance one. With a bit of online searching it was suggested that the correct M50 sensor is actually the same/similar to the E30...
by Hairyscreech
Mon Feb 12, 2018 8:55 am
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

I booked a couple of days off to get a break and play with the E30, spent a few days bashing my head against INPA on the new laptop and just gave up and used the old brick to get what I needed. Main point of this one is that INPA did read out the data in the RAM from 0x00 to 0xFF. I grabbed it in th...
by Hairyscreech
Mon Feb 05, 2018 3:37 pm
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

To add to that I have been taking a look at the possible transfer functions between the MAF table and the start of the ECU maps. I think I have puzzled out where they all start and end, and that has parity across all the M3.3 versions, 413, 404 and M3 Euro so they are definitely the boundaries of ea...
by Hairyscreech
Mon Feb 05, 2018 3:06 pm
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

I have just put a completed temperature sensor sheet into the dropbox. It has M20, M50 and S50B32 Coolant sensor data and M50 and M52 air temp sensor data on it. I ordered a couple of different ones and oddly the only one that didn't measure right is the Febi Bilstein sensor. It claims to be an M50 ...
by Hairyscreech
Fri Feb 02, 2018 1:15 am
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

Nice to see the A2D is 10 Bit, the ATmega2560 on the arduino is also 10Bit so one I figure out some more of the code needed then I might actually be able to have it do the MAF translation the same as the Motronic. At the moment it is set up to use a lookup table with the MAF transfer function conver...
by Hairyscreech
Wed Jan 31, 2018 3:51 am
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

Just did some checking and what we could realy do with is a snapshot of the values held in the RAM from 0-1000h. This is going to be where all the action is. This was missing from the last dumps you took and should be what helps point out the tables each function uses. On the A2D side of things I ex...
by Hairyscreech
Tue Jan 30, 2018 2:17 pm
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

I see what you mean, I gather that it is not possible to see the exact value of the data in the register though? For the addressing I need to find the exact values at any point in time. I think I need to get the microprocessor manual out again, there will be some useful info in the ADC section I thi...
by Hairyscreech
Tue Jan 30, 2018 1:30 pm
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

RAM dump from 0x1A to 0xFF matches, if i do "dummy table" and watch those values with tracing, or watch those values with INPA. So, "descriptors" are pointed directly from register file. If i take RAM dump from 0xD0, it is engine rpm and so on. That is nothing new, because i was...
by Hairyscreech
Tue Jan 30, 2018 1:16 pm
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

Mother**** Beep beep. Just discovered I have had the wrong air temperature sensor in the E30 all along. :roll: I have 2 kinds on test atm, one I removed from a M50B20 manifold a few hours ago which is a threaded spike shaped sensor, also on the heat bed is a push in sensor in a plastic cage. They ha...
by Hairyscreech
Tue Jan 30, 2018 12:27 pm
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

ROM and RAM dump in a couple of conditions may be a big key to getting a disassembly sorted out. The biggest issue is that the addressing used in the code is all based on values stored in the ROM and RAM in the sections that contain no data on the BIN dumps. Funny you say that you the 623 BIN will n...
by Hairyscreech
Mon Jan 29, 2018 4:51 pm
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

Full disassembly needs lots of work and effort, and those who have time to do it do not know how, and they who know, do not have a time Laughing Tell me about it. I'm hoping someone I work with now may be able to help on that side, at the moment putting together an arduino program to measure and ca...
by Hairyscreech
Sun Jan 28, 2018 12:18 pm
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

Quick question for anyone... I have been playing with the acceleration enrichment tables to get the M20 running correctly with a flat fuel table like the factory M50 tunes use. To get the fueling up to 14:1 at higher loads I have had to increase the "acceleration enrichment quantity by RPM and ...
by Hairyscreech
Sun Jan 28, 2018 12:10 pm
Forum: Bosch
Topic: Proper data logging on OBD1 via Arduino
Replies: 18
Views: 28899

To bring things back to life after the Christmas hibernation we all seem to have been doing I thought I would give an update on where I have got to with this. Before christmas I got the Arduino Mega working with the canbus shield and used the OBD2 simulator code to get it going with the OBD2 scanner...
by Hairyscreech
Wed Jan 24, 2018 2:18 am
Forum: Bosch
Topic: Alfa M1.7 164LS V6 24V anyone have.xdf?
Replies: 3
Views: 7233

You can also start from the E30 M1.3 XDF as a lot of things will be very similar in the M1.7. You will obviously have to find the correct corresponding maps and use the correct multiplications and offsets for the Alfa but the base code and way the ECU functions will be very similar. If you take the ...
by Hairyscreech
Fri Jan 05, 2018 9:13 am
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

Just checked and it is X*0.01

So as always Finland is in the lead. :P
by Hairyscreech
Thu Jan 04, 2018 11:19 am
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

You could be right and its X*0.01.

That's what I get for not double checking before I post. :x
by Hairyscreech
Thu Jan 04, 2018 10:06 am
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

Hi all, Does anyone knows any conversion factor for datas in D75C? (injectors dead time). Will have to re-tune it because I will change mines for slightly bigger ones. I searched on the web for the dead times of the OEM ones to try to calculate a factor with it for the 403 DME but wasn't able to fo...
by Hairyscreech
Fri Dec 29, 2017 7:43 am
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

Your probably right, I have not considered pushing the resulting outputs into overflow or flipping the resulting numbers into the negatives. I think that is something we will have to watch out for on a lot of the tables and is something not actually mentioned anywhere else when looking at these ECUs...
by Hairyscreech
Fri Dec 29, 2017 7:41 am
Forum: Bosch
Topic: Proper data logging on OBD1 via Arduino
Replies: 18
Views: 28899

Yep, that's exactly what I have from getting the E30 engine running. The data is very choppy and lags quite a bit, it could only ever be used for steady state on a dyno. I do also doubt it's accuracy in some cases, on mine I know everything is working in spec but INPA shows somethings responding in ...
by Hairyscreech
Tue Dec 19, 2017 9:31 am
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

I think its just the run up to christmas. I have been pretty tied up with various things, social events, minor fixes due to bad weather, work, other projects etc and obviously the OBD2 output module. Hopefully take some time next week to get the software "finished" on that and if my sister...
by Hairyscreech
Fri Dec 15, 2017 5:57 am
Forum: Bosch
Topic: M3.3 waste spark
Replies: 8
Views: 12273

Why are you fitting the MSD box with the stock ECU? Seems like a step backwards from the standard ECU and a big reliability decrease. If you are running a NA engine then the stock ECU and coils is more than up to it, even boosted people have made 4-500hp on the stock M50 ECU, the ignition is not a w...
by Hairyscreech
Mon Dec 11, 2017 1:16 pm
Forum: Bosch
Topic: Proper data logging on OBD1 via Arduino
Replies: 18
Views: 28899

I believe the serial transmission is too slow for live data.

I think it has been tried on an 8051 generation chip and they are way too slow, I don't think the 80196 is much better in that regard.

It was one of my first thoughts when I saw it had a serial port.
by Hairyscreech
Fri Dec 08, 2017 10:49 am
Forum: Bosch
Topic: Actual motronic load calculation
Replies: 1
Views: 5588

Actual motronic load calculation

So one of the key things for the OBD2 piggyback is the calculation of the load value, something that is not going to be trivial. We could find it empirically by adjusting values until the output matched the Ostrich but that would be sloppy at best. I have previously found what I think is the actual ...
by Hairyscreech
Thu Dec 07, 2017 11:18 am
Forum: Bosch
Topic: Proper data logging on OBD1 via Arduino
Replies: 18
Views: 28899

I am pretty sure the conversion does happen in the cluster. I think (means I need to check) that the speed signal is sent to the cluster first and is just a pulse from the trigger at the rear, the clocks turn this into a speed pulse for the OBC and the ECU, the E30 pulses are the same as the E36 but...
by Hairyscreech
Thu Dec 07, 2017 12:43 am
Forum: Bosch
Topic: Proper data logging on OBD1 via Arduino
Replies: 18
Views: 28899

The speeduino mates with tunerstudio the same way that the megasquirt does, not sure how that is but it won't port across to Tunerpro. I believe I need to sort out an ADX file for tunerpro but I will cross that bridge later. As far as I am aware the econometer output is just a square wave pulse that...
by Hairyscreech
Wed Dec 06, 2017 6:37 am
Forum: Bosch
Topic: Proper data logging on OBD1 via Arduino
Replies: 18
Views: 28899

Got the Mega2560 and the CANBUS shield all fitted up together and wired to the OBD2 output. Had quite a bit of trouble getting the shield initialized, turns out the pin assignment is a little different on the arduino uno they were designed for and the Mega2560. A bit of jumper wiring of pins 10-13 t...
by Hairyscreech
Wed Dec 06, 2017 5:39 am
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

That I might be able to arrange! I will for sure have access to it via work, the car may not be ideal as its an E30 manual but otherwise I might be able to rustle something up. I might also be able to just find out.... Will see what I can do. Also, not yet finished the master list of tables on the X...
by Hairyscreech
Tue Dec 05, 2017 4:28 am
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

So I take a weekend off to be ill and all this happens! :lol: There is one table in 16x1 just after these 2, could it be E050 for PT and E0A1 for WOT? Yes, similar function like E050 and it's traced only in WOT. E050 isn't traced in WOT. I have these tables noted down as "PT and WOT load map da...
by Hairyscreech
Sat Dec 02, 2017 8:13 am
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

I started putting together a proper master XDF with every table and as much description as we can currently offer, thinking it might help if we have a complete reference XDF to make it easier to discuss tables. I also have made it to be in the same order as the maps are in the BIN for obvious reason...
by Hairyscreech
Sat Dec 02, 2017 8:09 am
Forum: Bosch
Topic: Proper data logging on OBD1 via Arduino
Replies: 18
Views: 28899

Its interesting to see that several similar projects have been done before but none quite all the way to a full OBD2 compatible output. Its looking like a lot of the work maybe figuring out where they could have been improved and then working out how to integrate them. I ordered a canbus shield and ...
by Hairyscreech
Thu Nov 30, 2017 5:19 am
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

Vanos tables are actually max and min load. I assume it is that way as the ideal switching points are more related to airflow/airspeed in the inlet ports than throttle position. I think D6 might be rate of TPS change. If you make small movements to the throttle then you stay in the LH side but big r...
by Hairyscreech
Wed Nov 29, 2017 3:23 pm
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

I think your 404 "TPS Function" is from 0xC530 to 0xC55E. 0->DA instead of 0-FF. Which makes me wonder why the difference? I do know the 540 throttle body is large enough to flow a fuel injector sideways so maybe that's why? What is the TPS function actually used for? When I tried it it wa...
by Hairyscreech
Wed Nov 29, 2017 2:20 pm
Forum: Bosch
Topic: Proper data logging on OBD1 via Arduino
Replies: 18
Views: 28899

I have been wondering if and arduino could be a data logger for a while, seeing the speeduino stuff just confirmed it. Going to put together a speeduino for a friends M52 drift car soon. Will see how it goes as it seems to have killed off the low range megasquirt units completely. You can build one ...
by Hairyscreech
Wed Nov 29, 2017 1:51 pm
Forum: Bosch
Topic: Proper data logging on OBD1 via Arduino
Replies: 18
Views: 28899

Well with surprisingly little interest I have gone ahead and started anyway, the OBD2 reader turned up today so I popped that open (glued, not easy or pretty) and removed the resistor between the 2 CAN pins. It is not needed and ruins the communication on a lot of cars, the pins are notmally filtere...
by Hairyscreech
Wed Nov 29, 2017 5:39 am
Forum: Bosch
Topic: DME 413 silver label alpina m50b30
Replies: 8
Views: 12450

Its actually very different. You can see the differences in the M3.3.1 thread. Key things are the number of changes in the DTC section and the significantly different fueling. The code on the silverlabel 413 matches his ECU but again the mapping is very different. I put together a 506 tune using all...
by Hairyscreech
Wed Nov 29, 2017 5:35 am
Forum: Bosch
Topic: M3.3.1 motronic (413 and 506) tuning and XDF update?
Replies: 237
Views: 920992

Updated the sheet by removing all the duplicates from the M3.81 Damos.
I highlighted a couple of things in there as well, the enrichment maps and the injectors constant.
All single bit values have been made light grey in the size column to make it easier to find tables.
Update in the dropbox now.