Mitsulogger for iPhone??
Mitsulogger for iPhone??
I've never been able to afford a Mac, however I recently had become motivated to build a VMWare "Hackintosh" until I can finally buy one.
I have since updated the VMWare image, and installed the iPhone SDK and XCode.....
Anyway, About a year ago, I built a USB Host adapter for the iPhone, I recently got it to recognize the Openport 1.3u cable (actually the FTDI KKL cable which shares similar hardware) and a Thumb Drive (though the O/S won't do anything with it)
What does this mean, well, it means that I am able to read/write serial data through the accessory port API's on the iPhone 3GS (It doesn't work on a 2G Iphone and I don't own a 3G second gen or any version of the touch)
I've done some very very very rudimentary work using the iPhone developer tools on a Hackintosh in VMware, I'm not much of a C++ programmer so learning Objective C and getting up to speed and doing anything productive just hasn't been a fast process.
My first experiments have been somewhat encouraging, I've been able to set the baud rate, initialize the interface, and read a few bytes from a 2005 Evo ECU on a bench harness.
In reality this doesn't mean much, I had to use some undocumented API's to set the unusual baud rates required, so the odds of an app like this being approved for the app store are pretty low.
However this is a MAJOR step if there is any real market/need/desire for this stuff anymore.
I have since updated the VMWare image, and installed the iPhone SDK and XCode.....
Anyway, About a year ago, I built a USB Host adapter for the iPhone, I recently got it to recognize the Openport 1.3u cable (actually the FTDI KKL cable which shares similar hardware) and a Thumb Drive (though the O/S won't do anything with it)
What does this mean, well, it means that I am able to read/write serial data through the accessory port API's on the iPhone 3GS (It doesn't work on a 2G Iphone and I don't own a 3G second gen or any version of the touch)
I've done some very very very rudimentary work using the iPhone developer tools on a Hackintosh in VMware, I'm not much of a C++ programmer so learning Objective C and getting up to speed and doing anything productive just hasn't been a fast process.
My first experiments have been somewhat encouraging, I've been able to set the baud rate, initialize the interface, and read a few bytes from a 2005 Evo ECU on a bench harness.
In reality this doesn't mean much, I had to use some undocumented API's to set the unusual baud rates required, so the odds of an app like this being approved for the app store are pretty low.
However this is a MAJOR step if there is any real market/need/desire for this stuff anymore.
http://pargon.nl/?p=6
Thats similar to the original adapter I put together, its original purpose was the allow sync to a physical serial port.. I had success at that time using the serial port and communicating to a host system (FROM THE iPHONE using a jailbroken phone and communicating with the host system using a serial terminal app for the jailbroken iphone)
If you notice the dock connector doesn't appear to have a complete serial port implementation, so you have to init the ECU at 5baud then switch to the communication baud rate.
These are nonstandard rates and therefore "Difficult" to convince the iPhone to do for you.
Thats similar to the original adapter I put together, its original purpose was the allow sync to a physical serial port.. I had success at that time using the serial port and communicating to a host system (FROM THE iPHONE using a jailbroken phone and communicating with the host system using a serial terminal app for the jailbroken iphone)
If you notice the dock connector doesn't appear to have a complete serial port implementation, so you have to init the ECU at 5baud then switch to the communication baud rate.
These are nonstandard rates and therefore "Difficult" to convince the iPhone to do for you.
Last edited by MalibuJack; Nov 21, 2009 at 11:25 AM.
I've never been able to afford a Mac, however I recently had become motivated to build a VMWare "Hackintosh" until I can finally buy one.
I have since updated the VMWare image, and installed the iPhone SDK and XCode.....
Anyway, About a year ago, I built a USB Host adapter for the iPhone, I recently got it to recognize the Openport 1.3u cable (actually the FTDI KKL cable which shares similar hardware) and a Thumb Drive (though the O/S won't do anything with it)
What does this mean, well, it means that I am able to read/write serial data through the accessory port API's on the iPhone 3GS (It doesn't work on a 2G Iphone and I don't own a 3G second gen or any version of the touch)
I've done some very very very rudimentary work using the iPhone developer tools on a Hackintosh in VMware, I'm not much of a C++ programmer so learning Objective C and getting up to speed and doing anything productive just hasn't been a fast process.
My first experiments have been somewhat encouraging, I've been able to set the baud rate, initialize the interface, and read a few bytes from a 2005 Evo ECU on a bench harness.
In reality this doesn't mean much, I had to use some undocumented API's to set the unusual baud rates required, so the odds of an app like this being approved for the app store are pretty low.
However this is a MAJOR step if there is any real market/need/desire for this stuff anymore.
I have since updated the VMWare image, and installed the iPhone SDK and XCode.....
Anyway, About a year ago, I built a USB Host adapter for the iPhone, I recently got it to recognize the Openport 1.3u cable (actually the FTDI KKL cable which shares similar hardware) and a Thumb Drive (though the O/S won't do anything with it)
What does this mean, well, it means that I am able to read/write serial data through the accessory port API's on the iPhone 3GS (It doesn't work on a 2G Iphone and I don't own a 3G second gen or any version of the touch)
I've done some very very very rudimentary work using the iPhone developer tools on a Hackintosh in VMware, I'm not much of a C++ programmer so learning Objective C and getting up to speed and doing anything productive just hasn't been a fast process.
My first experiments have been somewhat encouraging, I've been able to set the baud rate, initialize the interface, and read a few bytes from a 2005 Evo ECU on a bench harness.
In reality this doesn't mean much, I had to use some undocumented API's to set the unusual baud rates required, so the odds of an app like this being approved for the app store are pretty low.
However this is a MAJOR step if there is any real market/need/desire for this stuff anymore.
Maybe download a map from your tuner and upload while at the track. I have fantasied about such working however I have little or no programming skills. Im much more adept with a socket or wrench.
It was kicking my as last week to put Windows7 on my new MacBook with Parallels, and the only reason I did that was so I could run my Auto Enginuity software to scan OBD-II and diesel truck cylinder contribution, buzz test, as well as log.
Good luck
Oh I had also forgotten to mention that I began porting Mitsulogger to MacOSX (Leopard and Snow Leopard) since I don't rely too heavily on third party components for a large portion of mitsulogger and the .NET libraries for OSX (and Linux) have matured to the point that it more or less works with a few small issues.
Reflashing unfortunately probably won't happen without more access to low level API's, and the reflash feature requires the voltage to be boosted by combining the 12v of the battery with 5v from the port.. Any Smartphone Host adapter wouldn't provide any power to its port, if it did, it wouldn't be enough to trigger reflash (2 to 3.2v if it were possible, not quite enough to power up anything other than a very small thumb drive)
Reflashing unfortunately probably won't happen without more access to low level API's, and the reflash feature requires the voltage to be boosted by combining the 12v of the battery with 5v from the port.. Any Smartphone Host adapter wouldn't provide any power to its port, if it did, it wouldn't be enough to trigger reflash (2 to 3.2v if it were possible, not quite enough to power up anything other than a very small thumb drive)
Trending Topics

Seriously jack. If I can help, let me know. It's too bad I still have a 2g iphone. It was $599 with a 2 year contract!
d
Subscribed.
I have a 3gs IPhone, and use macintosh osx snow leopard. I am alright with programming and took a few classes on C++, so if you need me to test, or help out at all let me know...
Best of luck!
I have a 3gs IPhone, and use macintosh osx snow leopard. I am alright with programming and took a few classes on C++, so if you need me to test, or help out at all let me know...
Best of luck!
A little tease..
It doesn't do much yet, it basically just initialized the interface and gets back an acknowledgement when its connected.
Right now I'm evaluating Mono, MonoDevelop, and Monotouch for this, which made it a little easier to get this far.. But its getting there I suppose..

The hard part is actually getting information on how to recognize and utilize the accessory port (The same port that others are using to create external GPS devices and whatnot since it works almost identically) without using undocumented API calls.
It doesn't do much yet, it basically just initialized the interface and gets back an acknowledgement when its connected.
Right now I'm evaluating Mono, MonoDevelop, and Monotouch for this, which made it a little easier to get this far.. But its getting there I suppose..

The hard part is actually getting information on how to recognize and utilize the accessory port (The same port that others are using to create external GPS devices and whatnot since it works almost identically) without using undocumented API calls.



