Category Archives: Processors

On watchdog timers

For many embedded software engineers, the watchdog timer is something that is designed in at the end. The thought is you just turn it on prior to shipping and “She’ll be right”. But this is a terrible travesty.

Posted in AVC, Processors | Leave a comment

Sailboat start timer revisited

I have been stalled in my work on my robot. Current bug just seems insurmountable. I would come home and avoid the thing like the plague. So I decided to purposefully work on something else for a while.

Posted in PIC, Sailboat Race Timer | Leave a comment

Long time no post

It has been a while since I last posted. A lot and a little has happened in the meantime. I went on vacation to London and had a great time, but I have not made a huge amount of progress … Continue reading

Posted in ARM, AVC, Uncategorized | Leave a comment

LSM303 bug fixed!

After several very frustrating days, I have found the root cause of my bad readings. It was not in the sensor or in its setup. It was in fact the the TWI/I2C driver code that I took from the ATMEL … Continue reading

Posted in ARM, AVC, Pololu 9DOF IMU | Leave a comment

Woes with a LSM303DLHC

I have a Pololu 9 DOF IMU (version 2) that uses an LSM303DLLC for the magnetometer and accelerometer. With these two sensors you can create a tilt compensated compass. It was my plan to do exactly that to get heading … Continue reading

Posted in ARM, AVC, Pololu 9DOF IMU | Leave a comment

Agoraphobic robot

I have been frustrated by a problem with my robot. Each time I would go outside to test, the robot’s processor would hang. I tried various tactics in getting to the bottom of the problem. The real bummer was that … Continue reading

Posted in ARM, AVC | Leave a comment

Writing to FLASH

You would think that writing to FLASH would not be such a big thing. But it took several┬ádays to accomplish. The first issue is that your reprogram code can’t live in the same FLASH as you want to program. With … Continue reading

Posted in ARM, AVC | Leave a comment

Strange bug still comes and goes

I have this bizzar bug that comes and goes. When connected to the JTAG pod, I never see it. When operating disconnected, it will in fits and starts not boot properly. Since it never seems to happen when connected to … Continue reading

Posted in ARM, AVC | Leave a comment

Chassing random crashes

Last night I stopped trying to add more functionality and get to the bottom of these random crashes. If I have lots of GPS data flowing through the system the system will crash in various ways. One way includes a … Continue reading

Posted in ARM, AVC | Leave a comment

Triply derailed

What a horrible day this has turned out to be.

Posted in ARM, AVC | 2 Comments