June 18, 2025, 03:15:32 PM

Recent posts

#1
A20 / Re: LIME2 sun4i-codec not work...
Last post by LubOlimex - Today at 02:38:38 PM
I am not sure if audio is enabled for the LIME2 since the board has no audio jacks, I think it is not enabled on purpose to have more free GPIOs. Are you using LIME2-SHIELD? Try enabling the overlay for LIME2-SHIELD instead. It might be in olinuxino-overlay. Which variant of the LIME2 board? I will test too.
#2
A20 / Re: LIME2 sun4i-codec not work...
Last post by zeallin - Today at 12:20:17 PM
Yeah I've tried following scenario (olinuxino-reset is executed):

1.  run olinuxino-overlay to enable sun4icodec then reset  (HDMI plugged) -> same aplay fail
2.  based on step 1, use olinuxino-display switch to LCD 10' no TS (HDMI unplugged)  -> same aplay fail
3.  based on step 1, use olinuxino-display switch to DISABLE, (HDMI unplugged)  -> same aplay fail

I found when I enabled the sun4icodec then the sun4ihdmi is gone. but when called olinuxino-reset the sun4ihdmi is backed is this expected?
#3
JTAG / Re: ARM-USB-TINY-H working / A...
Last post by LubOlimex - Today at 09:29:22 AM
These errors usually indicate a problem between the ARM-USB-OCD-H and the target. Either wiring issue or powering issue.

Did you attach the 20-10 adapter directly to the ARM-USB-OCD-H? Keep the wires short else there might be timeouts.

Did you test the ARM-USB-OCD-H with a simple, proven to work board? Does it work well with other targets?

How do you power the target? Is it via the ARM-USB-OCD-H? Try powering from external source.

#4
Finally, I found how to attach the EEG-SMT electrodes:
Simply buy a white elastic headband. Use a needle and thread to sew EEG-SMT electrodes to the headband from the inside. EEG-SMT electrodes have 4 small holes through which you can sew them. If you have a soldering iron and solder, solder gold-plated pins (or ordinary blunt pins) to the electrodes to make them conduct better.

I also found you can solder an ordinary wire to an EEG-SMT electrode and touch your head with the wire. It works the same. A wire is much smaller.

#5
A20 / Re: LIME2 sun4i-codec not work...
Last post by LubOlimex - Today at 08:08:26 AM
What happens if you try the different options in olinuxino-display? E.g. with HDMI output set, with automatic set, with something else selected? Maybe first run olinuxino-reset and reboot to revert any changes configuration you might have done and forgotten about.
#6
A20 / LIME2 sun4i-codec not working ...
Last post by zeallin - Today at 07:01:25 AM
Hello,

I want to upgrade the A20 system image to latest A20-OLinuXino-bullseye-base-20241121-172551.img, but the sun4i-codec seems not enabled by default.

I used the cool olinuxino-overlay tool to enabled the lime-audio-codec.dtbo then reset, and can see the device from aplay -l:

**** List of PLAYBACK Hardware Devices ****
card 0: sun4icodec [sun4i-codec], device 0: CDC PCM Codec-0 [CDC PCM Codec-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

However when I try to play a wav file it does not have audio output to speaker, and seems never return, need to use ctrl+c to force quit:
olimex@a20-olinuxino:~$ aplay ready.wav
Playing WAVE 'ready.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
^CAborted by signal Interrupt...
aplay: pcm_write:2058: write error: Interrupted system call

The same board with speaker can play audio using old debian8 image.

Is there anything I need to configure to make the analog codec works?

The test board is T2 Rev.L, it is connected to HDMI screen (but we don't want hdmi audio output since the screen does not have speaker)

Love Olimex A20. Thanks you very much my friends!
#7
JTAG / ARM-USB-TINY-H working / ARM-U...
Last post by jhersh - Today at 12:26:16 AM
I'm trying to get my ARM-USB-OCD-H working with my custom board (ARMv5 core). I borrowed a TINY to compare, and it is able to work fine. The OpenOCD config only differs by the PID. I'm getting several things that stand out as different behavior, besides it just not working. I see `IR capture error; saw 0x01 not 0x02` which doesn't happen with the TINY, and I also see `Error: JTAG scan chain interrogation failed: all ones` which doesn't happen on the TINY. Is there additional setup or wiring required to make it work? Is the power supply connection on the OCD needed? I'm using the same USB cable and the same 20-pin to 10-pin JTAG adapter cable in both cases. My OCD is definitely older than the TINY. Is there some early rev hardware limitation? Just trying to figure out how to use my OCD.

Thanks!
#8
New Products release / Raspberry Pi LCD 3.5"
Last post by olimex - June 17, 2025, 01:20:20 PM
New product in stock: Raspberry Pi5 LCD display 480x320 pixels, 3.5" with touch screen, active cooler and plastic box all is in one in stock https://www.olimex.com/Products/RaspberryPi/RPi5-LCD3.5-320x480/ #raspberrypi #rpi5 #lcd #rpi #ili9486
#9
New Products release / Hand Gesture Recognition modul...
Last post by olimex - June 16, 2025, 02:03:38 PM
SNS-GESTURE is hand gesture recognizing module with I2C interface which easily can be interfaced to Arduino, PICO or ESP32 with MicroPython https://olimex.wordpress.com/2025/06/16/sns-gesture-is-i2c-hand-gesture-recognizer-module-which-you-can-easily-interface-to-your-next-arduino-or-micropython-project/ #esp32 #pico #arduino #gesture #regonize #i2c #module
This module will help you to add fancy interface to your next project and to navigate without keyboard and mouse.
#10
New Products release / ESP32-CAM now with 4MB PSRAM a...
Last post by olimex - June 16, 2025, 11:04:28 AM
ESP32-CAM now is updated with 4MB of PSRAM and 8MB of Flash for the same price EUR 10.95 https://www.olimex.com/Products/IoT/ESP32/ESP32-CAM/ #esp32 #camera #ai #iot