wickerwaka / PicoROM

An RP2040-based ROM emulator
MIT License
191 stars 18 forks source link

VSYS on the schematic ? #9

Open UffeJakobsen opened 6 days ago

UffeJakobsen commented 6 days ago

Hi,

Interesting project - thanks for sharing.

One question - the schematic does not show any handling of VSYS in respect produce 3V3 (as far a I can see)

Does that mean that USB needs to be connected in order to feed the Pico ?

PS: I'm looking on the generated PDF in the repo (as I have problems with my KiCad installation right now)

wickerwaka commented 6 days ago

Yes. In the current designs you need to power it separately through USB. I did this for a few reasons:

The current draw turns out to be pretty low (30-50mA). I haven't measure how long the flash copy will take but now that the PicoROM can control an external reset line it, startup time may not be as much of an issue. So for a future revision I may add support for power it without a USB connection.

ramapcsx2 commented 5 days ago

Btw, look at main regulator undervolting for power saving, as well as putting either or both CPU cores to true sleep in intervals. On ESP32 sleeping the cores is an RTOS operation, where a timer wakes it up some micros later. It conserves a good 50% power.

UffeJakobsen commented 5 days ago

Btw, look at main regulator undervolting for power saving, as well as putting either or both CPU cores to true sleep in intervals. On ESP32 sleeping the cores is an RTOS operation, where a timer wakes it up some micros later. It conserves a good 50% power.

@ramapcsx2 That sounds like it is way too slow - this product is essentially a ROM/EPROM emulator Even when targeting 70'ies, 80'ies hardware components and systems - it needs to respond in speeds around ~100-200(-300) nano seconds

UffeJakobsen commented 5 days ago

Hi @wickerwaka

Yes. In the current designs you need to power it separately through USB. I did this for a few reasons:

thanks for clarifying (I thought that I was going blind - looking for a connection between VSYS and VBUS :-D )

The current draw turns out to be pretty low (30-50mA). I haven't measure how long the flash copy will take but now that the PicoROM can control an external reset line it, startup time may not be as much of an issue. So for a future revision I may add support for power it without a USB connection.

Well, as an example the mask roms (kernal, basic, char roms) in a C64 use 30-90 mA (avg ~65 mA) - so I think that you are good to go :-)

But yes - an option to pull down reset while copying from flash to SRAM would be nice to have. Also multiple units should be able to join in on the same reset line...

Thanks :-)