Firmware v105 for DFB1X? Removing the ROM?

Discussion and support for the DSTB1 & DFB1 boosters by BadWolf..
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 3043
Joined: 19 Nov 2019 12:09

Re: Firmware v105 for DFB1X? Removing the ROM?

Post by Badwolf »

exxos wrote: 14 Feb 2025 14:00
Since blitter can't access TT-RAM I didn't see it not accessing flash as an issue (it would access onboard ROM instead. No problem if they're the same. If they're not the same? Don't use blitter.).
It's why anders did BLTFIX to solve the blitter with TTram issues should they arise.
Blitfix does diddly squat on the Falcon, I'm afraid!

BW
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
User avatar
exxos
Site Admin
Site Admin
Posts: 28344
Joined: 16 Aug 2017 23:19
Location: UK

Re: Firmware v105 for DFB1X? Removing the ROM?

Post by exxos »

Badwolf wrote: 14 Feb 2025 14:19 Blitfix does diddly squat on the Falcon, I'm afraid!
Don't know why that would be.. Maybe @agranlund can shed some light on that , if that's the case.
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 3043
Joined: 19 Nov 2019 12:09

Re: Firmware v105 for DFB1X? Removing the ROM?

Post by Badwolf »

exxos wrote: 14 Feb 2025 14:26
Badwolf wrote: 14 Feb 2025 14:19 Blitfix does diddly squat on the Falcon, I'm afraid!
Don't know why that would be.. Maybe @agranlund can shed some light on that , if that's the case.
The way blitfix works with TOS2.06 is to patch the Line A and VDI calls to selectively use blitter depending on the memory range.

There is no alternative VDI or Line A pathway on TOS4, so it can't do this.

It can't even fall back to its default (non-TOS 2.06 & EmuTOS) behaviour of hiding the blitter as the Falcon blitter can't be disabled.

It's why NVDI is listed as a requirement DFB1. Well, prior to EmuTOS being available. Unfortunately NVDI only works around VDI problems. Any old software can still blit away happily and there's no way to stop it on the Falcon.

BW
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
don_apple
Posts: 40
Joined: 25 Mar 2024 17:54

Re: Firmware v105 for DFB1X? Removing the ROM?

Post by don_apple »

exxos wrote: 13 Feb 2025 18:30
don_apple wrote: 13 Feb 2025 18:26 I would be willing to help with beta testing new firmware, but if it still requires a special programmer to get new firmware installed I'd have to try to find one of these programmers first (and figure out if it can be used on Linux or macOS, since I don't have any Windows systems).
I use one of these programmers but I did buy it a million years ago, there is probably alternatives by now... I think "USB blaster" might be one ? No idea about Linux or macs though will likely the other forum members can explain all that..

smxilinx.png


Though I would just get to grips with the accelerator before looking to update it anyway ;)
I've managed to "get to grips with the accelerator", it works quite nicely 8-)

Didn't get any info from other forum members so far about using Linux or macOS to flash the firmware on the xilinx chip. But I did some own research and it looks like there are some tools that might work:
https://xc3sprog.sourceforge.net
https://github.com/trabucayre/openFPGALoader

Also found a guide showing how to use a Raspberry Pi instead of the special cable from xilinx: https://anastas.io/hardware/2020/09/29/ ... sprog.html

Maybe I'll give this a try over the weekend to see if I can get this to work.
mikro
Posts: 820
Joined: 28 Aug 2017 23:22
Location: Kosice, Slovakia

Re: Firmware v105 for DFB1X? Removing the ROM?

Post by mikro »

I have the same Xilinx cable as @exxos and I have successfully used the Impact Arch Linux package for flashing.
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 7376
Joined: 13 Nov 2017 19:19
Location: Oxford, UK.

Re: Firmware v105 for DFB1X? Removing the ROM?

Post by stephen_usher »

This is the one I use, which is a bit cheaper: https://www.amazon.co.uk/Waveshare-Comp ... B00KM70UFG
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 3043
Joined: 19 Nov 2019 12:09

Re: Firmware v105 for DFB1X? Removing the ROM?

Post by Badwolf »

don_apple wrote: 18 Feb 2025 11:00 Didn't get any info from other forum members so far about using Linux or macOS to flash the firmware on the xilinx chip. But I did some own research and it looks like there are some tools that might work:
https://xc3sprog.sourceforge.net
https://github.com/trabucayre/openFPGALoader

Also found a guide showing how to use a Raspberry Pi instead of the special cable from xilinx: https://anastas.io/hardware/2020/09/29/ ... sprog.html

Maybe I'll give this a try over the weekend to see if I can get this to work.
Sorry, missed your question.

All my programming is done with Linux or Mac using xc3sprog as you've identified.

Here's my simple programming script. You supply the JED filename as parameter one.

Code: Select all

#!/bin/bash
xc3sprog -c jtaghs2 -p 0 -v "$1"
The cable specified in "-c" may have to be modified for whatever version you have.

I haven't use the Raspberry Pi method myself, but I know it works. Just be careful about the 3V3 line. That is a 3V3 *sense* in the JTAG connector, so best to leave that unconnected when using a Pi.

BW
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 7376
Joined: 13 Nov 2017 19:19
Location: Oxford, UK.

Re: Firmware v105 for DFB1X? Removing the ROM?

Post by stephen_usher »

Badwolf wrote: 18 Feb 2025 14:26 I haven't use the Raspberry Pi method myself, but I know it works. Just be careful about the 3V3 line. That is a 3V3 *sense* in the JTAG connector, so best to leave that unconnected when using a Pi.
Very definitely don't connect this as you will fry the CPLD.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 3043
Joined: 19 Nov 2019 12:09

Re: Firmware v105 for DFB1X? Removing the ROM?

Post by Badwolf »

stephen_usher wrote: 18 Feb 2025 15:05 Very definitely don't connect this as you will fry the CPLD.
I don't know about frying the CPLD but backdriving the LDO and possibly putting 3V3 on some of the 5V parts that don't have their own power line up and running is definitely suboptimal.

If the whole shebang were 3V3, I'd say it'd be a good way to program a board in vitro.

BW
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 7376
Joined: 13 Nov 2017 19:19
Location: Oxford, UK.

Re: Firmware v105 for DFB1X? Removing the ROM?

Post by stephen_usher »

Badwolf wrote: 18 Feb 2025 15:43 If the whole shebang were 3V3, I'd say it'd be a good way to program a board in vitro.
Except, if you look at the CPLD data sheet it almost shouts at you not to try to power the CPLD from this pin. :-) It's not directly connected to Vcc. It's a sense output only. It also says not to power it until the CPLD has been powered up first.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.

Return to “DSTB1 & DFB1 booster by BadWolf”

Who is online

Users browsing this forum: ClaudeBot and 1 guest