September 12, 2025, 12:48:22 AM

Recent posts

#61
Neo6502 / Re: Oric Atmos .uf2 firmware
Last post by Ralf - August 17, 2025, 08:28:24 PM
Have you tried this one?

https://ftp.olimex.com/Neo6502/old-uf2/oric.uf2

I'm sorry otherwise, I have no experience with the Oric...
#62
A20 / Can I use Li-Ion battery direc...
Last post by mikasabaggins - August 14, 2025, 06:55:10 AM
I am planning to do a mobile project using the OLinuXino board, so I am considering powering it directly from a Li-Ion battery instead of using an adapter or USB power. I wonder if anyone has tried this. Do I need to add any protection circuit or charging, and will the performance be affected much?
#63
Neo6502 / Re: Oric Atmos .uf2 firmware
Last post by stingrayce1982@gmail.com - August 10, 2025, 02:21:30 AM
I'm coming to the conclusion that contrary to the information on Olimex's website, there is no usb support in the firmware.  I'm wondering if anyone has built the firmware themselves and added some additional software images? I don't have the means to build it myself so I'm just relying on what I can download.  It would be nice to have more than one program to demonstrate.
#64
MSP430 / MSP430-JTAG-TINY-V2 Windows 11...
Last post by bcsmmc - August 06, 2025, 11:01:39 PM
Hello,

Has anyone been able to install the driver in windows ll.  I have followed the old thread https://www.olimex.com/forum/index.php?topic=5283.0

I disabled Secure Boot.  Ran commands:

bcdedit /set nointegritychecks on
bcdedit.exe -set TESTSIGNING ON
bcdedit.exe -set loadoptions DISABLE_INTEGRITY_CHECKS

When I attempt to manually install the driver by have disk option it still says the driver is not signed and will not install it.  What else can I do to override it?
#65
New Products release / Re: PICO2-XXL with RP2350 and ...
Last post by raybellis - August 06, 2025, 03:38:10 PM
I've just received an XXL, and it looks like a nice little board.

One minor criticism - while the connector pads are 0.1" spaced, the two separate blocks either side are not themselves aligned on a multiple of 0.1" with each other.  This makes it impossible to use the board with a breadboard or perf board.

For the sake of an additional 0.05" or so of width this could easily be resolved, albeit with the loss of backwards compatibility for the footprint.
#66
A64 / Re: Counting IRQ interrupts on...
Last post by ilario - August 05, 2025, 05:19:59 PM
Finally I managed to have some code that seems working (it has been quite challenging).
As you said, I had to heavily adapt the code taken from the linux-sunxi wiki...

For future reference, here goes the code of the Device Tree overlay:

/dts-v1/;
/plugin/;

&{/soc/pinctrl@1c20800} {
    anemometerirq_pins: anemometerirq_pins {
        pins = "PB4";
        function = "gpio_in";
        bias-pull-up;
    };
};

&{/soc} {
    anemometerobserver {
        compatible = "anemometer-irq";
        pinctrl-names = "default";
        pinctrl-0 = <&anemometerirq_pins>;
        interrupt-parent = <&pio>;
        interrupts = <1 4 2>; // Bank 1, pin 4, IRQ_TYPE_EDGE_FALLING
        //status = "okay";
    };
};

The device tree overlay can be compiled with:

dtc -I dts -O dtb -o sun50i-a64-irq-PB4.dtbo sun50i-a64-irq-PB4.dts
And added it to the fdtoverlays list inside the /boot/uEnv.txt file.

Here the code of the kernel module that claims the IRQ:

#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/of_platform.h>

/* Inspired by https://linux-sunxi.org/External_interrupts */

static irqreturn_t anemometer_irq_handler(int irq, void *dev_id)
{
    //printk(KERN_INFO "anemometer_irq: Interrupt received!\n");
    return IRQ_HANDLED;
}

static int anemometer_probe(struct platform_device *pdev)
{
    int irq, ret;

    irq = platform_get_irq (pdev, 0);
    if (irq < 0) {
        printk(KERN_ERR "Failed to get IRQ: %d\n", irq);
        return irq;
    }

    ret = request_threaded_irq(irq, NULL, anemometer_irq_handler,
        IRQF_TRIGGER_FALLING | IRQF_ONESHOT,
        "anemometer-irq", NULL);
    if (ret) {
        dev_err(&pdev->dev, "Failed to request IRQ %d: %d\n", irq, ret);
        return ret;
    }

    dev_info(&pdev->dev, "Anemometer IRQ %d registered successfully\n", irq);
    return 0;
}

static int anemometer_remove(struct platform_device *pdev)
{
    int irq = platform_get_irq(pdev, 0);
    if (irq > 0)
        free_irq(irq, NULL);
    return 0;
}

static const struct of_device_id anemometer_dt_ids[] = {
    { .compatible = "anemometer-irq" },
    { }
};
MODULE_DEVICE_TABLE(of, anemometer_dt_ids);

static struct platform_driver anemometer_driver = {
    .probe  = anemometer_probe,
    .remove = anemometer_remove,
    .driver = {
        .name          = "anemometer-irq",
        .of_match_table = anemometer_dt_ids,
    },
};

module_platform_driver(anemometer_driver);

MODULE_LICENSE("GPL");
MODULE_AUTHOR("Ilario Gelmetti");
MODULE_DESCRIPTION("Anemometer Switch Monitor");

And here the content of the Makefile file for compiling the kernel module:

obj-m += anemometer-irq.o

all:
        make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
        make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean

And it can be compiled with:

make
(I had many missing imports, so I had to install a kernel compiled locally).

After importing the module with:

insmod anemometer-irq.ko
You should see the PB4 pin claimed by that module:

# grep PB4 /sys/kernel/debug/pinctrl/1c20800.pinctrl/pinmux-pins
pin 36 (PB4): device soc:anemometerobserver function gpio_in group PB4



#67
Neo6502 / Re: About Apple II emulator an...
Last post by Ralf - August 04, 2025, 10:41:59 PM
Yeah, like I said, that's a known problem.
It has to do with the tinyUSB library used, which somehow only works with certain chipsets. It's been reported, though, so it might be fixed in the future.
#68
Neo6502 / Re: About Apple II emulator an...
Last post by stingrayce1982@gmail.com - August 04, 2025, 10:00:31 PM
I tried two powered hubs, one was a DLINK brand and the other was no-name.  Neither of them worked.
#69
Neo6502 / Re: Oric Atmos .uf2 firmware
Last post by stingrayce1982@gmail.com - August 04, 2025, 09:54:11 PM
Thanks Ralf. 

I managed to get it to boot properly, figured out how to load the OS (call 800) and change floppy (f1-f9) and run a program (-{program_name}).

Can anyone tell me how to access software from a USB Flash drive (key)?
#70
Neo6502 / Re: Joystick or Paddles
Last post by Ralf - August 04, 2025, 07:38:18 PM
I might be mistaken, but I think that only works with the Morpheus firmware.

However, one of the guys at the discord might know more:
https://discord.gg/tTtarCcrzf