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 »

stephen_usher wrote: 18 Feb 2025 16:15
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.
Which pin do you mean? On all my boards the 3V3 JTAG pin is a direct connection to board 3V3 and goes to all the normal CPLD 3V3 places.

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 »

Really? From what I remember the CPLD has a programming sense pin output which is 3.3v. I may be remembering incorrectly. I'm pretty sure I read that from a data sheet. I'm starting to doubt myself now.
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.
Steve
Posts: 3305
Joined: 15 Sep 2017 11:49

Re: Firmware v105 for DFB1X? Removing the ROM?

Post by Steve »

Can't really tell if you guys are agreeing or disagreeing on the same point, but all I can say is when I started programming Xilinx with a Pi I was warned heavily to make sure I remove the 3v3 line off the JTAG and always make sure the CPLD was powered by the voltage regulator on the PCB.
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 »

I don't know anything about how the PI hooks up..

But on all my boards, 3.3V on the JTAG connector is wired to the 3.3V power rail. It is just a voltage sense pin to let the programmer know that the PLD is powered up, because obviously, you cannot program the chip if it is powered down, hence the requirement for a voltage sense pin.. AFAIK anyway.

I guess it will probably work just as well if the sense pin went via a 10K resistor.. But I haven't looked any of this up...
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 »

Steve wrote: 19 Feb 2025 07:56 Can't really tell if you guys are agreeing or disagreeing on the same point, but all I can say is when I started programming Xilinx with a Pi I was warned heavily to make sure I remove the 3v3 line off the JTAG and always make sure the CPLD was powered by the voltage regulator on the PCB.
We both agree that if you power the board from the Pi then you've been naughty and Father Christmas won't bring you any presents.

Stephen's sure he's not going to be bring you a bike. I reckon he's not going to bring you a football.

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 »

Thanks a lot for all the suggestions and the lively discussions on how to use a Raspberry Pi to flash new firmware on the DFB1X.

One question for clarification: since it was mentioned that the 3v3 line on the connector on the DFB1X should not be connected, but the DFB1X needs to be powered on in order to be able to flash new firmware, does that mean that flashing is only possible if the DFB1X is installed in the Falcon and the Falcon itself is powered on?
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 »

don_apple wrote: 20 Feb 2025 11:13 does that mean that flashing is only possible if the DFB1X is installed in the Falcon and the Falcon itself is powered on?
That's the way I do it.
don_apple
Posts: 40
Joined: 25 Mar 2024 17:54

Re: Firmware v105 for DFB1X? Removing the ROM?

Post by don_apple »

Thanks, good to know!

Hopefully I will have some time over the weekend to play around with this, to see if xc3sprog running on the Raspberry Pi can at least detect the xilinx on the DFB1X.
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 »

I would honestly just get a proper programmer... With the talks of potential damage, which I cannot verify either way, you could inadvertently end up killing something. I personally wouldn't risk it.
officer960
Posts: 67
Joined: 22 Jul 2018 21:42

Re: Firmware v105 for DFB1X? Removing the ROM?

Post by officer960 »

exxos wrote: 13 Feb 2025 15:58 EDIT:

You cannot run Flash and the motherboard ROM at the same time (other than when the DFB1X is disabled that is) because the blitter will trigger both the flash and the motherboard ROM at the same time upon access. So will end up with a bus conflict between the flash and the ROM if they are not the exact same version.
@exxos
Excuse my ignorance: Does this mean I can leave the TOS ROM in place IF they are both (flashed and physical) 4.04? I recently removed TOS ROM (and the FPU) but had been using my Falcon with the physical ROM in place without any perceivable issues. Ideally would like to do the update to v105 but unless I can find a step by step guide on how to flash I'd prefer not to risk bricking my DFB1X. Thanks!
H5C1, H5C5B, 1040 ST, Mega ST, STe, Mega STe, Falcon, TT030, Amiga 2k V2+, Amiga 2k Video Toaster GVP030, Amiga 500, Amiga 500+ V2, Amiga 500+ Firebird V4, Amiga 1200 PiStorm, FPGA: V4SA, MiST, MiSTer, UnAmiga, U64 Elite

Return to “DSTB1 & DFB1 booster by BadWolf”

Who is online

Users browsing this forum: ClaudeBot and 1 guest