Jump to content
LegacyGT.com

subarutech77

Members
  • Posts

    27
  • Joined

Everything posted by subarutech77

  1. Not sure if this helps much, but awhile back dschultz suggested using the RR test app to read a block of memory from the tcu. Starting at address 0x040000 for 1024 bytes. Here is the raw data result of that read of an 05 OBXT 5eat: 6003F000A00DC8AD1FCEF0006004F000A00DC8AD1FCEF0006005F000A00DC8AD1FCEF0006000F000A00DC8AD1FCEF0006001F000A00DC8AD1FCEF0006002F000A00DC8AD1FCEF0006006F000A00DC8AD1FCEF0006007F000A00DC8AD1FCEF00084ADD5082094610100E120046204F000A20DC8AD1FCEF00084ADD5082094610100E12004A10DC8AD1FCEF00084ADD5082094610100E120046206F000A20DC8AD1FCEF00084ADD5082094610200E120046201F000A20DC8AD1FCEF000A09DCAD06101F000B011000484ADD5082194620201E221046001F000A00DC8AD1FCEF00081ADD4CCA0BDD4B4B0900003A29DD4BCB082000260007F1EA0BDD4B8B0800009A2BDD4B0B082000260007F052091505EB0B0000260017F026000F0007F14F0002091505DB0B0000260027F112091505EB0B00009A09DC8B66202F000B0120006E401D1C42294F000A39DC88702437D0260027F07A0BDD4B0B09000032291525EB0A2000260007F026001F000A00DC8B31FCEF0002E7F2A7F297F287F8AADD4CCA99DC887A09DCAFF6101F000B011000269FF5918A09DC8B3B0900022A29DC80A6100F000A0CDC9F4FE0013D1188011895158511880C000FF01407C0362FF5218B0120004209A610200E1200A7F04F000209AF00080C0FFFD200AF000A29DC80A6100F000A0CDC9ECFE0013C11880595859185058501809407C0361FF5118F000B0110004209A610400E1200A7F04F000209AF00080C0FFFB200AF0007F4BF0006101F000B00100076102F000B0110025219A515EB0B10023219A515DB0A10021A29DC80A6100F000A0CDC9F8FE0013A8188011895158511880C000FF01407C0662FF5218B0020004229AF00082C2FFFD220A7F03209A610200E1200AA29DC80A6100F000A0CDC9ECFE0013991880595859185058501809407C0361FF5118F000B0110004209A610400E1200A7F04F000209AF00080C0FFFB200AF0007F23F000A09DC8B36102F000B0110020A29DC80A6100F000A0CDC9F4FE001385188011895158511880C000FF01407C0362FF5218B0120004209A610200E1200A7F04F000209AF00080C0FFFD200AF000A29DC80A6100F000A0CDC9F0FE0013751880595859185058501809407C0661FF5118F000B0010004219AF00081C1FFFB210A7F03209A610400E1200A209A505EB0A00006209A505DB0A00004209A610100E1200A7F04F000209AF00080C0FFFE200AF00028EF29EF2AEF2EEF1FCEF00083ADD4B082ADD4B4A09DC7E791F00084B001000991F00084B001000791F0008CB0010005E401D1C52194F000A09DC80700417D0260017F09E401D1C6219400417C04F000E601D1C7259605407D02F00060027F026000F00081C000FF6401F000B11400062493F00084C4FFFE2403640125B205E425227F0D6002F000B110000620936401I also have a java command line app that parses this text representation into pure hex format courtesy of dschultz, but still can't wrap my head around any of it. Reading a datasheet for a processor is one thing, understanding what I've read is quite another.
  2. I've figured out how to change the address that I want to end at in the program. This is a snippet from the original code found on the ECU Hacking site. ' addr 0000:0000 - 003F:FFFF ' A28=0 A24=0 FOR A20 = 0 TO 3 FOR A16 = $0 TO $F FOR A12 = $0 TO $F FOR A8 = $0 TO $F FOR A4 = $0 TO $FIt needs to be changed to this to read to 0007:FFFF ' addr 0000:0000 - 007F:FFFF '2/26/11 changed comment to reflect ending address change ' A28=0 A24=0 FOR A20 = 0 TO 7 '2/26/11 changed 3 to 7 as I want to read to 0007:FFFF FOR A16 = $0 TO $F FOR A12 = $0 TO $F FOR A8 = $0 TO $F FOR A4 = $0 TO $FConfirmed by this thread: http://ecuhacking.activeboard.com/forum.spark?aBID=99460&p=3&topicID=22449760 The checksum part of the code, from what I can gather, is only for the file that the hexdump is outputted into, s-mot I believe(.s19 extension). It is only used to verify that the transmission has no errors, and is not actually part of the rom. I've had the BasicStamp set-up running, and have had some repeatable results... What are the odds that the ROM has a big chunk of FF's at the beginning of the ROM? Slim to none? Also, when it does seem to be running correctly, it takes a really, really long time for it to output to the hyperterminal. In the thread referenced above, they quote 90min for reading to H'3FFFF and 2 1/2 hrs to read to H'5FFFF. I had it running 6hrs straight and it only made it to 0000:09C0. Here's a link: https://files.me.com/subarutech/6eiyqi S214 is the header of the line, then there are 32 characters which are supposed to be the ROM, and then the last 2 digits are the checksum that the program uses for communication verification. I've checked my wiring from the 7055 pins to the breadboard of the basicstamp board and they all seem good. However, my workspace is also the kitchen table, so everything has to be taken down every night, or morning before my son can get to it. And I've had to re-solder a few of the wires attaching to the TCM AUD ports(they are really small) a few times, but they ohm out ok from the pins of the 7055 to the other end of the wire. I also ended up using a car battery to power the TCM, it holds a rock steady 12.44V while connected. Either the AUD ports or the BasicStamp board seem to be really sensitive to voltage fluctuations and make the output all garbled. I'm thinking of trying to borrow a scope and see if the signals are getting to where they are supposed to be going.
  3. Hey yeah, great if you guys want to have a look at this and let me know what you think, that'd be great! https://files.me.com/subarutech/2fhw4g - BS2 source code You can find the development software here: https://www.parallax.com/tabid/441/Default.aspx According to the activeboard forum where I found this code at, they only needed to read to address 0003:FFFF, I would like to read to address 0007:FFFF- does anything need to be changed in the source code to do this? Another question I have is about the checksum, is the equation the same for any ROM? or are they different from ROM to ROM? or processor to processor?
  4. I believe so, I think Parallax tweaked BASIC for their needs and came up with PBASIC. I remember taking a BASIC programming course way back when in high school, as far as remembering the syntax of it though, I'm at a loss. I realize I have A LOT of reading to do Thanks
  5. That's what I figured, I think the propeller chip felt sorry for me and just to get me excited, output something that looked like it could be code Thanks for taking a look at it
  6. Thanks guys, that's a great idea. I think I know someone with some spares. I did try a smaller resistor on the RST line, but am still only getting 3.98-4V with the propeller activated. I also tried to retrace my changes with the source code to see if I couldn't get a repeatable output, but all I'm getting is 8's, 0's and C's (not in that order, and not in the same addresses) I was poking around RR today and the post by Sasha_A80 about halfway down the page kinda worries me- 10th post down 1st page http://www.romraider.com/forum/viewtopic.php?f=25&t=5825 Maybe this is all for moot anyways I'll probably pick up a BasicStamp kit tomorrow and try this with that just for fun, if it doesn't work the BOE_Bot looks cool, and I could bet money that my 20mo old's toys are controlled by variants of these chips Gotta start somewhere
  7. I'm working with my stock TCM out of my 4EAT equipped 05 FXT. I have switched the transfer section of my stock trans which had a MPT clutch pack style to a VTD or planetary gear set out of a 07-08 FXT, much like the one in the 5EAT, if I remember right. I was able to plug in a TCM from a 05 Turbo Baja equipped with sportshift and the VTD transfer section, with no repercussions, solving the issue of my front/rear wheel speeds not reading the same, and even was able to get the sportshift function working adding a few wires into the connector of the TCM harness and a crude pushbutton shiftbox- that's how I am able to play with the stock TCM. Search MPT vs VTD at subaruforester.org, and it's all there, or I'm pretty sure I linked it in this thread earlier in the thread I believe the Sh7055 was used in the ECM's of the 04 FXT and some WRX's as well, from the datasheet the ROM should be 512Kb I did try to get EcuFlash to read the TCM on the bench, no go. Not sure if it's just an address change in EcuFlash that would enable that or not. @utc_pyro, if you know PBASIC, maybe I should get a BasicStamp2 chip and board and try that instead- from the wiring diagram from the sportbike forum it looks much simpler than that of the propeller board.. no voltage reducing resistors on the AUDATA lines and no pull-up resistor to set AUDRST high. In the forum link I posted above is the SPIN and PBASIC source code for the software they used to read the rom, the IDE's are available for free from the parallax website where the propeller and basicstamp chips are sold. I'll try to host them, as I can't attach a .txt file here https://files.me.com/subarutech/xpnrph - BS2 diagram https://files.me.com/subarutech/2fhw4g - BS2 source https://files.me.com/subarutech/x6a6ki - propeller diagram files.me.com/subarutech/iqcx8k - SPIN source code They only needed to read to 0003:FFFF, according to the 7055 datasheet, the ROM occupies 0000:0000 to 0007:FFFF(this assumes that H'7FFFF= 0007:FFFF) If you could take a look at the PBasic source code and let me know what would need to be changed, if anything, to read that much of the ROM space that would be great. the 7052 AUD section 17 and the 7055 AUD section 19 of the datasheets read word for word, so either of these methods should work. I think part of my problem is that for AUDRST to be set high it needs to see 4.5-5V which I am only seeing 4V, I wonder if I should try a smaller resistor to allow more voltage to get to the RST line to start the debug mode of the chip, also my power source is suspect as well, I'm using a car battery charger at the 2amp mode, the voltage varies between 10.5-12.5 volts according to the selectmonitor, if I set it to the 10amp mode, I see voltage spikes up to 15.5V, not sure if that's safe for the TCM or not. Either way Vcc is 5V on the TCM board. I'm also thinking of getting a amateur radio power source from Radio Shack.. should make the voltage signal really steady. So if I run the propeller chip with the software posted on the ECUHack site I get this output on the hyperterminal: Start... 00000000, error After playing with the propeller board source code and making it impossible for it to see a bus error thereby ending the program, it spit out a bunch of bytes at me, kind of like a byte dump for example: Start... 00000000,000000FC, 00000001,000000FF, 00000002,000000FF, 00000003,000000FF, 00000004,000000FF, 00000005,00000008, 00000006,00000000, I let it run all night, it went way after 0007:FFFF, so I'm not sure if what this is, is valid or not. I'll host that too https://files.me.com/subarutech/qzlquw - possible byte dump of 05 FXT 4EAT TCM the next day I decided to mess with the clk speed on the source code and changed some other stuff that I thought might help, but could not get the output to be repeatable, even after I loaded up the code that spit the above out. All it would do is this: Start... 00000000,00000000, 00000001,00000088, 00000002,000000CC, 00000003,0000008C, 00000004,00000088, 00000005,00000008, 00000006,00000000, I even tried to get it to do a longword read and the byte at 0000:0000 would always be different, this is what makes me believe that I'm not getting the AUD to start correctly on the 7055 chip Thoughts? Suggestions? Constructive Criticism? I'll be the first to tell you that I am probably one of the last people on earth that should be trying to do this as I have no background in electrical engineering or programming, I was just hoping to get lucky. However, this stuff interests me and if I can learn something about the magic black box that controls the car, great! If it ends up being unsuccessful, then I'm no worse off than I was before and the magic black box can still be magic
  8. Welcome back utc, I'd be willing to donate to the TCM hack fund if that's the route it takes. I opened up my 4EAT TCM, and found 64f7055f40 on it, which leads me to believe that it is a SH7055 chip. Then I found this: http://www.activeboard.com/forum.spark?aBID=99460&p=3&topicID=14206571 The thread is old, but they were able to read the memory off of 7052 chips using the AUD. I've bought a propeller protoboard and wired it up and have run it a few times, but can't get it to output anything unless I trick the software to never see a bus error, and then the output is not consistent. Anyone familiar with SPIN, or PBASIC? I've read the Hardware manual of the SH7055 and the AUD function is identical to what they have in the thread above, I'll start a different thread later and see if it can't be troubleshooted. Thanks
  9. It takes much longer than ECUflash does to flash a car, but usually it writes the changes and then does another pass to verify the changes, but I believe that it wipes the rom and writes all new.
  10. to utc_pyro: you have a pm, let me know if you get it, it never shows the messages I send in the sent folder, so I have no idea if it actually gets sent or not. I've been meaning to take some pics of a spare 4EAT TCM that I have, but have to find the charger for the camera as my phone takes crappy pics
  11. I'd be willing to install the resistor in my 05 OBXT, if you still need testers. How do you want it installed? parallel or in series? are you just looking for an increase in line pressure duty? I can get actual line pressures, but that may have to wait until later next week. I also have an 05 Baja sportshift TCU, that I was going to try in my Forester to help with the wheel speed difference issue, I can take pics of it tonight. I have opened it up and does not look anything like the 5eat tcu pictured in the 1st post of this thread or the earlier 4eat tcu's of the SVX pictured on Phil's site
  12. I also pasted those values into the RR logger def .xml file, and they do show up in the table until the ECM connects then they are no longer there. But, I did get my Vag-com cable in and can log my TCM in either vehicle, however I cannot adjust anything for my 4eat- bummer I can reset the TCM and see live data, also with my 5eat, I am able to see live data and have the one adjustment that KYLegacy can get as well, the AWD correction adjustment. I did try to register at beliOS to be able to post in their forum, but never received a confirmation email, and from about 20min ago, it seems like the site is down Would the ROMid have anything to do with connecting to the TCM??
  13. would something like this work to scan the can lines? http://intrepidcs.com/osc_store/product_info.php/cPath/37/products_id/130?gclid=CLWd-LSj16MCFRD75wodUVWVuA
  14. Very cool, were you able to find the init command to talk to the TCM then? I have a vag-com cable on the way, but at this rate it might be ported over to RR before we know it. From the screenshots I see, it looks like freessm writes the changes to RAM or more like a realtime map like Cobb can to the ECU, is that right? I think I can get the .pak file for the TCM update, would that be any use to anyone? The rom has to be in there somewhere, right?
  15. Are you using the HEX+CAN cable or the KKL Vag-Com cable?
  16. Sweet!! looks like I need a vag-com cable:icon_razz
  17. I was able to get a look at my wife's 05 obxt today with the ssm3. The cal id of her TCM is: MB436G And the cal id of the reflash is MB436M So it looks like I could reflash the TCM. I haven't done it yet, and not sure it would help the cause without some sort of monitoring device when it's being reflashed Otherwise, what else would be helpful? A datasheet for the processor chip? That would tell you what the pads are for to use a debugger? And/or the correct init command and address in the TCM to be able to talk to the TCM? Possibly you've made some progress over at RR?
  18. Alright, so I tried the beta logger defs that NSFW posted, with the logger not connected to the vehicle I get most of the beta parameters listed- like this: files.me.com/subarutech/q00bpw Sorry, I'm lazy, and it's already midnight, so rather than convert the files to ones that the forum likes, it's easier for me just to host them on mobileme With both my 05 OBXT 5AT and 05 FXT 4AT connected to the logger, only the beta A/F Correction #3 connects as shown here: files.me.com/subarutech/u7zck5 So, I have the LV Comm logs from both cars if that helps decipher the bytes/bits here: files.me.com/subarutech/41dfg4 - OBXT 5AT files.me.com/subarutech/d0biq5 - 05 FXT 4AT I really want to understand the posts above, but it's still a bit martian to me. If I get a few free hours someday, I may be able to begin to get it.
  19. Does such a device exist? If one would need to be built, what components would be needed? To utc_pyro: I tried to send a couple of PM's to you but not sure if they went through or not, as it does not show in the sent folder, can you PM me an email address, so I can send you some documentation
  20. Ok, well the wiring diagram for the 5AT just shows all the wires going to a box(the valve body), but if you use both the TCM pinout and wiring diagram, you should be able to figure out which wire goes for what. I'm about 30min- 1hr North of Chicago, IL, depending on traffic and how fast you drive:lol: I've sent you a PM B54 is white in color, ATF temp sensor 1 should be a white with green stripe wire at the TCM, sensor 2 is a light green with white stripe
  21. connector B54 of TCM pin #2 = ATF sensor 1, measures temp of fluid in pan. should get approx 2.5V when fluid is approx 68deg F, approx 1V when fluid is 176deg F Same connector of TCM pin #11 ATF sensor 2, measures fluid temp of torque converter outlet. 2.3V cold, .6V hot Both sensors are attached to valve body I have the TCM pinouts if anyone is interested, I'll try getting the wire colors later as both connectors to TCM are the same(05 Legacy anyways), will require more digging in service manual Google: "techinfo subaru" and subaru's tech information site should come up. For a fee, depending on how long you want access, you can see service manuals and download pages. I can't remember if there's a download limit or not Or let me know what you guys need, and I'll try to get it for you I haven't been able to get the wife's car and the ssm3 in the same spot to check her TCM cal id. Would the program you are trying to use to scan for the TCM help if it can use the reflash?
  22. All the shift kits, and stand alone control boxes that I can find are for the earlier 4EAT's without direct control valve bodies, mine has a direct control valve body, like the one in the 5AT Not sure how long the 05 flash has been out, but the 08-09 one has been out for at least a year if not longer, and there is only one update for each Correct, if your car had a DTC that the reflash fixed in the TCU, they would flash the TCU
  23. Also, check this thread out. It's 4EAT based, but he put a 10W 6ohm resistor parallel with the line pressure solenoid to boost pressure, I haven't done that yet, but am really thinking about it http://www.subaruforester.org/vbulletin/f89/tc-lockup-mod-06-fxt-38281/
  24. I can help you with this if your local dealers are unwilling. There is a 5EAT update for the 05 LGT and OBXT for DTCs, none for 06-07, and there is one for the 08-09 LGT and OBXT for shifting issues. I wouldn't know how to get just those files, but if you have a sniffer program, that might work. However, you would only be able to reflash a TCM with an older Calibration ID, if the TCU that you are trying to flash with the update already has the latest calibration for that TCU, it will not flash it, but you may be able to get the access address. My wife drives an 05 OBXT, I'll see if hers has the latest update. I really need the 4EAT TCU hacked, I've installed a VTD center diff in my 05 FXT, it originally came with a MPT center diff, and the rear speed sensor now reads wrong because of different number of teeth on the sensor wheel. If I was able to procure a donor 4EAT TCU and followed the same steps that you've done in this thread, but in a different thread, would you guys be willing to help or at least point me in the right direction. I have no problem doing the footwork and reading and researching, but I have no background in this kind of stuff, and would most likely need help with the software end of things Also did your class have a textbook? does it have an ISBN number? Or, can anyone recommend a book on assembly language, micro-controller programming? That I could try to wrap my head around. Thanks
×
×
  • Create New...

Important Information

Terms of Use