free hit counter

Monday, June 26, 2006

SPIGen Download

Freescale has a nice utility they let you download after you register.

SPIGen Download

Direct download link:
https://www.freescale.com/files/soft_dev_tools/software/device_drivers/SPIGenNT-2000-XP.zip

Thursday, June 22, 2006

Why I Program in C++

Great read. I'm all for the right language for the job, but C++ is usually my language of choice for many of the reasons stated here.


Why I Program in C :: Tahir Hashmi's Website

Labels:

C51 Bootloader

So many ways to skin this cat, and without just diving in it's hard to tell which one will work best.

But this is another option

Bootloader Example Code

Monday, June 19, 2006

Industrial Workbenches

Thursday, June 15, 2006

Intronix PC-Based Logic Analyzer

I haven't been too happy with our USBee PC based logic analyzer.

I just saw this Intronix one in person, and it looks much more profesional, has 32 channels, and is just about the same price. It also will decode SPI and I2C data.


Intronix LogicPort PC-Based Logic Analyzer with USB Interface

Wednesday, June 14, 2006

.NET 3.0 ne WinFx

But what exactly was WinFx before it was redubbed? It's Vista's new API that will hopefully help us leave the ugly Win32 API behind.


ONDotnet.com -- WinFX: An All-Managed API

Wednesday, June 07, 2006

disk hog: system restore

So, Windows is using 7GB of my 60GB disk to keep restore point data. Why would I care to do that when I plan on wiping Windows clean once a year anyways?

Here's a great link on how to reign in System Restore's disk usage. Also a good tip that it should be turned off for any data only drives.

SystemRestore < TenThingsPlus < TWiki

Tuesday, June 06, 2006

love those STL error messages

This awfull error message boils down to: "Can't copy a stream object."

I missed the reference when I was passing it as a function argument:


readIn(std::istream & inFile)



C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\istream(842) : error C2248: 'std::basic_ios<_Elem,_Traits>::basic_ios' : cannot access private member declared in class 'std::basic_ios<_Elem,_Traits>'
with
[
_Elem=char,
_Traits=std::char_traits
]
C:\Program Files\Microsoft Visual Studio 8\VC\INCLUDE\ios(151) : see declaration of 'std::basic_ios<_Elem,_Traits>::basic_ios'
with
[
_Elem=char,
_Traits=std::char_traits
]
This diagnostic occurred in the compiler generated function 'std::basic_istream<_Elem,_Traits>::basic_istream(const std::basic_istream<_Elem,_Traits> &)'
with
[
_Elem=char,
_Traits=std::char_traits
]
testRunner.cpp

Labels:

Thursday, June 01, 2006

Keil C51: locating your program at an address other than 0

Turns out you need to modify the startup.a51, set the linker location, and set the interrupt vector location.

C51: SETTING PROGRAM START ADDRESS