Quantcast
Channel: acassis – Alan C. Assis
Browsing all 870 articles
Browse latest View live

How to ping by MAC Address

I just find this tip useful: arping -c 5 aa:bb:cc:dd:ee:ff Source: https://unix.stackexchange.com/questions/86165/can-one-ping-a-nic-by-mac

View Article


the moon… beautiful! oh yeah!

Today I decided to test the Lua (the programming language, it means Moon in Portuguese) with FLTK. There is a project called lua-fltk4lua. Unfortunately the project doesn’t explain how to compile it...

View Article


Open source Android Auto alternatives

Some interesting links: http://www.mathieupassenaud.fr/build-your-own-android-auto-head-display/ https://github.com/gartnera/headunit (a fork of a fork of a fork …) https://github.com/f1xpl/openauto

View Article

Using coroutine on Lua

The Lua documentation about coroutine is not much clear and the example is not much useful. Fortunately I found an explanation how to use it and simplify the idea here: sleep_awhile = function (period)...

View Article

Image may be NSFW.
Clik here to view.

Checking the CRC-8 PEC byte of MLX90614

I am creating a NuttX device driver for Melexis MLX90614 and it is a nice adventure. First I downloaded the adafruit lib and tested it on Arduino Uno just to confirm the sensor was working, but I...

View Article


Sheding some (infrared) light on MLX90614

After implementing the MLX90614 driver for NuttX I noticed that although the write command to change the device I2C address in the EEPROM was reporting success, after the power cycle the new address...

View Article

Image may be NSFW.
Clik here to view.

How to use a JLX1602G-390 display with NuttX

I just created a driver for NuttX to use JLX1602G-390 display. This display is based on Siatronix ST7032i the I2C version. First you need to wire it connecting an external capacitor and a resistor as...

View Article

EdgeWrite: writing with joystick

This is a nice way to write with joysticks: https://faculty.washington.edu/wobbrock/pubs/gi-04.pdf Unfortunately this idea is patented: U.S. Patent #7,729,542 http://depts.washington.edu/ewrite/ I...

View Article


How to run NuttX on Freedom Board FRDM-K64F

NuttX has support to Freedom K64F and the README file (see nuttx/configs/freedom-k64f/README.txt) give much information about things it supports. After plugging it on my computer (connected to SDA USB...

View Article


Adding arm-none-eabi-gdb to Ubuntu 18.04

I noticed that gdb-arm-none-eabi package is not present on Ubuntu 18.04 repository. After some searches I saw people suggesting to use gdb-multiarch, but this gdb didn’t work for me. Then after more...

View Article

NuttX on Atmel/Microchip SAML21 Xplained Pro

$ ./tools/configure.sh saml21-xplained/nsh $ make menuconfig (change build system to Linux) $ make $ JLinkExe -device ATSAML21G18 -if SWD J-Link>connect Connecting to J-Link via USB…O.K. Firmware:...

View Article

Recovering Android phone pictures after Factory Reset

It is always a good idea to make backup of your pictures to your computer or using some cloud sync solution as Dropbox to make your pictures safe. But not everybody does that. If you don’t, consider...

View Article

Flashing bootloader and core-firmware on Spark Core

# dfu-util -d 1d50:607f -a 0 -s 0x08005000:leave -D core-firmware.bin

View Article


Como debugar o kernel ativando as mensagens de debug pr_debug

Para ativar as mensagens de Debug do kernel, edite o arquivo Makefile da raiz do kernel adicionando: CFLAGS_KERNEL = -DDEBUG

View Article

Installing Jenkins on Ubuntu 18.04

I installed Jenkins on my Linux machine following this tutorial: https://linuxize.com/post/how-to-install-jenkins-on-ubuntu-18-04/ But the command: $ sudo apt install jenkins Failed! It happened...

View Article


Compiling NuttX to BeagleBoneBlack

These are the steps I took to get NuttX running on BeagleBoneBlack (BBB) : $ git clone https://bitbucket.org/nuttx/nuttx $ git clone https://bitbucket.org/nuttx/apps $ cd nuttx $ ./tools/configure.sh...

View Article

Flashing NuttX on Engie CE0035 board

$ JLinkExe -device ATSAML21G18 -if SWD SEGGER J-Link Commander V6.40 (Compiled Oct 26 2018 15:08:38) DLL version V6.40, compiled Oct 26 2018 15:08:28 Connecting to J-Link via USB…O.K. Firmware: J-Link...

View Article


How to use NuttX I2C Scan features

First you need to enable I2C to your MCU, and these additional options: CONFIG_I2C=y CONFIG_I2C_DRIVER=y CONFIG_SYSTEM_I2CTOOL=y CONFIG_I2CTOOL_MINBUS=0 CONFIG_I2CTOOL_MAXBUS=5...

View Article

Using MODBUS RTU with NuttX

MODBUS is an old protocol used on industrial automation. Although it is an “old” protocol, it still used on many industrial devices. There are many articles about this protocol in the Internet, but...

View Article

Machine Learning for Microcontrollers

This is a small list of open-source ML projects that could be used on MCU : CMSIS-NN: https://github.com/ARM-software/CMSIS_5/tree/develop/CMSIS/NN Libdeep: https://gitlab.com/bashrc2/libdeep uTensor:...

View Article
Browsing all 870 articles
Browse latest View live