Oggi dopo pranzo, avendo ricevuto tutti i componenti per farlo, ho realizzato in casa un cavo di connessioene ECM --> PC e l'ho testato con successo tramite ECMSPY.
PEr chi fosse interessato di seguito metto un po di info:
1) SOFTWARE
Che cos'e' ECM SPY:
L'ECM SPY e' un software open-source, sviluppato da appassionati tedeschi, viene distribuito gratis in lingua inglese e tedesca (l'ultimo aggiornamento ha anche lo spagnolo e il francese)
e molto usato dai bueller americani (vedi sul forum di badweb e
http://www.buelletinboard.com/forums/in ... c50cf158b3 e
http://www.badweatherbikers.com/) che condividono tra loro le mappature e altre info interessanti...
Con ECMSPY, trovi tutte le info d'uso e puoi salvare, anzi devi salvare la mappatura stock della centralina, in modo da poterla resettare qualora facessi errori, anche perche' il rischio e' appunto quello di starare tutto e non risucire piu a mettere a posto le cose.
-----------------------------
Note delli'ideatore di ECMSPY.
About ECMSPY:
EcmSpy - The Idea behind
Frankfurt, July 2007
The idea for this project has been developing for some time. I was alerted through a posting in the german XBORG forum, where a freely programmable ECU for the Buell was announced. Naturally this turned out to be some expensive software to modify the Buell ECM, which had to be purchased.
At the beginning of the same year I had bought my Buell and wondered whether it would be possible to establish communication to the Buell's ECM without using expensive tools. At that time it was my goal to get as much information out of the ECM, to sufficiently supply a MegaSquirt ECU with all the data required to gain control over the fuel injection system and swap the Buell's ECM with a MegaSquirt ECU.
Unfortunately this approach failed because of the simple fact that the MegaSquirt-II's firmware did not fully support V-type engines at that time. So I began thinking about programming my own firmware, not for the original MegaSquirt but for a descendant of it, the MegaSquirt AVR. I had worked with AVR microcontrollers before and started to write the first parts of my own software.
All the maps and lists needed were unknown, so I had to find a way to get this data. Therefore I designed a "Buell simulator", which copied the most important signals of a Buell well enough that the original ECM could be attached to it and did not react with an error. Naturally no driving conditions could be simulated, but it was sufficient to monitor the injector pulses and measure them in relation to the engine's revolutions and throttle position.
Then the idea came to me, why not use my measuring equipment to find out how to directly communicate with the ECM, as some other software did so too. To my excitement it turned out that a simple serial connection was used to exchange data between a PC and the ECM. At the next step I started to decode the contents of data sent from the ECM. Now the two years experience I have with fuel injection controllers and the software used in them paid off, because within a few weeks more than half of the runtime data (temperatures, number of revolutions, injection duration etc..) had been discovered.
After some time I became aware, that I would need some support because such a project would be too large to run alone, apart from the fact that I would never be able to write software for a PC. For this reason I started enquiring in the XBORG forum in order to recruit some helpers and to check the demand for such software. Since then approximately half a year passed by and the results are respectable: the EcmSpy team increased to six developers and the software both for the PC and PalmOS PDA is available for download. Some future plans include some hardware modules, which will to be used as datalogger and display.
Lots of thanks to all developers and supporters, who worked on their parts with a great amount of devotion and dedication. As always some important work takes place in the background, as some web space had to be obtained and the ecmspy.de domain had to be registered. Werner, the admin of the XBORG forum, provided us with all that and therefore I want to thank him sincerely. Lots of people unmentioned put efforts into the development and improvement of our little tool and I would like to express my gratitude. I wish and hope that all our work pays off and the EcmSpy project will be helpful for all it's users.
Gunter 'id073897' Baumann
---------------------------------------
LINKS:
sito ufficiale.
http://www.ecmspy.com/
guida in lingua inglese per ECMSPY :
http://www.ecmspy.com/download/BuellTun ... N_V1.6.pdf
2) HARDWARE
L'harware necessario e' un semplice cavo di connessione USB da utilizzare sul PC ove abbiamo installato il ns. ECMSPY...
E' importante utilizzare il cavo della FTDICHIP (poiche' e' testato come quello funzionante al 100%)
Materiale necessario per realizzare il cavetto:
1) Cavetto USB FTDIchips TTL-232R
acquistabile a questo link:
http://apple.clickandbuild.com/cnb/shop ... egoryID=47
2) connettore DEUTSCH della Battsracing mod. DT04-S 16-18 AWG (consiglio quello in oro ma va benissimo anche con i contatti in nikel)
3) forbice da elettricista
4) nastro isolante
5) spela cavi
6) pinza (quella con le varie asole per stringere morsetti elettrici, non so il nome tecnico)
7) un po di pazienza e 5 minuti di tempo
NOTE: sara' necessario ricordarsi di installare sul pc dove abbiamo ECMSPY anche i driver del cavo USB, che si scaricano qui:
http://www.ftdichip.com/Drivers/CDM/CDM%202.04.06.exe (si tratta di un software di setup eseguibile per Vista 32/64 bit e Xp tutte le versioni)
Come costruire il cavetto di connessione:
- prendere il cavo USB sopra menzionato che e' il migliore poiche' utilizza un chip proprietario, questo:
E che fa riferimento a questo diagramma:
e permette molteplici connessioni (IN PARTICOLARE QUELLA CON LE COENTRALINE VDO della nostra Buell

) ed oltre ad essere compatibile col driver sopra menzionato che consente di emulare una porta COM (RS232 orami scomparsa sugli attuali pc di commercio) sulla USB...
ecco il cavo come si presenta appena tolto dalla confezione:
- disassemblare il connettore
andra' semplicemente levato il coperchietto in gomma che e' il lato dal quale faremo passere i cavi (gli altri componenti sono gia scomposti);
- tagliare il cavo USB all'altezza del connettore piatto e assemblare i contatti metallici del ns. connettore:

;
- inserire i pin (contatti metallici) sui cavetti che avremo avuto cura di spelare per circa 1cm (dopo il taglio del connettorino sul cavo usb, togleremo la guaina termorestringente e leveremo un po di guina nera circa un 4-5cm)
andranno usati solo 3 dei sei cavetti interni: il giallo, il nero e l'arancione
una volta inserito il pin sul cavetto, andra' pressato con l'apposita pinza e si otterra' questo risultato:
- inserire i pin nel gommino passacavo/passaparete che avevamo disassemblato, avendo cura di metterli nel modo appropriato
- inserire uno per volta i pin nel connettore avendo cura che:
al pin 1 corrisponda il cavetto arancione
al pin 2 corrisponda il cavetto nero
al pin 3 corrisponda il cavetto giallo
(sbagliare l'inserimento puo' causare un danno alla centralina ECM della moto)
il risultato e' questo:

(vista lato inserimento plug sulla moto)

(vista lato porta USB con i cavetti inseriti correttamente)
- Riporre la parte arancione
rigida che blocca definitivamente i pin appena installati, avendo cura che si aggangi col classico click
- Fare qualche giro di nastro isolante in modo da coprire i cavetti non utilizzati
Il cavetto e' pronto all'uso

.
Ricapitolando:
Il cavo e' acquistabile qui'
http://apple.clickandbuild.com/cnb/shop ... d+variants
( e' quello con codice TTL-232R, gli altri non vanno bene)
il connettore e' acquistabile qui':
http://www.deutschconnector.com/product ... ctors.html (il modello da ordinare e' il DT06-4S-Assy, meglio se prendete la versione: SOLID SOCKETS gold 16/18 AWG )
- ricordarsi di installare i driver di emulazione porta RS232 o COM altrimenti il PC non potra' comunicare con la centralina ECM della ns. Buell
programma di installazione driver versione 2.04.06 (per Windows tutte le versioni 2000, Xp, Vista e server 2008 esclusa la 98 e precedenti versioni di server eseguibile qui':
http://www.ftdichip.com/Drivers/CDM/CDM%202.04.06.exe (scaricare e poi eseguire il progrmma scaricato)
- Leggere attentamente la guida di ECMSPY, sopratutto iniziare utlizzando la modalita' base e non attivare quelle estese (che possono farci causare danni)
link alla guida in Inglese:
http://www.ecmspy.com/download/BuellTun ... N_V1.6.pdf
link alla pagina per scarica il software ECMSPY versione 1.12.1 per Pc windows:
http://www.ecmspy.com/download/EcmSpySetup.exe
ciauz
