Monday, January 18, 2010

Mattair XMega Development Board

Today a package arrived for me. Although it said "Priority" all over it, three weeks seems like a pretty poor interpretation of priority. Anyway, it was the new AVR Xmega development board from Justin Mattair . Despite the best efforts of USPS and Royal Mail to squash the box, it seems that the generous allocation of header pins provided structural support and prevented any damage. So I plugged it in and the blinkenleds demo started and the com port popped up.
Did I mention the pins? There are too many of them too close together to be able to fit more than one IDC cable header. So the cutters will trim one or two ports to size. One curious bit of design. The ground vias all have thermal relief patterns.

Demo time. A blob of solder connects one of the links required for the new demo. The instructions are a bit sparse and it said to link J15 and J27 but J15 is only needed for the mini joystick which isn't fitted anyway. Next it said remove the programming link. Where is that? I guess there is only one link that is removable. And indeed pressing the hardware button magically the unit becomes an AVRISP mkII. Where is the device driver? Hidden in AVR Studio 4 of course. Then it asks if I want to upgrade the firmware. Probably not! That is the quickest way to kill a programmer. With great trepidation I press the Program button and all the lights go out. Now what? I replace the programming link, press the reset button and we revert back to a serial device. Hmm, maybe that isn't what we wanted to do? Where is the USB/SPI bridge? I guess the USB chip needs a quick go with Flip.
So on with the jumper, hold HWB and jab at reset. Oh wow. Now we have mounted a DFU. Scrabble around for the Flip driver and "Your new hardware is installed and ready to use". So in Flip I look for the Xmega but heck, it isn't supported???? Oh, thats right, its the OTHER AVR I am supposed to be programming. Now it all programs OK and it is time to click Start Application. Bye bye DFU and hello XD200 USB-SPI configuration page. What do I do with this? Confused now. Where do I put these drive mounting commands in? Oh right. Its the magic jumper that needs to come off.
So now the terminal goes crazy flickering. That is different. Press the "any" key and wow, here are all the goodies :-)
What is the temperature? "Demo has not been written". I already knew it was 21C so that is no great loss.
Blink LEDs. Yes. blinkenleds are in full working order.
Finally a look at what I really need to be checking out. The SD card slot. And we have the magic incantations
di0
ds0
fi0
fs
fl
Wow. Now I can read my files.

Next to sort out why exporting Kicad to GC-Prevue put all my drill holes at the same location.....

Saturday, January 16, 2010

It has a name! VBIT, a low cost teletext inserter


There comes a time in every project when it needs a name. This moment came when I had a pile of blueprints all with the title field empty. So VBIT is the name of this gadget. VBI is for vertical blanking interval and T is for teletext.
Isn't EDA software fun? Lucky I got all the components first and laid them out on a printout of the top layer. Why did the programmers postfix footprints with E for narrow and N for extended? So I had to swap these around. Also the SOIC pads were too small for hand soldering so I had to stretch them all by 1mm. Then the auto routing is brain dead so I had to lay out all the tracks manually. FreeRoute is very good but then I can't import the results back because the pads and tracks don't exactly line up so it fails the design rules check.
Then plotting to Gerbers is like warping back in time 30 years, when everything had to fit on a double density floppy. Why do I need to know all about drill decks and aperture lists? Madness!
So the design is now at the PCB maker but I already spotted an error. No pull-ups on the I2C. Oops. This is what it would look like if the pull-ups were fitted.

Engineering Change Note 1: pull up SCL and SDA to +3.3v using 3k3 resistors.

Wednesday, January 6, 2010

Should have walked home.....

New car, 1 in 8 Rodborough Hill, cotswold stone wall, heavy snowfall. What could possibly go wrong?

From blogpics

Saturday, January 2, 2010

Teletext inserter


Teletext is disappearing region by region. In a couple of years there will be nothing left. Teletext will then be extinct and that would be a great loss to diversity. So I have started a captive breeding program. Now who would want a teletext inserter? They said that about the Komodo dragon and that got protected so maybe teletext has a chance too? This inserter board illustrated is ready to go off to the factory. It will be a lengthy teaching process of many months until it can insert as much as a filler packet. Re-introduction should be able to take place by summer 2010.

Trading in teletext inserters is permitted by CITES (Convention in Teletext Encoder Systems). You can help by buying one of these. They only require feeding +3.3Volts and vitamins C,V,B and S. This will be supplied as a board only and you'll need to put it in your own cage and add your own processor board.

* Analog teletext inserter
* Configurable by USB. Will run stand-alone once loaded up.
* SD card page memory. More pages than you can display!
* Packet 8/30 capable.
It isn't.....
* Broadcast quality!
* A bridge

Tuesday, December 22, 2009

Goodbye to Cheques

The Cycle Touring Club - CTC now can take renewals online! At last.

But .....

An Error occurred processing the last request
Error Message: The Initial Parameters for this User Control do not contain all the mandatory items (OnlineCCAuthorisation)
Source: CarePortal
Location: at CarePortal.CareWebControl.ValidateParameters(WebControlTypes pType) at CarePortal.CareWebControl.InitialiseControls(WebControlTypes pType, HtmlTable pHTMLTable, String pMandatoryFields, String pNonMandatoryFields)
Return to last page

....never mind, this is another case of e-incompetence. Now where is that cheque book?

Friday, December 11, 2009

First page of a detective novel

An homage to Raymond Chandler by Andrew Hussie. It is the first page of a detective novel but ironically placed at the end of the story. Totally brilliant in my own humble opinion. Read it here

Saturday, December 5, 2009

Last chance to see

This corner of Wallbridge, Stroud will disappear underneath a road in a few months so I wanted to take a really close look before it goes forever.
This is what it used to look like:
From blogpics


Then for some reason it was demolished but some of the wall was retained with the windows bricked in and the wall top capped in cement. The dark vertical line on the wall betrays where the rain downpipe used to be and at the top you can still see a bit of the painted arrow showing the way to Bath.
From blogpics