Flash a TD1204 over J-Link

For flashing a TD1204 / TD1208 over J-link you need to use the following commands:

JLinkExe -device EFM32G210F128 -if swd -speed 1000
J-Link> loadbin xxxxx.bin,0
...
J-Link> r                          # reset
J-Link> g                          # go

Total programming time is about 5 seconds. The circuit between the segger connector and the TD is the following one. (do not forget to connect VDD circuit to Segger VTref.

td1204 / j-link cable

td1204 / j-link cable

Get computers for less than $15

domino.io

domino.io

Announced in 2015 and mostly delivered in 2016, the 9$+ computers are now a reality. The first one  to be delivered was Domino.io with a price of 14$ it is actually the most expensive device but also one with a nice list of addon. The kickstarter campain was a success even if it raised only 46K$.

CHIP was in the same period of time a great success with 2M$ raised on Kickstarter for 50K requested. And actually it still incredible to me to reach a such cheap price for a device with a such complexity.

Last but not least, the famous RaspberryPI zero is just starting to be distributed at the incredible price of $5 and is actually impossible to obtained under $20 on ebay auctions.

As a owner of these 3 different platform, I will publish in this post the difference we have between them and what we can expect from them.

Continue reading

NRF 51 BLE library for custom services

nrf51 ble stack

nrf51 ble stack

After building my first project using an nRF51 device from the template given in the SDK I was really disappointed by the result, I mean, it works but the code is really bad and hard to maintain.

The given examples are not really generic and if you have to create your custom ble service and characteristics you have  to make many modification in a code that is not clean for all.

So my second project was to create a ble library to make creation of custom services & characteristics as easy as possible and to create a main file with less code.

Continue reading

Play with remote selfie shutter and make your own Amazon dash button

Bluetooth remote shutter

Bluetooth remote shutter

Remote Selfie shutter are really low cost Bluetooth 3 buttons that are really easy to hack for making different applications.

These button can be found on ebay, amazon or aliexpress like following this link for less that 6$. The button is paired to the smartphone and then allow to execute photo shoot without the need of any third party application.

 

 

Continue reading

Silabs EFM8 a low cost microcontroller based on 8051 core

EFM8 chip

EFM8 chip

If you my blog and the lesson section you may notice my interest for 80×51 micro-controller family. Silicon Labs has recently launch a new 8b family based on this core.

With price less than 1 euros, they are interesting candidates for low cost hacking and hardware design. Even the programming cable is not really expensive ( $35 + port + Tax ) and the development environment is free.

EFM8 provides a 50MHz core with all the usual I/O – Serial, I2C, SPI. Plus 12 bit ADC, voltage regulator, oscillator…

Continue reading

Choose your smd (MLCC) capacitor

mlcc-smd-kondensatoren-foto-samsungThere are different type of smd capacitor ; the one I mainly use are mlcc – multi layer ceramic capacitor. In this technology, there are different dielectric (NP0, X7R, X5R, Y5V) with different characteristics.

I was looking for informations about this and found different nice website. I’ll try to summarize what I found in this post.

Continue reading

Telecom Design TD1204 / TD1208 use DB2-DB3

Telecom Design TD1204 have really limited number of GPIOs available even if it have many pins 🙁 … So you quickly have to use the DB2-DB3 pin that are usually used by SWD port.

If you try to reconfigure directly the Pin, this will not work until you inactivate SWD. For this, you must call first the following functions :

GPIO_DbgSWDIOEnable(false);
GPIO_DbgSWDClkEnable(false);

EFM32 – I2C for Telecom Design TD1204 / TD1208

A good way to expand Telecom Design system is to use I2C to connect external devices. As an example I had to add an extra Analog to Digital converter. I’m using a MCP3021Ax device. This I2C chip just return a 10bits value each time you send a READ at the expected address. This post contains the TD1204 code to configure I2C and get the data back

Continue reading