Difference between revisions of "Project:RELaserSoftware"

From London Hackspace Wiki
Jump to navigation Jump to search
Line 27: Line 27:
 
* A [https://github.com/londonhackspace/txt2mol .TXT to .MOL compiler] based on the DLL (runs under Wine)
 
* A [https://github.com/londonhackspace/txt2mol .TXT to .MOL compiler] based on the DLL (runs under Wine)
 
** There are headers for this file online, [http://read.pudn.com/downloads184/sourcecode/windows/862584/Line/mpc03ls.h__.htm mpc03ls.h] and [http://google.com/search?q=%22mpc05ls.h%22 mpc05ls.h]
 
** There are headers for this file online, [http://read.pudn.com/downloads184/sourcecode/windows/862584/Line/mpc03ls.h__.htm mpc03ls.h] and [http://google.com/search?q=%22mpc05ls.h%22 mpc05ls.h]
* A [https://github.com/londonhackspace/dumpmol .TXT parser] using python and construct
+
* A [https://github.com/londonhackspace/dumpmol .MOL parser] using python and construct
 
* [http://pointless.net/hg/mpc6515/ USB driving software] that allows us to tell the laser cutter to run box, etc.
 
* [http://pointless.net/hg/mpc6515/ USB driving software] that allows us to tell the laser cutter to run box, etc.
  

Revision as of 14:54, 17 March 2012

Caution reversing.jpg

Reverse Engineering Laser Software

The laser software by Leetro is bad, we need to know about the .mol file that is created by it so we can create our own in some fashion. Also if it does anything fancy when it downloads itself via USB.

Background

The software is available here. Please scan this with antivirus software before use.

There is a special patched version that cannot currently (but hopefully one day) will be useful for exploring .mol files on babbage in EB4890's folder.

Note that this says there's software bounds protection with firmware versions 4.1.0.0 or above (once origin is set)
the firmware is in the "And tools update" .rar file
the above, translated by google
Has comments on the .ini file settings


Current State of work

We have:

Currently to do

  • Figure out DXFs - A python to dxf to pdf converter might be useful. It seems to have got swallowed by by gaping maw of broken links. I've not found a stand alone parser.
  • Figure out which parts of the TXT file correspond to which function calls, so we know how to generate meaningful TXT files.
  • More work on .Mol files?

Initial Analysis of .mol file

See MOL file format for description of MOL file format

USB

See USB protocol for description of the upload/download protocol.

Random Links that may be useful

Driver

Works for VID 0548, PID 1005. Description of the device is EZ-USB (68013A), which is basically a serial interface.