History of MembersPage/MikaPesonen
Older Newer
2017-12-22 13:11:39 . . . . 84-236-32-44.pool.digikabel.hu [triggerframe link (best to use that, not old A)]
2017-12-16 08:09:31 . . . . 87-93-7-22.bb.dnainternet.fi [Update 2017]
2008-04-12 11:28:28 . . . . hoas-fe18dd00-141.dhcp.inet.fi [change]


Changes by last author:

Changed:
Arduino pulls data from VEMS rs232 and pushes values to CAN-BUS in Mazda specific format. Seems to work exceptionally well even though still using only 9600 bps serial and 'A' requesting VEMS.
Arduino pulls data from VEMS rs232 and pushes values to CAN-BUS in Mazda specific format. Seems to work exceptionally well even though still using only 9600 bps serial and 'A' requesting VEMS.

Note: "new" firmware uses SerialComm/TriggerFrameFormat

* the old no-CRC Man commands, and outright dangerous 1-byte megatune-compatible commands are disabled by default, because noise on the serial line causing config change is never good

* some "preamble" command B1 "leave TF mode " can instruct the VEMS v3.x ECU fw to go to compat communications mode, at your own risk

** (7E) B1 7F 34 (7E) since modbus CRC of B1 is [347F] and CRC is sent little endian (even though modbus is bigendian, funny standards). But instead of "A" mode: it is rather easy to query and interpret TF response, we can most certainly help (with code examples) if you have such will and project page dedicated

* We usually recommend stm32f103 for such serial to CAN at bare minimum (actually we use stm32 for real time comm and control anyway) if temperature reliability is an issue

** orange pi PC is a full power ARM computer (computer means that it can build its own software, which a controller usually cannot do), with 512..1024 MByte RAM, running even Perl or Python (even open-GL games), easier to program,

** for logging to SD FAT filesystem with timestamps, we have code for both stm32 and orange-pi, but orange-pi wins when communicating over wifi, or WAN, or doing other (usually display, logging, video or audio, relay and comm) tasks; if cooling fins are installed, underclocked (to say 480 or 720 MHz), not installed in engine bay, given reasonable testing, and not mission critical.