Raspberry Pi Pico ADC issues
Just like it happens to ESP32, the RP2040 also has some ADC issues: https://pico-adc.markomo.me
View ArticleThe pager protocol
Understanding the POCSAG paging protocol: https://habr.com/en/post/438906/ It is possible to use SDR to decode the protocol:$ rtl_fm -M fm -l 50 -s 22050 -f 929.938M | multimon-ng -t raw -a FLEX -a...
View ArticleLearning CW (Morse Code) on Linux
I decided to get HAM license and started studying for the exam. The most challenging part is the Morse code test. Hopefully there are some sites and software to make it easier: I downloaded all the...
View ArticleSTLink is not a good option to program nRF52xxx
$ sudo openocd -f "interface/stlink.cfg" -f "target/nrf52.cfg" -c "init" -c "flash info 0 " Open On-Chip Debugger 0.11.0+dev-00062-g6405d35f3-dirty (2021-03-26-17:21) Licensed under GNU GPL v2 For bug...
View ArticleJLink was enable to detect and remove AP protection of the nRF52832
I was trying to program the nRF52_Sensor_R40 using OpenOCD + STLink, but without luck. Then I decided to use my JLink EDU to erase the nRF52 and it worked! \o/ I powered the nRF52_Sensor_R40 with 3.3V...
View ArticleHow do I submit Pull Request to NuttX
I follow these steps: I follow these steps after creating my github fork: $ git clone https://github.com/acassis/incubator-nuttx $ git remote add upstream git@github.com:apache/incubator-nuttx.git $...
View ArticleHow to get i386 binaries work on Ubuntu
Probably you already executed the procedure to include i386 support to Linux: $ sudo dpkg --add-architecture i386$ apt-get update$ sudo apt-get update$ sudo apt-get install libc6-i386 Even yet your...
View ArticleOnline Morse decoder
https://morsecode.world/international/decoder/audio-decoder-adaptive.html
View ArticleUSB Keyboard on NuttX needs more improvements
NuttX has support to USB Mouse and keyboard, whoever only few USB Keyboards will work. I know a keyboard that some users reported to work correctly is the Perixx PERIBOARD-409U Wired USB Mini...
View ArticleUseful links about DALI and DALI2
Simple DALI controller implemented on Arduino:https://www.hackster.io/NabiyevTR/simple-dali-controller-506e44 DALI server for Linux:https://github.com/onitake/daliserver DALI LED controller using...
View Articlescreen is terminating but never finish
While trying to use the screen the second time (the first time I just close the terminal without exiting the screen with ctrl + a + k) I got this error: $ screen /dev/ttyACM0 115200[screen is...
View ArticleDouble negative
No, it is not related to the computer science (at least not the way you are thinking) http://www.khoavu.com/new-page-2
View ArticleLow Cost CAN Interfaces for Linux
Microchip APGDT002: https://github.com/rkollataj/mcba_usb/blob/master/mcba_usb.c USB2CAN: https://www.8devices.com/products/usb2can Chinese...
View ArticleDebugging ESP32-S2 with OpenOCD and GDB
$ openocd -f esp32s2_saola.cfg Open On-Chip Debugger v0.10.0-esp32-20210401-13-g5d011fa5 (2021-05-12-12:41) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html...
View ArticleDebugging ESP32-S2 with OpenOCD and GDB part 2
This is the OpenOCD command session: $ esp32s2openocd -s tcl -c 'set ESP_RTOS none' -f esp32s2_saola.cfg -c "init; reset halt" Open On-Chip Debugger v0.10.0-esp32-20210401-13-g5d011fa5...
View ArticleDebugging ESP32 using OpenOCD and GDB
Run OpenOCD in the first terminal: $ openocd -s tcl -c 'set ESP_RTOS none' -f interface/ftdi/esp32_devkitj_v1.cfg -f target/esp32.cfg Open On-Chip Debugger v0.10.0-esp32-20210401-13-g5d011fa5...
View ArticleDebugging ESP32-S2 using OpenOCD and GDB (part 3)
The only why I got it working was build and flashing the esp-idf hello_main example for ESP32S2 and then: $ esp32s2openocd -c "set ESP_RTOS none" -f esp32s2_saola.cfg -c "init; halt" Open On-Chip...
View ArticleTesting Quectel M95 modem
ABCDF stm32l4_rng_initialize: Initializing RNG NuttShell (NSH) NuttX-9.1.0 nsh> ls /dev /dev: console null random ttyS0 ttyS1 ttyS2 tun nsh> ifconfig nsh> pppd & pppd [3:100] nsh>...
View ArticleQuectel M95 works on NuttX
NuttShell (NSH) NuttX-9.1.0 nsh> pppd & pppd [3:100] nsh> chat: ATZ ~�}#�!}%}!} }$=�~~�}#�!}%}"} }$Y(~+++ Call Ready ATE1 OK chat: OK ATZ OK chat: cmd 1, arg ON chat: cmd 4, arg 30 chat:...
View Article