FinalGear.com Forums  

Go Back   FinalGear.com Forums > General Discussion > Technology

Welcome to the FinalGear.com Forums!

This is the place to discuss everything related to Top Gear, Fifth Gear, and more! However, to gain full access to these forums, you will need to register. As a registered member, you will be able to:

  • Remove all ads from the forums. If you've taken the time to register, we'll thank you by not bothering you with them.
  • Make your own posts and threads. The shows' producers have been known to read these forums, so you may just influence the shows by posting here!
  • View the Video Offers and Video Requests forums which contain lots of great content.
  • Get to know a bunch of friendly people and participate in an ever-growing community.

All this and much more is available to you absolutely free when you register for an account, so sign up today!

If you have any problems with the registration process or logging into your account, you can contact us. Already have an account? Login to the upper-right to hide this message and all advertisements on the forums.


Technology Computers, gadgets and everything else.

Reply
 
LinkBack Thread Tools Search this Thread
Old May 29th, 2007, 05:05 PM   #1
"bangle for president"
 
bone's Avatar
 
Joined: Jan 14th, 2004
Last Online: Yesterday
Location: belgium!!
Age: 24
Posts: 6,085
Car: yamaha banshee (and an opel astra from work)
Rep Power: 29
bone has between 150 and 249 reputationbone has between 150 and 249 reputationbone has between 150 and 249 reputation
Send a message via MSN to bone
Default i need a hardware programmer!!

i've got this:
http://users.pandora.be/bone/comp/Afb026.jpg
http://users.pandora.be/bone/comp/Afb028.jpg
http://users.pandora.be/bone/comp/Afb027.jpg

they're car computers in which you can change ignition, injector, timing, .. with all sensors you can imagine (lambda, air temp, throttle posititon, ...)

they've been laying around for more than 5 year, but we want to use them again.

first problem we have is that if we connect it to the laptop which has always been used to program the cpu (win98), the laptop freezes. but i think that's more a prob with the laptop (or the cable) than with the cpu.

second problem..i need that sourcecode! (and not in binary) i have no idea what processors are on there (all filed blanc), and have no idea what program i should use to get to it (hyperterminal or sth? or do i need a program distributed by the cpu-maker?), or even by what means. caus my my new laptop doesn't have a com port anymore images/smilies/mellow.gif

anyone got an idea?
__________________

groups/artists i've seen live: coldplay, the cure, cypress hill, damian marley, deftones, depeche mode, dEUS, franz ferdinand, grandaddy, guns n' roses, interpol, jamiroquai, korn, lenny kravits, marilyn manson, massive attack, metallica, moby, muse, the pixies, placebo, prodigy, queens of the stone age, the raconteurs, radiohead, red hot chili peppers, REM, skin, tool, the who, Wu-Tang
and so many more...
bone is offline   Reply With Quote
Want To Remove This Ad? Just Register For A FREE Account!
Old May 29th, 2007, 10:34 PM   #2
 
Joined: Mar 6th, 2007
Last Online: December 28th, 2008
Location: Brisbane, Australia
Posts: 20
Rep Power: 0
evan_a has between 10 and 49 reputation
Default

What kind of connection does it use?

The latest version of VMWare workstation or player will passthrough COM1 (grab a usb-rs232 converter and muck around with the com numbers), so you load win95 on your VM (or image your laptop to it if it lasts that long).

I'd assume you could then HT to it.

Hope this helps... images/smilies/smile.gif
evan_a is offline   Reply With Quote
Old June 4th, 2007, 02:12 PM   #3
"bangle for president"
 
bone's Avatar
 
Joined: Jan 14th, 2004
Last Online: Yesterday
Location: belgium!!
Age: 24
Posts: 6,085
Car: yamaha banshee (and an opel astra from work)
Rep Power: 29
bone has between 150 and 249 reputationbone has between 150 and 249 reputationbone has between 150 and 249 reputation
Send a message via MSN to bone
Default

not realy images/smilies/sad.gif

by now i figured out the processor used is AM2-7C256-55DC 9704MPM, but i don't think that's of any significance

iirc, it's the memory that's important. that's a Xicor x28C64P-15 DA 526. a little research on the net showed that's an E2PROM. meaning it's an "electrically eraseable programmable read-only memory", which, if you ask me, makes no sense. how can a read only memory, be programmable?????

i also had a look at my final term project, where i programmed an atmel processor/memory, and i had to use a prog called AVR ISP to access/program the memory. but that program is specific for atmel stuff. does Xicor have sth similar? their homesite doesn't seem to exist anymore images/smilies/wacko.gif

it's quite obvious that not many people here will have an answer in 2 minutes, but does anyone know a site where i might have better odds?
__________________

groups/artists i've seen live: coldplay, the cure, cypress hill, damian marley, deftones, depeche mode, dEUS, franz ferdinand, grandaddy, guns n' roses, interpol, jamiroquai, korn, lenny kravits, marilyn manson, massive attack, metallica, moby, muse, the pixies, placebo, prodigy, queens of the stone age, the raconteurs, radiohead, red hot chili peppers, REM, skin, tool, the who, Wu-Tang
and so many more...
bone is offline   Reply With Quote
Old June 5th, 2007, 01:21 AM   #4
 
DrJustice's Avatar
 
Joined: May 25th, 2007
Last Online: January 22nd, 2008
Location: Norway
Posts: 47
Rep Power: 0
DrJustice has between 0 and 9 reputation
Default

Bones,

E2PROMs (more commonly called EEPROM) are indeed (re)programmable, but only using a special procedure and/or equipment. Since it can't be written on the fly by the running program it is classified as read only memory.

The pictured system seems to have that EEPROM, an EPROM (the one with the window, only erasable by intense UV light) and an SRAM - a fairly standard memory setup for older embedded systems. My guess is that the EPROM holds the program, and the EEPROM holds the data tables that make up the ignition advane curves and so on. The CPU, running it's software from the EPROM, then performs not only the function of ignition control etc., but also the function of an EEPROM programmer, taking intsructions for the programming procedure and the datastream through the serial port. Thus there is probably no source code involved (unless you are the manufacturer), just some datafiles and a PC program to transfer them to this unit using via a COM port.

So, this thing has the equivalent of an AVR-ISP built in, so to speak. But not for changing the program itself, just the data tables. What you really need to take control of a system like this is the specification for the serial protocol, or better yet, the reprogramming utility software, and ouf course the appropriate data files for the intended application ('application' meaning the types of sensors, ignition system etc. and the wanted interaction between those).

You mention that you want to use it /again/ - did you program it yourself previously, and if so can you remember the exact procedure? If you have nothing to go on, we are talking about reverse engineering and that is a bit too much for this posting images/smilies/smile.gif

Mind you, all the above is just based on the pictures of the box and how typical embedded systems like that hangs together. With some luck other board members may recognise this unit and be of a bit more help than I'm able to.

As you have observed, newer PC's tend to no longer have serial or parallel ports, which is a bit of a bummer. You do get USB to serial port adapters for 10-20 dollars though.

BTW: The 28C64 is a fairly standard part, although a bit of an oldie. Atmel still makes them and you'll find the datasheet and some application notes here.

DJ
--
DrJustice is offline   Reply With Quote
Old June 8th, 2007, 12:53 AM   #5
You know you want me..
 
Quiky's Avatar
 
Joined: Aug 21st, 2005
Last Online: Yesterday
Posts: 2,295
LFS Status: LFS Status
Rep Power: 169
Quiky has a reputation beyond reputeQuiky has a reputation beyond reputeQuiky has a reputation beyond reputeQuiky has a reputation beyond reputeQuiky has a reputation beyond reputeQuiky has a reputation beyond reputeQuiky has a reputation beyond reputeQuiky has a reputation beyond reputeQuiky has a reputation beyond reputeQuiky has a reputation beyond reputeQuiky has a reputation beyond repute
Send a message via Skype™ to Quiky
Default

Yeah, I deal with those chips all the time. To erase and reprogram them, you need the UV eraser (Few hundred $), and a eprom/eeprom programmer (another few hundred $$$).

The code that comes from them is typically 256kb of HEX data- not source. Any direct edits of that data will be dangerous if not done properly..
__________________
+ Rep me, and fight the lazy Viper007Bond!
Quiky is offline   Reply With Quote
Old June 8th, 2007, 01:04 PM   #6
 
DrJustice's Avatar
 
Joined: May 25th, 2007
Last Online: January 22nd, 2008
Location: Norway
Posts: 47
Rep Power: 0
DrJustice has between 0 and 9 reputation
Default

I don't think bone need to reprogram the EPROM (27Cxx), but the EEPROM (28Cxx) which is most likely in system programmable. So no need for UV eraser an programmer then, which is good for the budget images/smilies/smile.gif

Are you getting anywhere, bone?

DJ
--
DrJustice is offline   Reply With Quote
Old June 8th, 2007, 06:02 PM   #7
"bangle for president"
 
bone's Avatar
 
Joined: Jan 14th, 2004
Last Online: Yesterday
Location: belgium!!
Age: 24
Posts: 6,085
Car: yamaha banshee (and an opel astra from work)
Rep Power: 29
bone has between 150 and 249 reputationbone has between 150 and 249 reputationbone has between 150 and 249 reputation
Send a message via MSN to bone
Default

nowhere at all

i can code basic software in almost any language you can imagine, but i think a chimp will have more insight into hardware than i do images/smilies/sad.gif

i have no idea how to even start

and it doesn't help that xicor hasn't got a website either. all i can find are datasheets, which only are usefull once you have the code.

PS: is there an (easy) way to copy the code to an identical chip? that might help me (so i can make one for on my quad), but not the guy who owns these, he wants to put them into rally cars again

i can show some capabilities of if though
http://users.telenet.be/bone/ECU/advance-throttle.JPG
how much miliseconds the ignition needs to be advanced at a certain RPM (top row - goes to 9000) according a certain throttle position (left column)
you can also set advantage according to intake pressure (for turbo) and according to traction

http://users.telenet.be/bone/ECU/time-rpm.JPG
how long the ignition should last at a certain RPM

http://users.telenet.be/bone/ECU/time-throttle.JPG
for how long fuel should be injected at a certain RPM, according a certain throttle position.
here you can set according to intake pressure as well. and you can set for each rpm, after how many degrees it should stop with injecting

http://users.telenet.be/bone/ECU/correction.JPG
how much % the injection should be altered according to outside air temp, according to coolant temp, alternator voltage, CO2
for the same criteria you can also set an advantage and a timelapse for the ignition

and a logging of each action the engine and drive make, and a feature to test every coil, injector, spark plug, thermostat,...
and so much more.
__________________

groups/artists i've seen live: coldplay, the cure, cypress hill, damian marley, deftones, depeche mode, dEUS, franz ferdinand, grandaddy, guns n' roses, interpol, jamiroquai, korn, lenny kravits, marilyn manson, massive attack, metallica, moby, muse, the pixies, placebo, prodigy, queens of the stone age, the raconteurs, radiohead, red hot chili peppers, REM, skin, tool, the who, Wu-Tang
and so many more...

Last edited by bone; June 8th, 2007 at 06:44 PM..
bone is offline   Reply With Quote
Old June 9th, 2007, 02:23 AM   #8
 
DrJustice's Avatar
 
Joined: May 25th, 2007
Last Online: January 22nd, 2008
Location: Norway
Posts: 47
Rep Power: 0
DrJustice has between 0 and 9 reputation
Default

Quote:
Originally Posted by bone View Post
PS: is there an (easy) way to copy the code to an identical chip?
Yeah - but then you'd need a device programmer supporting the 28Cxx family. You'd also need to pull the chip, and it looks like its soldered in (not socketed), so that's a desoldering job then - no problem for anyone competent with soldering though. Devce programmers can be had from a few quids on eBay and upwards; here's a bunch of them (sorry, I have no recommendation for a specific good/cheap one, the one's I'm used to cost lots of $$$, and I've not really had to use one for the last 6-7 years or so sine pretty much everything is in-system programmable now). Are you thinking of backing up the current contents of that chip?

However, it seems to me that you have what you need with that piece of software. It can obviously edit the data files and presumably transfer them to the ECU (ref. the message: "!!! ECU system offline !!!"), and I'd not be surprised if it can read the current tables and store them to files for backup/inspection. This is pretty much what I'd expect from the support software for such a device. So if you have the ECU powered up and a PC with a COM port and a suitable serial cable, I'll bet two bytes and a nibble that this can be turned into a workable situation... hopefully, any additional stumbling blocks would not be worse than a programming enable jumper on the board or some such thing.

I did forget to ask if you have any kind of documentation for it, but I guess you'd have let us know about that by now images/smilies/tongue.gif

Too bad I'm not in Belgium, I'd love to pop over and have a go at it...

DJ
--

Last edited by DrJustice; June 9th, 2007 at 02:27 AM.. Reason: typos
DrJustice is offline   Reply With Quote
Want To Remove This Ad? Just Register For A FREE Account!
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Go Back   FinalGear.com Forums > General Discussion > Technology
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Who's spent money on hardware specifically for TG/FG videos? epp_b Technology 4 October 4th, 2006 01:40 AM
recording hardware & software mike_tseng Technology 11 July 10th, 2005 05:52 AM
Logitech Formula GP brake pedal hardware trouble pdanev Technology 1 April 13th, 2005 12:07 AM
[tracker hardware] wouldnt it be nice... bigfoot1942 Technology 2 January 6th, 2005 11:25 PM

All times are GMT. The time now is 12:44 AM.
All content © FinalGear.com unless stated otherwise.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Page generated in 0.28856 seconds with 19 queries