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

Creating NuttX Protected mode for iMXRT1060_EVK

Instead of editing the .hex file as suggested in the README.TXT we can use this approach: $ dd if=/dev/zero of=pad2mb.bin bs=1024 count=2048 $ cat nuttx.bin pad2mb.bin > nuttxpad.bin $ dd...

View Article


Tips when booting with NSH

If you want to start your application on NuttX directly without using the NSH you can setup your “app_main” in the ENTRYPOINT, although you will see that some drivers will not start anymore. You can...

View Article


Creating a VIM macro to align variable definition on header files

I was looking for a way to align registers definitions like these: #define REGISTER_XYZ 0x0001#define REGISTER_A 0x0002… And I found this nice tip: qa -- Record a macro in hotkey a 0 -- Go to the...

View Article

Atlas geográfico das zonas costeiras e oceânicas do Brasil

Click to access liv55263.pdf

View Article

JLinkExe Flash failing to STM32L496RE

Found SW-DP with ID 0x2BA01477Unknown DP version. Assuming DPv0Scanning AP map to find all available APsAP[1]: Stopped AP scan as end of AP map has been reachedAP[0]: AHB-AP (IDR: 0x24770011)Iterating...

View Article


Just a resume of my experience with iMXRT1060-EVK

I was trying to run NuttX RTOS on iMXRT1060_EVK board (it has anexternal 8MiB QSPI Flash), but because my JLink EDU is version V8 itdoesn’t supports Cortex-M7. Using the DAPLink drag-and-drop I can...

View Article

Image may be NSFW.
Clik here to view.

Using LPSPI on iMXRT1050-EVKB with NuttX

I decided to document the steps needed to get the Low Power SPI working on iMXRT1050-EVKB and I hope it could be useful for other people using this board. But the basic idea apply to any other board...

View Article

Image may be NSFW.
Clik here to view.

Getting the SDCard of iMXRT1050-EVK working on NuttX

I decided to test the SDCard support on iMXRT1050-EVK board, but go these errors: CC: chip/imxrt_lowputc.c chip/imxrt_lowputc.c: In function 'imxrt_lpuart_configure': chip/imxrt_lowputc.c:559:2:...

View Article


How to save GMail emails in bulk

I was looking for a way to save all the emails returned after searching for some word. There is not an direct way to do it, so this is a workaround: After the search returned the list of emails, just...

View Article


Dieharder: A Random Number Test Suite

This is the test suite used to verify the randomness of (True) RNG algorithms or hardware. http://webhome.phy.duke.edu/~rgb/General/dieharder.php

View Article

How to use RAMDISK as filesystem on NuttX

NuttX is evolving all the time and although I created a video tutorial at NuttX Channel explaining how to create a RAMDISK, that information is already outdated. Let’s do it again using the current...

View Article

Testing IOTJS on NuttX

$ git clone https://github.com/spiriou/incubator-nuttx-apps apps $ git clone https://github.com/apache/incubator-nuttx $ cd apps $ git checkout -b iotjs origin/iotjs Branch 'iotjs' set up to track...

View Article

Always follow the datasheet and the reference board

So you decided to create a project (board) and used a chip just a little bit different from the recommended in the datasheet, please don’t do it. You can read the reasons here:...

View Article


NuttX failing with dirlinks error

This is common error on NuttX, but unfortunately the build system is not clear to explain to the user about it. $ git clone https://github.com/apache/incubator-nuttx $ cd incubator-nuttx $...

View Article

Xiaomi Mi True Wireless Earbuds review

I’m using the Mi Earbuds for two days and these are my impressions so far: Pros:It is comfortable because it fits perfectly in the ears! At first I thought I was going to feel like the Frankenstein...

View Article


Testing PSRAM support for NuttX on ESP-WROVER-KIT

rst:0x1 (POWERON_RESET),boot:0x1e (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0030,len:4...

View Article

Linking external libraries on NuttX

Some time ago I needed to link with ARM DSP library on NuttX to use FFT feature and I decided to document who I did it and some tricks to reduce the final binary size. In fact to include a library all...

View Article


NuttX apps compilation issue

If you decide you create your own NuttX application based on apps/examples/hello you could eventually face this issue: CC: my_app_main.c :0:6: error: expected identifier or '(' before numeric constant...

View Article

Now we can move to Mars and live there in the insects way

These researchers suggested using Chitin protein to create structures in Mars: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7494075/ If you want to try, the instruction to get this protein is here:...

View Article

Why Do Mosfets Fail?

Let’s save this link: Why Do Mosfets Fail?

View Article
Browsing all 870 articles
Browse latest View live