The Pico flash size is 2Mb - ram is 264kB - If you only have 16kb left in your flash you shouldn't be using a java interpreter that's taking up all the flash, you should look at the current Arduino code that's available for the Trinket M0, You could adapt that code to fit your needs.The amount of flash storage available is 16kb in total and 253 bytes per block. unfortunately, even the smallest payload is around 65kb[bin compressed]
source: https://kalumajs.org/docs/boards/rp2
That's once you've already sent the argon payload itself from your payload pusher tho.Also you don't even need to store the payload in flash - you can store it on the micro sd card in the switch and stream it from there to the switch's memory - that's what argon-nx does, just 1 byte at a time if you want.
Yep but the the principle is still the same, you can read part of a file from the sd card - store it in a buffer and then send that to switch memory, then clear the buffer and read the file from x offset, store that in a buffer and then send - keep doing that until the file has run out of bytes to read and the switch ram has the contents of that file - then execute it.That's once you've already sent the argon payload itself from your payload pusher tho.
The dongle can't read from the SD card, argon can only read from the SD card because it is a payload itself that's already been pushed to the Switch and is running there.Yep but the the principle is still the same, you can read part of a file from the sd card - store it in a buffer and then send that to switch memory, then clear the buffer and read the file from x offset, store that in a buffer and then send - keep doing that until the file has run out of bytes to read and the switch ram has the contents of that file - then execute it.
FRAM from Adafruit - has 256Kb, I already posted a link, there's no reason the payload couldn't be stored and read from that.The dongle can't read from the SD card, argon can only read from the SD card because it is a payload itself that's already been pushed to the Switch and is running there.
even dragonboot requires an sd card ?The dongle can't read from the SD card, argon can only read from the SD card because it is a payload itself that's already been pushed to the Switch and is running there.
Maybe try this:even dragonboot requires an sd card ?
yeah with arduino it's very much possible and possibly even trivial since i saw the trinketm0 code [https://github.com/atlas44/sam-fusee-launcher/blob/master/src/main.cpp] and it would be possible for me to port it for the pico but the usb.h module isn't supported by the pico rp2040 yet
there's tinyusb third party library but that is missing packages
No idea - but samd21 bare chip does, so does the Adafruit trinketm0, there's a few others - but if making a dongle the pico could possibly work.would a pico fit inside of a switch housing either with or without the type C port?
same question for the tiny2040,