September 11, 2025, 11:03:17 PM

Recent posts

#71
Neo6502 / Re: About Apple II emulator an...
Last post by Ralf - August 04, 2025, 07:00:15 PM
Quote from: stingrayce1982@gmail.com on August 03, 2025, 09:16:41 PMOne thing I found is that some of the USB Hubs I tried worked fine for the Keyboard alone but didn't work when I added the USB Key.


The thing with the USB hubs is that, on one side, there is an issue with the hub's controller chip communicating with the board. However, on the other side, the Pi Pico does not supply much power out of its USB port, so I assume it is beneficial to use a powered USB hub.
#72
Neo6502 / Re: Problems reading USB drive...
Last post by Ralf - August 04, 2025, 06:50:59 PM
That's a cool idea. Let us know how it goes. :-)
#74
A64 / HDMI: A64 Board not detecting ...
Last post by a7med3365 - August 04, 2025, 01:30:31 PM
Im using A64-OLinuXino-2Ge16G-IND, with A64-OLinuXino-bullseye-base-20231106-081613.img.7z

We had one board that we were using for sometime and it was working smoothly with multiple monitors.
Then we bought another one, same specs and installed the same image, but we are facing issues with the hdmi resolution. the board for some reason is not detecting the monitor resolution and aspect ratio automatically. it display low resolution. and i need to unplug the hdmi multiple times until the board randomly gets adjusted to the max resolution available.

is it a firmware/drivers issue? or a hardware issue?

please suggest ways to resolve this, i tried multiple fixes i found online for Linux boards in general but nothing seems to work.

thank you and best regards
#75
ESP32 / ESP32-PoE-ISO-IND Ethernet con...
Last post by mrmagic - August 04, 2025, 11:18:48 AM
I am having a lot of trouble enabling ethernet on my recently purchased board, i was wondering if anyone could help me. I am using the ESP32-PoE-ISO-IND board with the WROOM type microcontroller.

The project i am working on includes creating an OTA on the ESP32 that you van acces over Ethernet. But the Ethernet section doesnt seem to work. I tried a lot of things, changing CLK_MODE and reconfiguring the sdkconfig file but nothing seems to work. I can build and flash the software but when monitoring the board keeps resetting continuously with errors that the Ethernet cant initialize properly. I use the latest ESP-IDF.

CODE:
#include <string.h>
#include "esp_system.h"
#include "esp_event.h"
#include "esp_log.h"
#include "esp_netif.h"
#include "esp_eth.h"
#include "esp_eth_mac.h"
#include "esp_eth_phy.h"
#include "esp_http_server.h"
#include "nvs_flash.h"
#include "esp_ota_ops.h"
#include "esp_flash_partitions.h"
#include "esp_partition.h"
#include "driver/gpio.h"
#include "esp_netif_ip_addr.h"
#include "esp_image_format.h"
#include "esp_eth_mac_esp.h"
#include "esp_mac.h"


#define ETH_PHY_ADDR      0
#define ETH_MDC_GPIO      23
#define ETH_MDIO_GPIO     18
#define ETH_PHY_POWER_GPIO  12
#define ETH_CLOCK_MODE    ETH_CLOCK_GPIO17_OUT

#define STATIC_IP_ADDR    "192.168.1.100"
#define STATIC_GW_ADDR    "192.168.1.1"
#define STATIC_NETMASK    "255.255.255.0"

static const char *TAG = "web_ota";

void app_main(void) {

    ESP_ERROR_CHECK(nvs_flash_init());
    ESP_ERROR_CHECK(esp_netif_init());
    ESP_ERROR_CHECK(esp_event_loop_create_default());

    esp_netif_config_t cfg = ESP_NETIF_DEFAULT_ETH();
    esp_netif_t *eth_netif = esp_netif_new(&cfg);

    // Set static IP
    esp_netif_ip_info_t ip_info;
    ip_info.ip.addr = esp_ip4addr_aton(STATIC_IP_ADDR);
    ip_info.gw.addr = esp_ip4addr_aton(STATIC_GW_ADDR);
    ip_info.netmask.addr = esp_ip4addr_aton(STATIC_NETMASK);

    esp_netif_dhcpc_stop(eth_netif);
    esp_netif_set_ip_info(eth_netif, &ip_info);

    // Setup MAC & PHY
    eth_mac_config_t mac_config = ETH_MAC_DEFAULT_CONFIG();
    eth_phy_config_t phy_config = ETH_PHY_DEFAULT_CONFIG();
    phy_config.phy_addr = ETH_PHY_ADDR;
    phy_config.autonego_timeout_ms = 0;

    eth_esp32_emac_config_t esp32_emac_config = ETH_ESP32_EMAC_DEFAULT_CONFIG();
    esp_eth_mac_t *mac = esp_eth_mac_new_esp32(&esp32_emac_config, &mac_config);
    esp_eth_phy_t *phy = esp_eth_phy_new_lan87xx(&phy_config);

    esp_eth_config_t eth_config = ETH_DEFAULT_CONFIG(mac, phy);

    esp_eth_handle_t eth_handle = NULL;
    ESP_ERROR_CHECK(esp_eth_driver_install(&eth_config, &eth_handle));
   
    ESP_ERROR_CHECK(esp_netif_attach(eth_netif, esp_eth_new_netif_glue(eth_handle)));
    ESP_ERROR_CHECK(esp_eth_start(eth_handle));

    ESP_LOGI(TAG, "Ethernet started, static IP: %s", STATIC_IP_ADDR);

    // Start web server
    start_webserver();
}

ERRORS:
--- 0x40080400: _invalid_pc_placeholder at C:/Users/sande/esp/v5.5/esp-idf/components/xtensa/xtensa_vectors.S:2235
entry 0x40080638
I (29) boot: ESP-IDF v5.5 2nd stage bootloader
I (29) boot: compile time Aug  4 2025 09:23:48
I (29) boot: Multicore bootloader
I (30) boot: chip revision: v3.1
I (33) boot.esp32: SPI Speed      : 40MHz
I (37) boot.esp32: SPI Mode       : DIO
I (40) boot.esp32: SPI Flash Size : 4MB
I (44) boot: Enabling RNG early entropy source...
I (48) boot: Partition Table:
I (51) boot: ## Label            Usage          Type ST Offset   Length
I (57) boot:  0 nvs              WiFi data        01 02 00009000 00004000
I (64) boot:  1 otadata          OTA data         01 00 0000d000 00002000
I (70) boot:  2 phy_init         RF data          01 01 0000f000 00001000
I (77) boot:  3 factory          factory app      00 00 00010000 00100000
I (83) boot:  4 ota_0            OTA app          00 10 00110000 00100000
I (90) boot:  5 ota_1            OTA app          00 11 00210000 00100000
I (97) boot: End of partition table
I (100) boot: Defaulting to factory image
I (104) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=15e78h ( 89720) map
I (142) esp_image: segment 1: paddr=00025ea0 vaddr=3ff80000 size=00020h (    32) load
I (142) esp_image: segment 2: paddr=00025ec8 vaddr=3ffb0000 size=02600h (  9728) load
I (149) esp_image: segment 3: paddr=000284d0 vaddr=40080000 size=07b48h ( 31560) load
I (166) esp_image: segment 4: paddr=00030020 vaddr=400d0020 size=41d5ch (269660) map
I (258) esp_image: segment 5: paddr=00071d84 vaddr=40087b48 size=06bach ( 27564) load
I (276) boot: Loaded app from partition at offset 0x10000
I (276) boot: Disabling RNG early entropy source...
I (287) cpu_start: Multicore app
I (295) cpu_start: Pro cpu start user code
I (295) cpu_start: cpu freq: 160000000 Hz
I (295) app_init: Application information:
I (295) app_init: Project name:     web_ota_ethernet
I (300) app_init: App version:      1
I (303) app_init: Compile time:     Aug  4 2025 09:23:13
I (308) app_init: ELF file SHA256:  061955d05...
I (312) app_init: ESP-IDF:          v5.5
I (316) efuse_init: Min chip rev:     v0.0
I (320) efuse_init: Max chip rev:     v3.99
I (324) efuse_init: Chip rev:         v3.1
I (328) heap_init: Initializing. RAM available for dynamic allocation:
I (334) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (339) heap_init: At 3FFB3920 len 0002C6E0 (177 KiB): DRAM
I (344) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (350) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (355) heap_init: At 4008E6F4 len 0001190C (70 KiB): IRAM
I (362) spi_flash: detected chip: generic
I (364) spi_flash: flash io: dio
I (368) main_task: Started on CPU0
I (378) main_task: Calling app_main()
E (488) esp.emac: emac_esp32_init(548): reset timeout
E (488) esp_eth: esp_eth_driver_install(250): init mac failed
ESP_ERROR_CHECK failed: esp_err_t 0x107 (ESP_ERR_TIMEOUT) at 0x400d915a
--- 0x400d915a: app_main at C:/Users/sande/web_ota_ethernet/main/main.c:156
file: "./main/main.c" line 156
func: app_main
expression: esp_eth_driver_install(&eth_config, &eth_handle)

abort() was called at PC 0x4008609f on core 0
--- 0x4008609f: _esp_error_check_failed at C:/Users/sande/esp/v5.5/esp-idf/components/esp_system/esp_err.c:49
#76
Neo6502 / Oric Atmos .uf2 firmware
Last post by stingrayce1982@gmail.com - August 04, 2025, 11:14:52 AM
I would like to try the Oric Atmos firmware but the reload-emulator zip file doesn't contain any of the ".uf2" files needed to change the NEO6502 configuration.  I found the .uf2 files for Apple II and Apple IIe on the Olimex FTP server but there isn't anything there for the Oric Atmos.  Could anyone point me to a location where I could get this firmware?
#77
ESP32 / For ESP32-SBC-FabGL...
Last post by hitech444 - August 03, 2025, 09:27:21 PM
Hello,
I just came across this repository: https://github.com/Stan6314 where Stan has emulators for ZX81 and ZX-Spectrum.... Can we use them for our board??
#78
Neo6502 / Re: Joystick or Paddles
Last post by stingrayce1982@gmail.com - August 03, 2025, 09:20:57 PM
I tried testing the UEXT to Nunchuck adapter I use with my DuinoMite-Mini and I couldn't read it from a quick Applesoft program.

Other suggestions?
#79
UEXT / MOD-BME280 SPI
Last post by mink753 - August 03, 2025, 09:20:21 PM
Hello

I recently bought some MOD-BME280 for use in environmental sensing and altitude calculations. I am able to use the sensor with the i2c bus without any issue. I see on the website it says the breakout board supports SPI. However when I examine the datasheet I don't see how to use SPI. Is there a way to use the OLIMEX connector to implement SPI?

Thanks
#80
Neo6502 / Re: About Apple II emulator an...
Last post by stingrayce1982@gmail.com - August 03, 2025, 09:16:41 PM
Estiphan:  I think the question you asked is answered by Ralf in a reply to my question-

apple2_800x600_400MHZ.uf2 -> is pre-flashed on the Neo6502 at delivery, but does not support USB flash drive access
apple2e-5.uf2 -> works with Total Replay
apple2e.uf2 -> works with ProDOS_2_4_3.po

So you want to flash apple2e.uf2 to your NEO6502 and then use the ProDOS_2_4_3.po on your USB Key.  That worked for me and I am able to save and load files from BASIC.

One thing I found is that some of the USB Hubs I tried worked fine for the Keyboard alone but didn't work when I added the USB Key.  I found one that works via trial and error.  I probably own 25 of them and I think 3 worked OK.