News:

2026.08.23 The "Files" area is now visible to guests/spiders

Main Menu

A Lisa Inside An FPGA

Started by AlexTheCat123, September 04, 2025, 05:20:35 PM

Previous topic - Next topic

sigma7

Quote from: ried on Today at 04:50:24 PMI've connected an upper Twiggy drive to the LisaFPGA, but flipping the LisaFPGA power switch on with the drive connected does not power on the LisaFPGA.
...
P.P.S. Using the Apple 20W USB-C power brick to power the LisaFPGA. I figured that would be plenty of power.

I'd suppose the 20W rating of that specific brick isn't at 5V (USB-C devices negotiate the voltage from the power source, so one may be 20W at 20V, so only capable of 1A, thus 5W at 5V).

Try some other USB-C power sources.
Warning: Memory errors found. ECC non-functional. Verify comments if accuracy is important to you.

ried

Quote from: sigma7 on Today at 05:48:17 PMTry some other USB-C power sources.

Will do. Is there any harm in using my MacBook Pro USB-C power brick? It outputs various voltages, one of which reads 3.0A at 5.2V. I assume USB and the LisaFPGA are smart enough not to send too much power into the Twiggy drive in any case.

sigma7

#362
Quote from: slewis1962 on Today at 05:46:31 PMdoes anyone know how to tell if it should be bootable?
The first block is what is loaded by the ROM. In a DC42 file, the first block starts at offset 0x54. Although this image has some data in the first block, it is mostly blank, and what is there does not seem to be executable 68K code.

A LOS1.0 DC42 disk image, for example, has 4EFA000A at offset 0x5C (4EFA is a jump instruction, so is a common thing to see at the beginning of executable code).

edit: corrected offset value
Warning: Memory errors found. ECC non-functional. Verify comments if accuracy is important to you.

sigma7

Quote from: ried on Today at 05:54:41 PMIs there any harm in using my MacBook Pro USB-C power brick? It outputs various voltages, one of which reads 3.0A at 5.2V. I assume USB and the LisaFPGA are smart enough not to send too much power into the Twiggy drive in any case.
That should work.

The 5V from the brick is passed directly to the Twiggy drive (which is why the Twiggy may partially spring to life even before Lisa Power is pressed). 5.2V is safe as the spec is +/- 5%. The 12V is generated on board the LisaFPGA and is well regulated.

A USB-C brick is supposed to only output a higher voltage than 5V after negotiating with the device.
Warning: Memory errors found. ECC non-functional. Verify comments if accuracy is important to you.

ried

Just tried using the MacBook Pro power brick. Same exact behavior as before. The LisaFPGA simply will not power up with the Twiggy drive connected. Hmmm...

AlexTheCat123

Quote from: slewis1962 on Today at 05:38:36 PMP.S. I love ESFloppy! Great job once again Alex! Can't wait for the standalone!

Thank you! I'm actually working on the standalone board right now!

Quote from: ried on Today at 06:37:45 PMJust tried using the MacBook Pro power brick. Same exact behavior as before. The LisaFPGA simply will not power up with the Twiggy drive connected. Hmmm...

Your ribbon cable connections look fine, so I'd suggest trying yet another power brick. Perhaps @sigma7 can tell us what he used to successfully power up his Twiggy drives?

slewis1962

Quote from: AlexTheCat123 on Today at 06:53:54 PM
Quote from: slewis1962 on Today at 05:38:36 PMP.S. I love ESFloppy! Great job once again Alex! Can't wait for the standalone!

Thank you! I'm actually working on the standalone board right now!

Quote from: ried on Today at 06:37:45 PMJust tried using the MacBook Pro power brick. Same exact behavior as before. The LisaFPGA simply will not power up with the Twiggy drive connected. Hmmm...

Your ribbon cable connections look fine, so I'd suggest trying yet another power brick. Perhaps @sigma7 can tell us what he used to successfully power up his Twiggy drives?


Maybe the next iteration of the Twiggy breakout can have its own power input and just the data signals and ground can come from the FPGA board. But that's only if it's discovered the FPGA board can't supply enough power. Just a thought. I need to try and hook up my Twiggy drives soon.

ried

Quote from: AlexTheCat123 on Today at 06:53:54 PMYour ribbon cable connections look fine, so I'd suggest trying yet another power brick...

I tried an old 5W iPhone power adapter and as soon as I plugged it in, the LisaFPGA made quiet ticking sounds - like it was trying to start up and didn't have enough power. So that's a start.

Then I tried one of the Ubio Labs battery power banks that you could see in the top-left corner of the video and it worked! Well, it died halfway through the boot process, presumably because I need to charge it fully, but it did boot the LisaFPGA and the Twiggy drive came alive. Progress!

AlexTheCat123

Quote from: slewis1962 on Today at 07:17:27 PMMaybe the next iteration of the Twiggy breakout can have its own power input and just the data signals and ground can come from the FPGA board. But that's only if it's discovered the FPGA board can't supply enough power. Just a thought. I need to try and hook up my Twiggy drives soon.

Yeah, I think that might be a good idea. Either that or add a recommendation for a known-good power supply to the readme.

Quote from: ried on Today at 07:18:50 PMThen I tried one of the Ubio Labs battery power banks that you could see in the top-left corner of the video and it worked! Well, it died halfway through the boot process, presumably because I need to charge it fully, but it did booth the LisaFPGA and the Twiggy drive came alive. Progress!

That's great news! Let us know what happens once you get the bank charged back up!

ried

Quote from: AlexTheCat123 on Today at 07:21:19 PMThat's great news! Let us know what happens once you get the bank charged back up!

It cuts power after LOS 1.2 and 2.x get to the desktop, while the Twiggy drive mechanism resets itself. I suspect the battery can't supply enough power for the Twiggy to do its thing, and the LisaFPGA shuts off.

https://www.youtube.com/watch?v=V_p6hqJ-HBM

So yeah, it seems like only certain USB power sources will allow full functionality with Twiggy drives attached... and I don't have the right one handy.