July 02, 2025, 03:52:40 AM

Recent posts

#41
A20 / LIME2 sun4i-codec not working ...
Last post by zeallin - June 18, 2025, 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!
#42
JTAG / ARM-USB-TINY-H working / ARM-U...
Last post by jhersh - June 18, 2025, 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!
#43
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
#44
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.
#45
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
#46
New Product Ideas / Re: LiPo-UPS-5V or MOD-UPS-5V
Last post by LubOlimex - June 16, 2025, 08:38:29 AM
This setup will probably work, yes.

Either use the power jack cable or the terminal cable to the headers for the input on the SOM-EVB board, not both. This will lead to short circuit.
#47
FPGA / Re: Gatemate versions
Last post by LubOlimex - June 16, 2025, 08:28:20 AM
It is very important for a lot of software to run, my advice is to get the version with the SPI flash. For example, check this project (search in page SPI):

https://github.com/colognechip/gatemate_ila

Also check this previous post here:

https://www.olimex.com/forum/index.php?topic=9432.0
#48
New Product Ideas / Re: LiPo-UPS-5V or MOD-UPS-5V
Last post by ilario - June 14, 2025, 09:07:42 PM
I found this board from Adafruit that seems fulfilling the same goal (but without giving info on the battery status to the computer):
"PowerBoost 1000 Charger - Rechargeable 5V Lipo USB Boost @ 1A - 1000C"
https://www.adafruit.com/product/2465

With the matching power supply being out of stock on Adafruit but available on other distributors' websites.
"5V 2.5A Switching Power Supply with 20AWG MicroUSB Cable"
https://www.adafruit.com/product/1995

On the computer side, it would be complemented either by this cable:
"USB to 2.1mm Male Barrel Jack Cable - 22AWG & 1 meter"
https://www.adafruit.com/product/2697

Or these two pieces:
"Terminal Block - 2-pin 3.5mm"
https://www.adafruit.com/product/724
"POWER CABLE RIGHT ANGLE"
https://www.olimex.com/Products/Components/Cables/PWR-CABLE-RA/
#49
FPGA / Gatemate versions
Last post by freedomlives - June 14, 2025, 02:35:49 PM
What is the usefulness of the U3 2MB SPI flash? After almost 2 decades since I last touched an FPGA in university, I have an idea for a project that would need one, and I can afford the extra 3€ if that's going to make my life easier using the Gatemate board, I just don't understand what it is for!
#50
A20 / Re: Question about using SPI N...
Last post by LubOlimex - June 12, 2025, 03:04:57 PM
I don't think it will work. Look here:

https://linux-sunxi.org/BROM

Also I don't see SPI NAND listed in the boot diagram in the manual on page 95 (only SPI NOR):

https://github.com/allwinner-zh/documents/blob/master/A20/A20_User_Manual_v1.4_20150510.pdf