Category Archive: programming

Jul 12

Python and XML Validation

While recently working on a project where we had included, nested, embedded, or inherited XSDs, I had errors while getting the XML to validate using LXML.  The solution ended up being that when you give LXML the schema location, the included XSD files must be in the working directory for it to find them.  There …

Continue reading »

Permanent link to this article: http://blog.curioussystem.com/2017/07/python-and-xml-validation/

Dec 09

Updates on iBeacons with the CC2540

One of this year’s projects was taking a CC2540 and making an interactive iBeacon with it.  This turned out to be more difficult than expected… which may explain recent design trends I’ve noticed in embedded BLE devices.

Continue reading »

Permanent link to this article: http://blog.curioussystem.com/2016/12/updates-on-ibeacons-with-the-cc2540/

Jan 01

Capacitive Touch Sensing on the MSP430 – 2013 Edition

I took a look at capacitive touch sensing on the MSP430 in 2011 and it was a little… lacking. I had another project come up and had a chance to play around with it again a couple months ago. It’s nice to see the changes two years have made to the framework provided by TI.

Continue reading »

Permanent link to this article: http://blog.curioussystem.com/2014/01/capacitive-touch-sensing-on-the-msp430-2013-edition/

Aug 06

VHDL Memory Decoder for BF51x

This is just a quick snippet of code for you if you happen to be using a Blackfin BF51x processor and have some space and pins on an external FPGA to spare.

Continue reading »

Permanent link to this article: http://blog.curioussystem.com/2013/08/vhdl-memory-decoder-for-bf51x/

Jul 09

Nyquist Signal Expansion with Python

I’ve recently been reading up on software defined radio (SDR).  An epiphany that I had recently was that if we have sampled a signal so that we meet the Nyquist criteria, we can reproduce the points between the points we took.

Continue reading »

Permanent link to this article: http://blog.curioussystem.com/2013/07/nyquist-signal-expansion-with-python/

Jun 05

Two wrongs make a working prototype

I had an interesting problem show up when I was working on a project at the beginning of the year.  It involved an Analog Devices Blackfin 51x series processor.  We went to transition to their new IDE and that’s when we started noticing problems with the Flash RAM.

Continue reading »

Permanent link to this article: http://blog.curioussystem.com/2013/06/two-wrongs-make-a-working-prototype/

Feb 09

Freescale KL25 Cortex M-0+ Review

One of the projects I’m working on I chose to use one of the new Freescale KL25 MCUs.  They have an ARM Cortex-M0+ core and lots of peripherals to boot, including ones specifically designed for low power usage.  Below are some of the reasons why I chose it, and what my experiences with it have …

Continue reading »

Permanent link to this article: http://blog.curioussystem.com/2013/02/freescale-kl25-cortex-m-0-review/

Dec 11

Editing PIC .hex files

… or how to edit a .hex file instead of recompiling it for every option. I had a product a while back where the customer needed to program it, but we didn’t want them to have to hassle with compiling it for every (10,000+) permutation.  I had a whole build system set up when this …

Continue reading »

Permanent link to this article: http://blog.curioussystem.com/2012/12/editing-pic-hex-files/

May 19

The Case of the Random Lockup

We had a bug that just wouldn’t go away. Sometimes it would show up quickly, sometimes it would show up after the code had been running for a few days… but it would show up. What’s the programmer to do?

Continue reading »

Permanent link to this article: http://blog.curioussystem.com/2012/05/the-case-of-the-random-lockup/

Feb 04

Multithreading, Python and passed arguments

Recently I’ve had a project that required precompiling the firmware for a device so that the end user could program the device, but not have the source code. We’re not talking about a few versions of the code, but almost 1000. This is something that no person would want to do, especially since it would …

Continue reading »

Permanent link to this article: http://blog.curioussystem.com/2012/02/multithreading-python-and-passed-arguments/

Older posts «