
Bouni's blog
random bits and pieces
Reverse engineering a DQ860MA part 2
2015-03-07
And here we go with part 2 of my DQ860MA reverse engineering project!
Reverse engineering a DQ860MA Part 1
2015-03-06
As announced in one of my last posts i will try to reverse engineer the DQ860MA. Unfortunately i realized that the PCB is a 4 layer PCB, which makes it way harder to get a schematic.
So as a start i will get a list of all components.
Semi-automatic clonezilla boot stick
2015-03-02
I use clonezilla a lot to load images onto computers or create backups of them and it was always a hassle to enter the same values into the diolog over and over again. Unfortunately the documentation is not the very best.
Anyway, with a lot of googling and trail and error i finally got a semi automatic configuration.
You have to modify 3 files for booting EFI machines as well as BIOS based ones.
Taking a DQ860MA stepper driver apart
2015-02-03
I’ve bought 4 large stepper motors and 4 DQ860MA drivers on ebay a few days ago. Unfortunately one was faulty from the beginning. The seller sent me a new one winthin 2 days which is awesome, but the best part is that i hadn’t to return the damaged one!
So i decided that there are pepole out there who for sure are interested in a teardown :-)
I posted a video on Youtube showing how I connected a Smoothieboard wired to a Yaskawa Sigma 2 AC-Servodriver with a 400W Servomotor. Afterwards I got asked to show more details and that’s why I write this blog post.
Clone a Firmware RAID 1 using Clonezilla
2014-11-20
I had two identical computers of which one had a damaged Windows 7 installation that refused to boot. The other was a spare machine for that case, but unfortunately it wasn’t updated for about 2 years. So I had to install about 200 Updates which was really annoying.
After all the updates were installed I decided to make an image of the up-to-date computer and restore it on the damaged one.
Since I’m a big fan of open source tools, I wanted to use one and decided to use Clonezilla . The biggest problem with Clonezilla is that it does not support creating images of Software/Fake Raid’s/Firmware RAID’s according to their website.
My computers both have 2 SSD disks with 120GB each configured as RAID1. The RAID controller is the one provided by the Intel X79 chipset of the ASUS P9X79 Pro Mainboards, which is a Firmware RAID.
SICK FlexiSoft, Modbus/TCP and python
2014-11-09
Last week i tried to read and write data to and from a SICK FlexiSoft Safty controller which has a Modbus/TCP gateway.
Because i had a lot of trouble to get that up and running i decided to write a few lines about i managed to solve my problems.
My MateDealer project was entirely written in C because the Arduino IDE or more detailed the HardwareSerial part lacks the 9-bit support. It is easy to send a 8 bit data frame, but nearly impossible to do that with 9 bit frames. I worked for a while on implementing 9-bit support for the Arduino IDE and recently i finished my work!
I’ve recently bought a few SparkFun ProMicro 5V 16Mhz clones from Ebay because they are extremely cheap (7 Euro each) and habe native USB. The only problem i had is that i was not able to program them using inotool .
locale-gen fails on raspberry Pi
2013-12-12
I’ve tried to generate the locales on my Raspberry Pi, but i ran into a problem that i was not able to solve for a few hours.
1root@rpi: ~$ locale-gen 2Generating locales... 3 en_US.UTF-8.../usr/bin/locale-gen: line 41: 303 Killed 4localedef -i $input -c -f $charset -A /usr/share/locale/locale.alias 5$locale locale gave me another error
1root@rpi: ~$ locale 2locale: Cannot set LC_CTYPE to default locale: No such file or directory 3locale: Cannot set LC_ALL to default locale: No such file or directory 4LANG=en_US.UTF-8 5LC_CTYPE="en_US.UTF-8" 6LC_NUMERIC="en_US.UTF-8" 7LC_TIME="en_US.UTF-8" 8LC_COLLATE="en_US.UTF-8" 9LC_MONETARY="en_US.UTF-8" 10LC_MESSAGES=C 11LC_PAPER="en_US.UTF-8" 12LC_NAME="en_US.UTF-8" 13LC_ADDRESS="en_US.UTF-8" 14LC_TELEPHONE="en_US.UTF-8" 15LC_MEASUREMENT="en_US.UTF-8" 16LC_IDENTIFICATION="en_US.UTF-8" 17LC_ALL= But finally i found the solution in an inconsiderable forum post. The reason for the locale-gen error is simply not enough RAM!