June 04, 2025, 07:25:48 AM

Recent posts

#51
ESP32 / ESP32P4 DevKit bricked after u...
Last post by rweickelt - May 09, 2025, 09:22:35 PM
I bought the ESP32P4 devkit and flashed the hello_world example from IDF v5.4.1 on a Ubuntu 24.04 machine. I did not do any modifications to it, just build and flash. When I wanted to verify whether the example works, I noticed that /dev/ttyACM1 disappeared and did not come back when reconnecting the board.

I noticed that the PC fails to recognize the board. dmesg prints the following output in a loop:

12102.125291] usb 1-2.1: new full-speed USB device number 108 using xhci_hcd
[12102.252563] usb 1-2.1: device descriptor read/64, error -32
[12102.484460] usb 1-2.1: device descriptor read/64, error -32
[12102.716220] usb 1-2.1: new full-speed USB device number 109 using xhci_hcd
[12102.843268] usb 1-2.1: device descriptor read/64, error -32
[12103.077552] usb 1-2.1: device descriptor read/64, error -32
[12103.181679] usb 1-2-port1: attempt power cycle

By holding BOOT1 while pressing RESET1 I can trigger a reenumeration when releasing the RESET1 button, but then the loop continues.

When leaving the board disconnected for a while and reconnecting it,
  • the host suddenly enumerates it correctly, the /dev/ttyACM1 device appears, but only for 2 seconds
  • Then it is reenumerated successfully a second time
  • After 2 seconds, it gets back into the failure loop

When running
esptool.py -p /dev/ttyACM1  -b 115200 erase_flash quickly after successfully enumerating the board, I get:
$ esptool.py -p /dev/ttyACM1  -b 115200 erase_flash
esptool.py v4.8.1
Serial port /dev/ttyACM1
Connecting...
Traceback (most recent call last):
  File "/home/rw/.espressif/python_env/idf5.3_py3.12_env/bin/esptool.py", line 37, in <module>
    esptool._main()
  File "/home/rw/.espressif/python_env/idf5.3_py3.12_env/lib/python3.12/site-packages/esptool/__init__.py", line 1314, in _main
    main()
  File "/home/rw/.espressif/python_env/idf5.3_py3.12_env/lib/python3.12/site-packages/esptool/__init__.py", line 803, in main
    esp = esp or get_default_connected_device(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/rw/.espressif/python_env/idf5.3_py3.12_env/lib/python3.12/site-packages/esptool/__init__.py", line 1193, in get_default_connected_device
    _esp = detect_chip(
           ^^^^^^^^^^^^
  File "/home/rw/.espressif/python_env/idf5.3_py3.12_env/lib/python3.12/site-packages/esptool/cmds.py", line 99, in detect_chip
    detect_port.connect(connect_mode, connect_attempts, detecting=True)
  File "/home/rw/.espressif/python_env/idf5.3_py3.12_env/lib/python3.12/site-packages/esptool/loader.py", line 730, in connect
    last_error = self._connect_attempt(reset_strategy, mode)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/rw/.espressif/python_env/idf5.3_py3.12_env/lib/python3.12/site-packages/esptool/loader.py", line 606, in _connect_attempt
    reset_strategy()  # Reset the chip to bootloader (download mode)
    ^^^^^^^^^^^^^^^^
  File "/home/rw/.espressif/python_env/idf5.3_py3.12_env/lib/python3.12/site-packages/esptool/reset.py", line 46, in __call__
    self.port.open()
  File "/home/rw/.espressif/python_env/idf5.3_py3.12_env/lib/python3.12/site-packages/serial/serialposix.py", line 338, in open
    self._update_rts_state()
  File "/home/rw/.espressif/python_env/idf5.3_py3.12_env/lib/python3.12/site-packages/serial/serialposix.py", line 708, in _update_rts_state
    fcntl.ioctl(self.fd, TIOCMBIC, TIOCM_RTS_str)
BrokenPipeError: [Errno 32] Broken pipe

That changes something. The enumeration loop stops. The /dev/ttyACM1 device remains. But yet I cannot talk to the ESP32. The MCU also gets quite warm after a while, but I read that may be normal.

I tried the same with different USB cables and on different Linux computers without luck. Did I brick the board?
#52
A20 / Grateful for any advice or tip...
Last post by Congavoke - May 09, 2025, 07:37:34 AM
Hi all

I just received a FreedomBox from Olimex and I would like to install Void on it. I am not sure which platform is right for the Lime2 (Allwinner A20). Has anyone succeeded with this?

Grateful for any advice or tips.

My thanks in advance!
#53
ESP32 / Re: ESP32-EVB becomes unrespon...
Last post by LubOlimex - May 08, 2025, 10:20:23 AM
It is probably a hardware problem with this specific board, please contact us over support@olimex.com to arrange warranty replacement. Provide a link to this thread in the e-mail to address the issue faster. Sorry for this.
#54
ESP32 / Re: ESP32-EVB becomes unrespon...
Last post by Biblbub - May 07, 2025, 07:51:55 PM
I have attached an extension cord to the relay and then connected a hairdryer instead of a lightbulb to it.
The dryer is far enough away from the board to be in another room, (approx. 2m), so I think I covered the interference angle: I see the same behaviour.
It works a few times and the disconnects:

closing connection


connecting to google.com
HTTP/1.1 301 Moved Permanently
Location: http://www.google.com/
Content-Type: text/html; charset=UTF-8
Content-Security-Policy-Report-Only: object-src 'none';base-uri 'self';script-src 'nonce-IZ3Xo2Rv84Cd26Q0H8m-sA' 'strict-dynamic' 'report-sample' 'unsafe-eval' 'unsafe-inline' https: http:;report-uri https://csp.withgoogle.com/csp/gws/other-hp
Date: Wed, 07 May 2025 16:46:31 GMT
Expires: Fri, 06 Jun 2025 16:46:31 GMT
Cache-Control: public, max-age=2592000
Server: gws
Content-Length: 219
X-XSS-Protection: 0
X-Frame-Options: SAMEORIGIN

<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
                                                                              <TITLE>301 Moved</TITLE></HEAD><BODY>
                                                                                                                   <H1>301 Moved</H1>
           The document has moved
                                 <A HREF="http://www.google.com/">here</A>.
</BODY></HTML>
closing connection


connecting to google.com
HTTP/1.1 301 Moved Permanently
Location: http://www.google.com/
Content-Type: text/html; charset=UTF-8
Content-Security-Policy-Report-Only: object-src 'none';base-uri 'self';script-src 'nonce-G8LXW0UQv-JdLf66PzRNhQ' 'strict-dynamic' 'report-sample' 'unsafe-eval' 'unsafe-inline' https: http:;report-uri https://csp.withgoogle.com/csp/gws/other-hp
Date: Wed, 07 May 2025 16:46:34 GMT
Expires: Fri, 06 Jun 2025 16:46:34 GMT
Cache-Control: public, max-age=2592000
Server: gws
Content-Length: 219
X-XSS-Protection: 0
X-Frame-Options: SAMEORIGIN

<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
                                                                              <TITLE>301 Moved</TITLE></HEAD><BODY>
                                                                                                                   <H1>301 Moved</H1>
           The document has moved
                                 <A HREF="http://www.google.com/">here</A>.
</BODY></HTML>
closing connection


connecting to google.com
HTTP/1.1 301 Moved Permanently
Location: http://www.google.com/
Content-Type: text/html; charset=UTF-8
Content-Security-Policy-Report-Only: object-src 'none';base-uri 'self';script-src 'nonce-S7YYIUUvJleuzbHRcN3-kQ' 'strict-dynamic' 'report-sample' 'unsafe-eval' 'unsafe-inline' https: http:;report-uri https://csp.withgoogle.com/csp/gws/other-hp
Date: Wed, 07 May 2025 16:46:37 GMT
Expires: Fri, 06 Jun 2025 16:46:37 GMT
Cache-Control: public, max-age=2592000
Server: gws
Content-Length: 219
X-XSS-Protection: 0
X-Frame-Options: SAMEORIGIN

<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
                                                                              <TITLE>301 Moved</TITLE></HEAD><BODY>
                                                                                                                   <H1>301 Moved</H1>
           The document has moved
                                 <A HREF="http://www.google.com/">here</A>.
</BODY></HTML>
closing connection


connecting to google.com
connection failed

connecting to google.com
connection failed

connecting to google.com
connection failed

connecting to google.com
connection failed

connecting to google.com

#55
New Products release / Interfacing senors with MicroP...
Last post by olimex - May 07, 2025, 03:08:11 PM
Interfacing different sensors DHT11, DHT22, SHTC3, DS18B20 for temperature and humidity measurements with MicroPython and ESP32-EVB https://olimex.wordpress.com/2025/05/07/interfacing-different-sensors-with-esp32-evb-and-micropython-dht11-dht22-shtc3-and-ds18b20/ #dht11 #dht22 #shtc3 #ds18b20 #esp32 #micropython
#56
ESP32 / Re: ESP32-EVB becomes unrespon...
Last post by LubOlimex - May 07, 2025, 08:56:54 AM
As long as I see this time it is relay 2. So the theory that it is an issue related to relay 1 only is now debunked.

I also forgot to clarify that when you run my demo the board will get IP address that is visible at start of initialization and then you can disconnect USB and ping the IP address it got so you can check if the Ethernet is working over the network without the USB being connected.

I am testing again today, will keep you updated. We will test with different capacitor for C18 and see if that improves the behavior. We will test with different relays. Meanwhile if possible test these two scenarios:

- Test with incandescent bulb, while halogen bulbs should have lower EMI/RF I still see garage door companies clearly recommend avoiding them so maybe they know something that we don't know (like here https://www.admgaragedoors.com/What-Light-bulbs-can-I-use-in-my-garage-door-opener)

- Enlengthen the bulb cables and place the bulb 1 meter away from the board and the rest of the cables. Then test with both bulbs - LED and halogen. See if hang still occur. I believe proximity plays huge role here.
#57
Neo6502 / Neo6502 / Assembler Programmin...
Last post by mscha - May 06, 2025, 05:07:48 PM
I want to use the Neo6502pc or the Neo6502 (I have both) to program in 6502 assembler.
Therefore, it is necessary to store programs on the USB key and to load them.

I looked in the documentation and found no solution. See a report on what I experienced below.


Neo6502pc
=========


The Neo6502pc User Manual (revision 2.0, December 2024) says:

"If you want to develop on Apple][e and write your own code you can program the firmware and the flash drive with blank ProDos disk from here. And Neo6502pc will boot as Apple][ and you can load and save your code on the Prodos disk (Flash drive)."

First attempt:
- I upload apple2e.uf2 on the Neo.
   If I now boot the Neo, I get a blank screen.
- Now I store ProDos_2_4_3.po on a newly formatted 8GB USB stick (from Olimex) and insert the stick into the NEO.
  If I now boot the Neo, I get the Apple IIe screen with the Basic prompt ].
  I can execute simple Basic commands like a loop.
  But CAT, CATALOG, PREFIX don't work and I don't know how to use the USB Key.
- Call -151 brings me into the monitor, which works nicely.
  Even the disassembler and the mini-assembler function well.

Second attempt:
- I upload apple2e-5.uf2 on the Neo.
  The result is exactly the same as above.

So, how can I store or load something from the monitor or any .asm or .bin file?
In the monitor, Axxx.yyyW seems to do something, but what? Axxx.yyyR hangs the system up.
How do I get into the ProDos environment? I tried BYE, EXIT, SYSTEM, etc., etc. No success.


Neo6502
=======


The Neo6502 User Manual (revision 3.0, December 2024) says:

'The board arrives programmed with Apple II emulator. To use the board you also need to prepare a USB flash drive with "Total Replay v5.1.hdv". Download resources from here:
https://ftp.olimex.com/Neo6502/';

Third attempt:
- I upload apple2e-5.uf2 on the Neo.
  If I now boot the Neo, I get a blank screen.
  If I insert a USB stick with the Total Reply v5.1.hdv, then the Total Replay starts with 486 games.
  I have no idea how to leave that menu properly.
  Inserting a stick with ProDos starts Apple IIe with the Basic prompt ]. CALL -151 starts the Monitor.
  How to Load or Store files is unclear.

Fourth attempt:
- I upload apple2e.uf2 on the Neo.
  The result is exactly the same as above.
 
#58
ESP32 / Re: ESP32-EVB becomes unrespon...
Last post by Biblbub - May 06, 2025, 04:34:22 PM
I tested with a single halogen light bulb and get the same result, so I think it is not necessarily a LED issue:




connecting to google.com
HTTP/1.1 301 Moved Permanently
Location: http://www.google.com/
Content-Type: text/html; charset=UTF-8
Content-Security-Policy-Report-Only: object-src 'none';base-uri 'self';script-s                                           rc 'nonce-NJcsLRVBnxyTqKbMuN6iaA' 'strict-dynamic' 'report-sample' 'unsafe-eval                                           ' 'unsafe-inline' https: http:;report-uri https://csp.withgoogle.com/csp/gws/ot                                           her-hp
Date: Tue, 06 May 2025 13:29:14 GMT
Expires: Thu, 05 Jun 2025 13:29:14 GMT
Cache-Control: public, max-age=2592000
Server: gws
Content-Length: 219
X-XSS-Protection: 0
X-Frame-Options: SAMEORIGIN

<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
                                                                              <                                           TITLE>301 Moved</TITLE></HEAD><BODY>
                                    <H1>301 Moved</H1>
                                                      The document has moved
                                                                            <A                                            HREF="http://www.google.com/">here</A>.
</BODY></HTML>
closing connection


connecting to google.com
HTTP/1.1 301 Moved Permanently
Location: http://www.google.com/
Content-Type: text/html; charset=UTF-8
Content-Security-Policy-Report-Only: object-src 'none';base-uri 'self';script-src 'nonce-_UGl86UoXTafXokTR-IQ4A' 'strict-dynamic' 'report-sample' 'unsafe-eval' 'unsafe-inline' https: http:;report-uri https://csp.withgoogle.com/csp/gws/other-hp
Date: Tue, 06 May 2025 13:29:17 GMT
Expires: Thu, 05 Jun 2025 13:29:17 GMT
Cache-Control: public, max-age=2592000
Server: gws
Content-Length: 219
X-XSS-Protection: 0
X-Frame-Options: SAMEORIGIN

<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
                                                                              <TITLE>301 Moved</TITLE></HEAD><BODY>
                                                                                                                   <H1>301 Moved</H1>
           The document has moved
                                 <A HREF="http://www.google.com/">here</A>.
</BODY></HTML>
closing connection


connecting to google.com
HTTP/1.1 301 Moved Permanently
Location: http://www.google.com/
Content-Type: text/html; charset=UTF-8
Content-Security-Policy-Report-Only: object-src 'none';base-uri 'self';script-src 'nonce-24HAc7xZIJH1OsdDvKo49Q' 'strict-dynamic' 'report-sample' 'unsafe-eval' 'unsafe-inline' https: http:;report-uri https://csp.withgoogle.com/csp/gws/other-hp
Date: Tue, 06 May 2025 13:29:20 GMT
Expires: Thu, 05 Jun 2025 13:29:20 GMT
Cache-Control: public, max-age=2592000
Server: gws
Content-Length: 219
X-XSS-Protection: 0
X-Frame-Options: SAMEORIGIN

<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
                                                                              <TITLE>301 Moved</TITLE></HEAD><BODY>
                                                                                                                   <H1>301 Moved</H1>
           The document has moved
                                 <A HREF="http://www.google.com/">here</A>.
</BODY></HTML>
closing connection


connecting to google.com
connection failed

connecting to google.com
connection failed
#59
ESP32 / Re: ESP32-EVB becomes unrespon...
Last post by LubOlimex - May 06, 2025, 03:51:55 PM
Yeah upon some further testing and measurements - treat LED bulbs like EMI/RF emitters. Consider capacitors and ferrite beads (even clap-on will probably work), place LED bulbs away from sensitive equipment. Use shielded cables.
#60
ESP32 / Re: multiple ESP32-POE2 (new) ...
Last post by LubOlimex - May 06, 2025, 03:27:30 PM
Depends on which ESP32-POE and ESP32-POE-ISO variant you mean. The base variant with WROVER chip is different compared to ESP32-POE2. It uses GPIO17 for Ethernet clock and GPIO17 is just a regular pin which probably is available sooner. While in ESP32-POE2 and ESP32-POE-WROVER or ESP32-POE-ISO-WROVER the Ethernet clock pin is GPIO0 which is a bootstrap pin so it is held in certain level during boot to ensure proper boot configuration.