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

Trying to fix a MQTT communication issue with NuttX and TagoIO

As you saw in my previous post I was able to get the same mqttc example from NuttX running on Linux. Unfortunately the NuttX application is not working, then I decided to run the WireShark to compare...

View Article


Open-source 3D (Game) Engines

Just a small list to take a look: Godot – https://godotengine.org Ogre3D – https://www.ogre3d.org Panda3D – https://www.panda3d.org Urho3D – https://urho3d.io https://www.ogre3d.org/

View Article


TCP/IP MSS and MTU relation

Probably while using Wireshark you saw MSS = 536 right? And did you ask yourself why this value? Well, it is defined on RFC879 (https://www.rfc-editor.org/rfc/rfc879). It defines that when not defined,...

View Article

Compiling a simples HMAC MD5 test

I was trying do some tests with HMAC: #include <stdint.h> #include <stddef.h> #include <stdio.h> #include <string.h> #include <openssl/hmac.h> #include...

View Article

Testing HMAC MD5 on ESP32

I modified the hello_world example to do same HMAC test I did in the PC: #define MD5_MAC_LEN 16 extern int md5_vector(size_t num_elem, const uint8_t *addr[], const size_t *len, uint8_t *mac); int...

View Article


How to give permission to NuttX simulator access the network:

In modern Linux distro you need to run: $ sudo setcap cap net admin+ep ./nuttx $ ./nuttx

View Article

Getting OpenOCD to work with Ai-Thinker VC-01

Continuing my adventure with VC-01 module (powered by Unisound US516P6) I found the OpenOCD used with JTAG programmer (VC_Burner B228) and fixed the configuration to get it working (WIP).First we need...

View Article

Converting Chinese text from GB18030 to UTF-8

I was trying to convert a text from chinese that was “scrambled” like this: 4£©ÍêÉÆAACœâÂëÒì³£ÎÊÌ⣻5£©ÍêÉÆBT...

View Article


CNN for MCUs, some links

https://github.com/jonnor/ESC-CNN-microcontroller https://bdtechtalks.com/2022/01/17/mcunetv2-tinyml-deep-learning-microcontrollers/...

View Article


ezcap gamelink RAW

[25153.135582] logitech-hidpp-device 0003:046D:4051.000A: HID++ 4.5 device connected.[25172.113111] IPv6: MLD: clamping QRV from 1 to 2![25297.146847] IPv6: MLD: clamping QRV from 1 to...

View Article

Retrocomputing compiler links

6809: https://github.com/jmatzen/gcc6809 Zilog Z8000: https://github.com/z8k/z8k-gcc

View Article

Good Verilog tutorial introduction

https://www.asic-world.com/verilog/veritut.html

View Article

Installing .NET on Ubuntu

These are the steps: alan@dev:/tmp$ wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb --2022-12-19 19:32:45--...

View Article


Getting started to nanoCH32V203 board

Few days ago I received a low cost nanoCH32V203 that I bought from Aliexpress and today I decided to test it. Unfortunately the official board github https://github.com/wuxx/nanoCH32V203 doesn’t have...

View Article

Writing 0xFF into files using dd command

dd if=/dev/zero bs=1M count=100 | tr '\000' '\377' > file Source: https://www.linuxquestions.org/questions/linux-software-2/writing-0xff-with-the-dd-command-845232/

View Article


Getting started to hardware description language and FPGA

I decided to learn a little bit of Verilog and FPGA. A nice place to start reading about Verilog is this site: https://www.asic-world.com/verilog/index.html Of course you can use Verilator to start...

View Article

IPsec for embedded systems

https://github.com/tinytux/embeddedipsec

View Article


Setting IP on NuttX using ifconfig

This is the way to setup IP address manually: nsh> ifconfig eth0 10.0.1.2 dns 8.8.8.8

View Article

Setup FTP server on Ubuntu

This is the steps I followed: https://www.hostinger.com/tutorials/how-to-setup-ftp-server-on-ubuntu-vps/ But while trying to connect I got this error: $ ftp 192.168.0.5 Connected to 192.168.0.5. 220...

View Article

How to clean up Meadow repository

git clean -xffd cd mbedtls git clean -xffd cd .. git submodule update --recursive ./build.sh --force --clean

View Article
Browsing all 870 articles
Browse latest View live