XMOS startKIT build error 1073741790

Got this XMOS startKIT. Now it looks like you can do some nice things with it. It comes with xTime Composer 13.0.1 (installed on Windows 8.1 64bit) but whenever I try to build an example project I get this error:

Posted it on the xmos forum but who know someone will read it here and knows how I can fix this.

Update: 21-12-2013

Found out the problem.. Google is your friend and showed me an Avast page: Source

Error code 0xC0000022. (-1073741790) is given when user system files are tried to move to the Virus Chest

So so tried to put the XMOS install folder to the exclude items (bitdefender) and now I can build, debug and  flash it to the startKIt. 

 

Bus Pirate v3.6 Communication error fix for Windows

The Bus Pirate v3.6 from Dangerous Prototypes arrived. So I followed the links on the wiki and installed the latest drivers on my windows 8.1 machine.  Ready to go right? Nope.

Putty says no:

Putty

Putty

Looked in device manager and the drivers are installed and do not have any warning signs in front of it. Putty has some sort of connection and the PWR LED on the Bus Pirate is on. But I can type whatever I want into the terminal but nothing happens.

Weird. So I followed a lot of different suggestions from the community on the Dangerous Prototype forum (they are really helpful!). Tried to dig into it with the Bus Pirate GUI, thinking that if there is a connection I might update the firmware and then everything will work:

As you can see the GUI says No too.

ds30 gui

ds30 gui

Well lets see if I can upgrade the bootloader. There is a “hello world test” on the cmd-prompt. When you connect the PGD and the PGC the MODE LED lights up. Ok, thats good!

But then this output:

Darn. So I am into my “WTF mode” and installed the drivers on the windows 7 machine. Same error. More shouting and cursing. Blame windows 8.1 and windows 7 so lets try it on the test machine (Vista). Nope, nada, nee! More cursing and shouting but that did not help me further either.

Now I am at the boiling point. Seeedstudio customer support (thanx Kevin!) was good (Seeed are the people who shipped it) and asked me all the things I already tried out so we could easily exchange errors and screenshots. Done that, been there, tried that.. After many emails forward and back, Seeed asked me to send the board back and they would return me another one.

Frustrated as I can be (why can’t I get it to work under all those windows flavours) I decided to do one more trick. I booted into my favorite Linux distro Crunchbang. I expected to see some errors in the log’s about the USB connection that might help me or the folks at Seeed to debug the error. To my surprise there was a /dev/ttyUSB0 available!

So I did the magic with

And there it was! YES: Houston we have a connection!

First things first: Tried the self test to make sure everything was working ok and while I was on it I upgraded to the latest firmware.

Selftest with the Bus Pirate in Crunchbang screen

Selftest with the Bus Pirate in Crunchbang screen

Now I was sure the Bus Pirate worked, the latest firmware was on it. Back to windows and go go go!

Well the computer/putty said no again.

Then Samuel on the forum poked me about the drivers. But hey I made sure that I had the latest drivers installed so that could not be a problem! But who knows what happened (on three different windows machines). So I looked at the drivers in device manager. There are two: the Serial port and Serial Converter driver from FTDI. Both the latest version: 2.08.30

Update 21-12-2013:
Again Samual pointed out a driver uninstaller that works great:
http://www.ftdichip.com/Support/Utilities/CDMUninstaller_v1.4.zip

Or do it manual: 

I decided to uninstall the drivers and try the “older” ones (2.08.28).

Windows 8.1 device manager (dutch language)

Windows 8.1 device manager (dutch language)

Now there this is the tricky part. First you need to uninstall (from within the device manager) the drivers and make sure you also remove the files. There is a checkbox you need to check! Somehow I installed the the drivers two times and to make sure the were gone to I had to check “show hidden drivers” under view. And remove them also. Almost there! If you are like me you have a download or driver installation directory. Delete the 2.08.30 installation drivers or windows will look in there and will use those again.

Anyway, Installed the 2.08.28 drivers from the FTDI download page and then started a putty session. Checked COM port, Baud Rate and and and…YES! Putty and the Bus Pirate worked! I also did the same on the win7 and win Vista machines and same thing. a Working connection between the machine and the bus pirate.

Now, I still think its strange that the latest drivers from FTDI wont work with the Bus Pirate.. But I am glad that this worked.

The folks at Seeed were happy to know that this might be the solution for some of us that write them that their Bus Pirate is bricked, DAO or broken.

In the long run I learned a lot about the Bus Pirate, reading the wiki and learning from the folks at the forum. You can do a lot with this tiny gem.

 

MSP430G2

Texas Instruments was so kind to send me a MSP430G2 launchpad plus the Capacitive Touch boosterpack.

From their website:

The MSP-EXP430G2 LaunchPad is an easy-to-use flash programmer and debugging tool for the MSP430G2xx Value Line microcontrollers. It features everything you need to start developing on an MSP430 microcontroller device. It has on-board emulation for programming and debugging and features a 14/20-pin DIP socket, on-board buttons and LEDs & BoosterPack-compatible pinouts that support a wide range of plug-in modules for added functionality such as wireless, displays & more.

The MSP-EXP430G2 LaunchPad also comes with 2 MSP430 device, with up to 16kB Flash, 512B RAM, 16MHz CPU speed and integrated peripherals such as 8ch 10-bit ADC, timers, serial communication (UART, I2C & SPI) & more!

I added a nail clipper and an AA battery so you can see how big it is..

MSP-EXP430G2 LaunchPad + Capacitive Touch

MSP-EXP430G2 LaunchPad + Capacitive Touch

Its nice to know that you can use Code Composer and/or Energia with it.

Energia works like Arduino IDE while Code Composer dives under the hood of your project.

Yesterday, during the Texas Instruments Webinar, i learned that CC6.0 will be able to convert the sketches made by Energia. So you can first create a fast sketch and then later dive under the hood. I really like that idea.

Naked Furby pictures!

a long long time ago we stripped the skin from a furby and that picture was back then a big hit on the web.

While searing for a cable I ran into the little critter again..

So now here we go again..

The Naked Furby!

 

Naked Furby front

Naked Furby front

 

Naked furby back

Naked furby back

How do I run a linux command (job) every x time

How do I run a linux command (job) every x time…

That’s why they invented a cron job.

Start it with:

Then you might like to use this little cheat sheet.

More info about a cron job