Mazcan Project Blog
Vehicle communications, embedded hardware and linux
Vehicle communications, embedded hardware and linux
Nov 9th
I’ve been doing some experiments with Quartz Composer and got a mockup of the Data Acquisition Overlay. I will explain how to do a similar thing soon. Now enjoy a test-video!
MazHUD Overlay Test from Jesús F. Trujillo on Vimeo.
In the ToDo list remains the development of a Quartz Composer plugin capable of reading the telemetry.
Oct 21st
Doing this we get a the compiled module binaries of the SocketCAN subsystem for the Dropad A8
Oct 21st
Dropad A8 with Evolution 2.0 R4 (998Mhz) thanks to prox32, the ROM comes rooted so we only need to install Terminal Emulator
Two interesting things on the listings, first the kernel version stated as 2.6.35.7 and second compiler version gcc 4.4.1 and Sourcery G++ Lite 2009q3-67. Now we can setup out compiling environment!.
Sep 7th
Hey!. I don’t forget about my 4-5 loyal readers!, this summer in a word has been intense, shortly after returning from Campus Party in Valencia, put my hands on the Land-tiger board and developed a beta firmware, the goal is to make a full compatible CAN sniffer which presents to linux as a network interface.
I think I accomplished my task with good results, now Mazcan can sniff any traffic from the vehicle network’s and do a passthrough to the USB controller and then all the way to linux kernel. I think the firmware task is almost done in the absence of a few new features including a SD module logger, a GPS and an IMU. I will post all the details in the next months about implementation and other thoughts!.
Now, at the end of the Summer, a new course is going to start and i hope this will be my last year in my ¿MSc? (5year full-time degree) in Computer Science. I have some doubts about the latter because in Spain there were two Computer Science degrees, a full-time 3 year (Ingeniería Técnica) and a full-time 5 year degree (Ingeniería Superior) and conversion is not very clear on the pre-2010 courses, this have changed since 2010 and now there’s only a 4year Degree (Grado) and an optional 1year MSc (Master) which engages the European Higher Education Area (Bologna process).
Anyway, last year students must elaborate a dissertation to obtain the degree, usually dissertation is chosen from a catalog of projects offered by the departments but students can propose their own dissertation topic which must be accepted by a department lecturer. I’ve presented Mazcan as a dissertation topic for my Computer Science degree obtaining a very good feedback.
Jun 23rd
FreeRTOS is a powerful real time operative system for embedded devices, as they states is ported to 27 platforms, one of them is the LPC17xx, in the Officially Supported Demos they have complex demo projects using CodeRed, Rowley Crossworks, IAR and GCC but they do not have such a project for Keil so this is a *very* basic template project integrating CMSIS, LPCUSB and FreeRTOS.
You can download the template from lpc17xx_project_template_freertos.zip. At this example there are 2 tasks which prints a independent counter on the UART2. You can modify it and put your OS Tasks directly.
May 17th
I have set up my own project template to start developing ARM software for the LPC17xx platform, it’s based upon the CMSIS libraries (download link) offered by NXP which contains all basic routines to operate the Cortex M3 core and the LPC17xx peripherals using C language.
It also contains a port of the lpcusb stack for the LPC17xx so we can develop USB Device applications, configured retargeting of the printf function to the UART ports instead of semihosting output in retarget.c, a template.c file with main function and basic debug initialization, 2 target configurations (flash and ram execution profile).
The template project is managed through Keil uVision 4 software but source files can be imported into other IDE and compilers.
May 17th
It’s been a lot of time since last posted on MazCAN Project blog, since September 15th lots of things had happened.
I think the most important is that we’re moving from Arduino(atmega) to ARM Cortex-M3, a platform plenty of features and power, that will be a leap in terms of transfer rate. As we recognized that the arduino platform in his vanilla form will not give us enough power to communicate all the messages from the ArCan Shield to the PC.
This is the new development platform I chose, it’s a LandTiger from PowerAVR chinese seller with a 3,2″ 320x240TFT, it sports a NXP LPC1768
So no more FTDI RS232-USB conversors and almost no hardware limits (on its class) but a new challenges approach as I need to learn everything on USB device-to-host communications to develop the firmware, find new base code for the development board and a comfortable IDE.
Sep 15th
We are very pleased to announce that we have joined the Concurso Universitario de Software Libre (CUSL), a inter-university champion on free software, MazcanProject will participate in this edition. The CUSL aims to improve the spread of Free Software development across all students in all educational levels, and to encourage developers to move to Free Software.
The main idea is to continue publishing this entries in English, to improve my language expression and to reach the biggest target developers and interested people as possible.
The project now is stalled until I find some time to spend with it!, but i hope to return to the “good” way and make some revisions to code soon
Aug 26th

Hello World!, it’s time to open MazCan Project to the open source community, MazCan is a hardware/software implementation on CAN, it aims to create a unix-compatible service layer over the vehicle data.
At its start MazCan started as a sniffing tool over the Mazda 3 network mainly developed over OS X frameworks, like the started by Madox, then I wanted to abstract all code so everyone can develop services (known as clients) and extract all the important data required for other projects.
All the code is developed under Open Source licenses using unix standard frameworks (Standard C Libraries). At the moment of this post, revision 15, interprocess can message transport, message queue operations and a beta implementation of the canserver are implemented. When canserver and communication protocol become more stable client implementation guide will be released.
Hardware implementation relies on Arduino and ArCan Shield, firmware will be published as soon as posible. There are problems with the data throughput Arduino is capable of transport through its usb-rs232 (ftdi chip) interface. The interface is capable of a maximum baudrate of 115,2Kbits while the vehicle low speed interface is 125Kbits, and 500Kbits on the high speed network.