Logging 25 times faster using DMA - >4000 samples per sec

Developer topics relating to software that logs data from ECUs

Moderator: Freon

Postby S54fan » Sat Jan 12, 2008 5:23 am

After I found a bug where I was attempting to read a word variable as a long, I now have done a successful DMA write to the ECU. Ignition map now takes less than 0.5 sec to write, it can go quicker just that I write the bytes one at a time on the first test, and the FTDI chip has a 1ms delay on each operation (by design). If I get the 399 bytes into the FTDI write buffer first and send that it should only take 70ms including the 5ms wait I put after sending the E6 request ID.

Next phase is to make the DMA read/write operations configurable without reflashing the ECU. This will allow completely flexible logging and reading/writing at will of any address range in the entire memory space of the ECU, with the user option to do indirect or direct reads (ie you can point to any MUT table we want and read the addresses it points to, or we can just read a block of memory).
S54fan
 
Posts: 233
Joined: Fri Dec 16, 2005 4:39 am

Postby radsdau » Sun Jan 13, 2008 4:37 pm

Wow man, this work you're doing rocks!! Well done!
radsdau
 
Posts: 674
Joined: Wed Feb 08, 2006 6:56 pm

Postby Evo4Mad » Sun Jan 13, 2008 10:08 pm

yeah Wow. sounds awesome, I'll check the other thread.
Evo4Mad
 
Posts: 332
Joined: Mon Jun 13, 2005 11:58 pm
Location: New Zealand

Previous

Return to Data Logging Software

Who is online

Users browsing this forum: No registered users and 7 guests