May 01, 2025, 08:15:42 AM

Recent posts

#91
ESP32 / Re: Lock-up requiring power cy...
Last post by cbrake - March 26, 2025, 09:32:11 PM
Power is via USB port.

The Olimex is connected to a custom baseboard with a handful of components.

The problem happened during normal development -- flash, reboot, etc. Resetting or reprogramming the board did fix it, only power cycle.

The Zephyr serial console locks up. I did not test anything else since that is primarily how we interact with the system.

We are using Zephyr, which is supported on the ESP32 modules.

I cannot replicate the issue as it has only happened a few times over a very long time span, but experience tells me if we deploy more units, statistically it will show up if there is an issue.

Thinking of:

- verify power supplies are stable
- power cycle testing, where we cycle power and verify the unit comes up in an automated way

#92
ESP32 / Re: ESP32-GATEWAY-EA-IND rev. ...
Last post by Raj12 - March 26, 2025, 04:19:43 PM
Quote from: staley on February 07, 2025, 03:21:46 PMDoes anyone have a working code/example for WHATEVER communication over the ethernet modul? So that i would have a basis to continue. Thank you! :)

If you are not fixed to Hercules, for the ESP32 Mongoose worked for me like a charm. You can use their mongoose wizard to get a working example, just pick ESP32 Series from the Target Architecture menu.
#93
ESP32 / Re: Lock-up requiring power cy...
Last post by LubOlimex - March 26, 2025, 08:07:49 AM
How does the lock up occur? Describe what happens before the boot exactly? Do you attach power to the board or how exactly do you initiate the boot?

During this lock up what exactly is connected to the board and where exactly?

Are you sure the whole board locks up and not just some part of it (like for example, is it possible that only Ethernet locks up)?

What kind of software are you using? Did you try to replicate the issue with other, basic software loaded instead?

#94
ESP32 / Lock-up requiring power cycle ...
Last post by cbrake - March 25, 2025, 09:25:07 PM
3 times over perhaps 6 months of development, I've had the ESP32-POE lock up part way through boot. Hardware reset would reset the board, but it would stop at the same place. The only way to recover was a power cycle.

Has anyone else seen this, or have ideas why this might be happening?

I asked the Espressif community and one Espressif dev said he had seen this and suggested checking if reset times and power supply ramps are within spec.

We are designing a product (ATS) where it will not be easy to power cycle the ESP-32. If hardware reset would work, that would be adequate with external watchdog.
#95
New Product Ideas / Re: RVPC improvement
Last post by Grubi - March 25, 2025, 11:46:19 AM
Thanks, then I know, and will continue with what is available :)
#96
New Product Ideas / Re: RVPC improvement
Last post by LubOlimex - March 25, 2025, 11:14:55 AM
I can answer some of the questions:

- Q2:

You can't do anything of the described without building a new binary. In order to download the binary you'd need either WCH programmer or ESP32-S2 board setup as programmer.

- Q3 and Q4:

There are no free GPIO pins led out anywhere.

About the sandbox it is probably some safe space that address. About new version Tsvetan mentioned above about the new version.
#97
New Product Ideas / Re: RVPC improvement
Last post by Grubi - March 25, 2025, 10:35:09 AM
Hello, I just solder the RVPC yesterday and think it is a great stuff, even it has small memory and new ones are coming. Now - have a few lame questions, which may be I could read somewhere more... Thanks in advance for any advice!

On the power up we have
reset     @0x0000061C
buzz_ok   @0x00000496
buzz_err  @0x000009B8
sandbox   @0x000000CC

So, I try for example @0x00000496:01 and G (go/run) and all commmands seems to be fine.

Q1. What sandbox command is doing - just black window for me after @x000000CC:01?
Q2. Without external programming and compiling another .bin, with default software - can one do something very simple - generate different sound or PWM drive single LED, draw a line, flash the display, run a counter? Where need to read about those possibilities - datasheet of CH32V003J4M6 and default bin / firmware?
Q3. Is it possible to make simple clock if I2C RTC is added (with new and external .bin compiled)?
Q4. Is it possible that simple video voltmeter to be added, without GPIO expander (with external .bin compiled)?
Q5. Are new version with more memory and GPIOs on the way?
#98
New Product Ideas / Re: RP2040-PICO-PC SDCard GPIO...
Last post by LubOlimex - March 25, 2025, 08:07:41 AM
What SDFat implementation are you using? Did you try few different implementations for RP2040, like this one, for example:

https://github.com/greiman/SdFat
#99
New Product Ideas / RP2040-PICO-PC SDCard GPIO-Pin...
Last post by guidol - March 24, 2025, 04:28:49 PM
as per example from your Webpage
https://github.com/OLIMEX/RP2040-PICO-PC/blob/main/SOFTWARE/no-OS-FatFS-SD-SPI-RPi-Pico/simple_example/hw_config.c

the GPIO pins for the SDCard should be
.hw_inst = spi0,  // SPI component
        .miso_gpio = 4,  // GPIO number (not pin number)
        .mosi_gpio = 7,
        .sck_gpio = 6,
        .ss_gpio = 22,


I also did try this config for RunCPM to gain SDCard-Access:
// MicroSD Pin Definition for RP2040-Pico-PC board
// Pin  6 - GPIO 4  MISO
// Pin 29 - GPIO 22 Chip/Card-Select (CS / SS) SPI0_CSn1
// Pin  9 - GPIO 6  Clock (SCK)
// Pin 10 - GPIO 7  MOSI

but the SDcard couldnt be init/opend via SDFat-Library.
Also did try 10Mhz and not 19Mhz as normal.

What are then the correct settoings?
#100
ST / Re: example code for STM32-E40...
Last post by Raj12 - March 24, 2025, 04:15:19 PM
There is a bunch of examples for the STM32F4 on https://mongoose.ws/documentation/#stm32
Maybe one of them will fit your needs.