Troubleshooting tips: Failed debugging with GDB

problem-occured-version

Erich Styger writes:

Three years ago I published “Debugging Failure: Check List and Hints” and unfortunately this article is one of the most popular ones: obviously debugging problems are very common. Debugging with GDB works usually fine, but if things are failing, then it can be hard to find the cause for it. Recently I have been asked to check some failures, so here are two more hints about what could go wrong…

More details at MCU on Eclipse blog.

 

Yield function, printable class and mapping arrays: Useful but unknown features from Arduino core

test-printable-arduino-1

Yahya Tawil over at Atadiat wrote a new tip for Arduino developers about three hidden and useful features in Arduino core:

Arduino core, the source code of Arduino API functions and classes, has three useful features that can be used effectively. As the Arduino core documentation doesn’t mention them (at least until the time of publishing this micro-blog), these features are not well-known for arduino developers. Let’s discuss each feature of them one by one.

More details at Atadiat blog.

Via the contact form.

 

Using Python to store data from many BLE devices

raspberry-pi-with-python-controlling-a-set-of-hexiwear-ble-devices

Erich Styger has written an article describing a technique he used to collect and store data from several BLE devices with Raspberry Pi and Python scripting:

BLE (Bluetooth Low Energy) sensor devices like the Hexiwear are great, but they cannot store a large amount of data. For a research project I have to collect data from many BLE devices for later processing. What I’m using is a Python script running on the Raspberry Pi which collects the data and stores it on a file

More details at mcuoneclipse.com.

Things to avoid when sending PCBs to the fab house

bodge-1080x675-600

Sjaak shared some tips when sending PCBs to the fab house:

I usually collect a few PCB designs before sending them off to the PCB fabhouse. I prefer to use dirtypcbs.com as I know Ian from dangerousprototypes.com for a long time and think he provides good quality, and fast turn around time for your money. Also tend to be loyal to my suppliers so a better alternative may exist. The main reason I wait before sending them off is that I want my PCBs returned quickly. DirtyPCBs provide fast DHL shipping (about 2-3 days to .nl) but it is quite expensive (about 30 USD) compared to the manufacturing the PCBs. Luckily the PCBs don’t weight a ton, and adding more designs will not add much additional shipping costs.

More details at smdprutser.nl site.