May 05, 2024, 12:49:46 PM

Recent posts

#41
ESP32 / Re: ESP32-C3-DevKit-Lipo USB S...
Last post by LubOlimex - April 19, 2024, 12:18:56 PM
Try with the development json in preferneces instead of the stable:

https://espressif.github.io/arduino-esp32/package_esp32_dev_index.json

Follow the instructions here:

https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html

After the JSON update the package to 3.0.x and the board should show up.

The pull request for the board is here:

https://github.com/espressif/arduino-esp32/pull/8896

and then in this commit:

https://github.com/espressif/arduino-esp32/commit/8c08727658e90416de5496b66d0a95f42c495eef

#42
FPGA / Re: How to connect a serial co...
Last post by LubOlimex - April 19, 2024, 11:32:35 AM
There should already be debug uart pins, check GPIO12 and GPIO13 of the RPi. The DirtyJTAG software should enabled them already:

https://github.com/phdussud/pico-dirtyJtag

https://github.com/phdussud/pico-dirtyJtag?tab=readme-ov-file#debug-uart

We haven't tested it, additional work might be needed on the RISC to output to those pins.
#43
STMP1 / Re: Olimex STMP1 SOM - Error s...
Last post by LubOlimex - April 19, 2024, 09:40:50 AM
The boards with 100k resistor would be revision D1, indicated only on the box (the PCB marking would still says D). All boards purchased directly from our web-shop will be revision D1. If you purchase boards from our-web shop they will have the 100k resistor.

I will update the schematic later today.
#44
STMP1 / Re: Olimex STMP1 SOM - Error s...
Last post by LubOlimex - April 19, 2024, 08:43:37 AM
Good catch, my bad! Proper diff files are now uploaded at the same location:

https://ftp.olimex.com/TEMP/SOM-NO-AXP209/DIFF-files/

- Can you please provide a full list of lost capability due to disabling the AXP209 in software?  You said battery charging, low power states, and I think you said elsewhere that some video output capability would be lost.  Is that everything?  I just want to ensure I fully understand the possible effects of disabling the PMIC.

It is mainly the battery-related software functions. The HDMI should be fine for the SOM board (I mainly mentioned it if somebody performs similar removal of AXP support for the LIME or BASE SOM images). Not much should be lost from lack of it. We are not fully aware ourselves of all implications of removing AXP209 driver from the Linux, but on first and second look and tests so far it seems fine.

Drop me an e-mail at support@olimex.com to discuss the details about the affected boards and how to ensure future purchases have the hardware fix applied (and also to discuss returning the two boards that you sent back).
#45
AgonLight / Re: Is everyone enjoying their...
Last post by LubOlimex - April 19, 2024, 08:34:53 AM
This seems like driver issue. Agon Origins uses different and more popular USB chip - CP2104 - it requires different driver (AgonLight2 uses CH340T). Drivers can be downloaded from the official silabs web-site here:

https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads

Download and install the Windows driver and new COM should appear, the rest of the procedure should be the same.

#46
FPGA / How to connect a serial consol...
Last post by PhilTom - April 19, 2024, 05:37:12 AM
I'd like to be able to connect a serial terminal to this board so that I can run a RISC-V core and get serial data to/from it. How would I go about doing this?
#47
FPGA / Re: ILA on GateMateA1-EVB
Last post by PhilTom - April 19, 2024, 05:26:42 AM

I don't have an answer for the ILA issues, but was wondering if you could tell me how you got VGA working? What VGA code did you use?
#48
STMP1 / Re: Olimex STMP1 SOM - Error s...
Last post by thom_nic - April 18, 2024, 05:32:47 PM
Lub I'm looking at the diff files you posted above.  Both diffs appear to be from the same file in the linux kernel source.  Should one of them be for the u-boot source?  I am guessing modules/stmp1-boot/u-boot-olimex/board/olimex/stm32mp1_olinuxino/spl.c
#49
STMP1 / Re: Olimex STMP1 SOM - Error s...
Last post by thom_nic - April 18, 2024, 04:54:33 PM
Thanks very much for the update Lub.  Couple questions:

- Did you rev the hardware with the resistor change? We will not make hardware mods to a third-party component including the Olimex. It must come with the fix.  Can you please confirm the YYWW date code and lot code when this change was made?  We will likely inform our CMs to stop using older SOMs and replace them ASAP.

- Can you please provide a full list of lost capability due to disabling the AXP209 in software?  You said battery charging, low power states, and I think you said elsewhere that some video output capability would be lost.  Is that everything?  I just want to ensure I fully understand the possible effects of disabling the PMIC.

That aside, I am still struggling to understand the root cause of the issue.  Virtually every STMP1 SOM we have on hand in engineering, we can cause this in about 10 minutes or less of power cycling (1 minute off between each power up.)  After it gets to this state, the unit may be left off for hours (overnight) and still will not boot.  Swapping the SOM always resolves it.  It seems like infrequently a "bad" SOM will boot again after it has been pulled off the mainboard for a while.  But usually it will hang again after the next  power cycle or two.

Have you already or do you plan to also add this improvement to the next board revision?
#50
AgonLight / Re: Is everyone enjoying their...
Last post by hanker - April 18, 2024, 04:53:43 PM
I have successfully updated my Agon Light 2 VDP from 1.04RC3 to 1.04 by following the instructions from https://github.com/breakintoprogram/agon-vdp?tab=readme-ov-file#arduino-ide-settings and then using the mos/flash.bin utility to update VDP to v2.8.0 and MOS to v2.2.3.

But using the same steps I can not update my Agon Origins' VDP from v1.04RC1 to v1.04.
Arduino IDE generates error message says the COM port is not connected so it can't upload the newly compiled VDP v1.04 to Agon Origins.  I used the Windows 11 device manager checked the COM port setting and found Agon Light 2 is automatically configure as COM port 3 when its USB cable is connected to my Windows PC but the Agon Origins is not configured to any COM port at all.  It just shows the Agon Origins is listed in the "other device" category on the Windows device manager listing.

Are the ESP32 of Agon Light 2 and Agon Origins the same or they are different?

Update:

Hi LubOlimex,

Following your information of CP2104 driver installation, I have successfully updated my Agon Origins' VDP to v2.8.0 and MOS to v2.2.3.  The procedures are the same as the above Agon Light2 update steps.  Thanks for the help.