Firmware
2006.04.18.
Finally went to firmware 1.0.38 which controls BMW idle solenoid nice. (Previous used versions were 1.0.14rc, 1.0.30rc2 - both hacked for iac)
Upgrade was not easy as car was going like shit (very weak) thanks to new ALS variables, which I wasn't able to disable completely, and retarded my ignition to hell.
I suggest to everyone to double-check changed new-old variables with comparing mcd outputs, and don't expect that FF always means disabled, like I did...
Now it seems ok.
Obsolete
Since I need to have customized code for IAC, tried to compile new firmware. This is not so easy in windows.
There's a great howto at MembersPage/JohanEriksson/VerThreeFirmForDummies but I had problems
When I tried "make all" from cmd.exe:
...
make (e=2): The system cannot find the file specified.
make: *** [vems.o] Error 2
I get the same from cygwin's sh.exe, and in sh.exe from unxutils
I've found that it was nothing to do with the shell and make.exe, but with avr-gcc.exe which wasn't found. (Since it was not in path)
I've found that spaces are not welcome in winavr's path, and Marcell said that if 'lib' environment variable is set (to anything) that confuses make.exe, so I made a batch file which sets the environment before I can say "make all".
It is like:
set lib=
set path=%path%;D:\VEMS\winavr\bin\;D:\VEMS\winavr\utils\bin\;
After that I was able to compile the firmware succesfully. Thanks for the ideas Cell and Ben.
About setting prog.pl under win32:
- Had an ActivState perl installation
- Had to download SerialPort.pm, it's in Win32-SerialPort-0.19.tar
- Had to download and install win32-api pm, which was in Win32-API-0.41.zip. This one really need to be installed not just having copied into lib directory.
- To install: > ppm
- >add repository name_of_the_package_folder
- >install win32-api