STMicro Releases Linux based STM32 MCU Development Tools

Until a few years ago, most development tools for micro-controllers were only available for Windows, but as Linux gained popularity among developers and engineers, community of developers designed development tools running in Linux, but only a few companies are providing tools that run on Linux operating systems. The good news is that STMicro has just announced the release of STM32CubeMX configurator and System Workbench for STM32, for both Linux and Windows, with Mac OS supporting coming on Q2 2016. Developped by Ac6 embedded systems company, System Workbench for STM32 relies on Eclipse IDE, supports the ST-LINK/V2 debugging tool under Linux through an adapted version of the OpenOCD project, and can be used with various STMicro STM32 boards including Nucleo boards, Discovery kits, and other Evaluation boards. You can give it a try by visiting OpenSTM32 Community, but for some reasons they ask you to register before accessing the installation instructions. […]

How to Resize Android’s Internal Storage Partition in Rockchip Devices

I installed Light Biz OS firmware on GeekBox yesterday, but I’ve quickly realized many applications such as Gimp Inkscape would not install due to the small 1.94GB “internal partition”, so I asked how to increase the partition size in GeekBox forums last evening, and got an answer overnight from “dewet”. The good news is that it worked so I’ll share the steps I followed in a computer running Ubuntu 14.04. It might also be possible to perform the same tasks within a Windows machine with Rorkchip’s Factory tools First let’s download the utils with relevant scripts and binaries:

Now copy your device or board’s firmware file “update.img” to the working directory, and unpack it:

The output should look like:

The files will be in the “output” directory. For our purpose “parameter” file, and especially the last line (CMDLINE) where we will want to adjust the userdata partition […]

$15 Microchip Curiosity Development Board Supports 8-bit PIC Microcontrollers

I’ve just found out Microchip had introduced Curiosity development board a little while ago, in order to let students and others experiment with their 8-bit PIC DIP MCUs, and including MikroElectronika Mikrobus footprint, an interface for Microchip RN4020 module to add Bluetooth Low Energy, as well as other headers and some extra features like buttons, and a potentiometer. Microchip Curiosity board specifications: MCU – PIC MCU socket for 8, 14, and 20-pin micro-controllers with PIC16F1619 pre-installed. Expansion mikroBUS Click Board footprint Microchip RN4020 Bluetooth Module Footprint USB – USB mini-B connector Misc – Master Clear Reset button, potentiometer, LEDs, mTouch button, push button Power Supply 5V via USB 9V using an external power supply (footprints only) 3.3V to 5V external power supply via TP3 and TP4 pins Dimensions – N/A There are over 160 MikroElektronika Click boars on the market now, but only seven are listed with code samples for […]

How to extract kernel.img with mkboot script

As I tried instructions to install Linux on Amlogic S905 Android TV boxes yesterday, I wanted to extract kernel.img file found in Android firmware, but Google did not help that much until I found mkboot part of mkbootimg_tools scripts. But first let’s see how kernel.img is created… Google provide a Python script called mkbootimg that combine the kernel image (e,.g. zImage), a rootfs/ramdisk and the device tree (DTB) file with a command line that looks like:

However, AFAIK the company does not provide a “unmkbootimg” script, and mkbootimg can only be used to create kernel.img, not decompile it. But that’s what mkboot does, and it works for kernel.img and recovery.img. Let’s retrieve the necessary files first:

mkboot is a bash script so we can use it right away:

So it can be used both for unpacking and repacking kernel.img to/from the output directory. Let’s run the command […]

Yocto Project 2.0 “Jethro” Released

The Yocto Project 2.0 was released a few days ago. The framework used to create embedded Linux distributions supports Poky 14 “Jethro” reference distribution by default, but other Linux distributions can also be built with the Yocto Project. Some of the key features and improvements of Yocto Project 2.0 include: Added gcc 5.2 which is now the default compiler (gcc 4.8 and 4.9 are also provided) Updated linux-yocto kernel for qemu* and reference BSPs to version 4.1 Added basic support for Altera Nios II and Adapteva Epiphany Added tune files for Cavium ThunderX, Cavium Octeon, ARM Cortex-A17, Intel Quark X1000, and ARM vfpv3 and vfpv3d16 features Toaster Web UI improvements – Better performance and reliability; simplified setup; user-friendly layout; etc… wic image creation tool version 0.2.0 with bug fixed and new features, such as GPT partition tables, native tools, image compression, etc… Image generation adds support for  qcow2, vdi (VirtualBox […]

Intel Quark D1000 Customer Reference Board and Intel System Studio for Microcontrollers

Intel unveiled Intel Quark D1000, D2000 and SE micro-controllers last week, with Intel Quark D1000 available now for $2.5 to $4 depending in quantities, and to my knowledge the first Intel MCU that can be considered ultra low power. I could not see a development board at the time, but Intel does have an Intel Quark D1000 Customer Reference Board with a familiar Arduino form factor. Intel Quark D1000 board specifications: MCU – Intel Quark D1000 32-bit CISC micro-controller @ 32 MHz Storage – 4MB SPI flash (Microchip ) Connectivity – Bluetooth LE radio, Wi-Fi (Inventek Systems Serial to Wifi module) Sensor – 3-axis accelerometer Expansion – Arduino compatible headers with GPIOs, I2C, SPI, UART, analog inputs, and 5V, 3.3V and GND. Debugging – mini USB port for programming and debugging; JTAG pins Power – 5V via mini USB port, or LiPo / Li-ion battery Dimensions – N/A Information about […]

Operys Process Explorer App Shows Android Processes in Your Computer’s Web Browser

Opersys is an Android and Embedded Linux company providing both development and training services, and they regularly attend conferences and release their training materials. The company has also developed a few Android apps to export the file system, the process list and info, and interaction between apps and Android system services exposed via Binder to your computer’s web browser. I found the most interesting app to be Process Explorer, so I gave it a try on Iocean M6752 smartphone. The application requires very little permissions to install, and it’s very simple to use. Simply tap on Start the service, and the app will provide the URL to browse the processes on your computer, in my case http://192.168.0.105:3000. The output is pretty useful, as you get much more information than you could get on your smartphone or tablet screen with CPU and memory usage, running time, logcat, etc… If you click […]

How to Use Nextion Serial Touchscreen Displays – Part 1: Standalone Mode

Itead Studio launched an Indiegogo campaign earlier this year for their Nextion TFT displays that can be connected to external board such as Arduino or Raspberry Pi via the serial interface, or even a standard computer provided you have a USB to TTL debug board. The campaign was successful with over 1,700 backers, and the company recently sent me two samples for review: a 2.4″ display and a 5″ display. In this post, I’ll look at the boards, and make a small standalone demo with Nextion Editor in Windows. Nextion NX3224T024 2.4″ Display The first item is a 2.4″ TFT display called NX3224T024_011N (non-touch) or NX3224T024_011R (Resistive touch) with 65536 color, 320×240 pixel resolution, LED backlight and up to 200nit brightness. It ships with a cable for the serial connection (5V, Tx, Rx, and GND). The back of the display features the serial connector, a micro SD used to load the […]

UP 7000 x86 SBC