New major updates made in the $3 Pikofly Nintendo Switch modchip project

27002868.jpg

Late last year, a homebrew developer made a massive announcement: there was a new Nintendo Switch modchip coming soon, and it would support not just launch units, but also more modern OLED and Mariko Switch revisions (though not Erista). The icing on the cake was that the modchip to hack the Switch only cost $3. and consist of a RP2040-Zero unit, which hugely contrasted with the only other available modchip--the HWfly--which went for over $100 at the time. Dubbed the Pikofly chip, it would, in theory, be able to install custom firmware on your Switch.

Scene members quickly took notice, as many began working on breaking down how the chip functioned, with lots of information available in the Pikofly discussion thread. And now, thanks to their hard work, you can now take advantage of it, in order to get the Pikofly modchip working on your Switch. GBAtemp user Rehius has published a GitHub project page that has a firmware file and further documentation, while Flynnsmt4 managed to decrypt parts of the code, even creating a cycle-accurate emulator that further explains how the chip works. With these new milestones, people are already discussing techniques to solder the chip to their consoles.

If you're curious to see more, and how this unfolds, head on over to the Pikofly thread to see the latest discussion and updates.
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,398
Trophies
4
Location
Space
XP
14,045
Country
Norway
I always wondered why use a Pi at all. This seems like massive overkill to me, seems like something the average microcontroller should handle, something along the lines of an AtMega. Then again, I don’t know exactly what code this is running, so I may be entirely off-base and that cortex is doing voodoo on the Switch. I suppose availability of resources and big community make it more attractive.
RP2040 boards are cheaper than most other alternatives. Even cheaper than Arduino clones. But what makes them special is the PIO (programmable I/O) functionality, which makes possible things an ATmega just couldn't do, because emulating hardware protocols in software is very slow (not to mention very timing sensitive, and you don't have precise timing with a 8/16mhz clock) and ATmega chips already run at a slow clock speed. PIO negates the need for emulating them in software.
AFAIK, Switch chips use glitching, similar to Xbox 360 RGH. This is rather timing sensitive, so it's possible an ATmega chip is just too slow for the accurate timing that is needed to make it work reliably every time. In my own experience with Arduinos, timing sensitive I/O is really where they fall apart.
A Teensy would be an option, but, those cost several times more than a Pi Pico.
 
  • Like
Reactions: Foxi4

Foxi4

Endless Trash
Global Moderator
Joined
Sep 13, 2009
Messages
30,854
Trophies
3
Location
Gaming Grotto
XP
29,944
Country
Poland
The RP2040 has a special PIO hardware, which lets you execute very deliberate instructions in a single clock cycle. It's a compromise between bitbanging stuff with a CPU, or a very expensive CPLD/FPGA. It's small yet powerful, letting you even drive displays in real time, even unattended if you can program the DMA chain, for absolute 0% CPU usage.

To my knowledge, you need very short pulses to glitch the hardware (reverse-engineering the dumped firmware says it overclocks to 333MHz!), so I highly doubt a pity ATMega could handle this job. Or at least, definitely not an 8bit one.
Oh, that makes sense, thanks bud. I guess I’m just more used to seeing an ATMega 32U4 for stuff like this, but tighter timings and higher frequency requirements make sense if it’s sort of like a reset glitch hack.
 
  • Like
Reactions: Sono

orangy57

bruh
Member
Joined
Aug 17, 2015
Messages
925
Trophies
1
Age
22
Location
New Jersey
XP
3,008
Country
United States
I always wondered why use a Pi at all. This seems like massive overkill to me, seems like something the average microcontroller should handle, something along the lines of an AtMega. Then again, I don’t know exactly what code this is running, so I may be entirely off-base and that cortex is doing voodoo on the Switch. I suppose availability of resources and big community make it more attractive.
pretty sure the raspberry pi pico is just a microcontroller made by the raspberry pi ppl. The raspberry pi zero and regular pi are the ones with the arm processors. Raspberry pi naming schemes are getting garbled now since they have a tons of different SKUs that do mostly the same stuff. At least it's not as hard as finding the right arduino clone to use

EDIT: I'm wrong, even the pico even has an ARM Cortex processor inside but it's super low-power. I wonder if it was picked for convenience or if they needed more performance than an average microcontroller for some reason
 

JonJaded

Well-Known Member
Member
Joined
May 22, 2016
Messages
683
Trophies
0
XP
3,017
Country
United States
So cool so see this get rumored and come to life over the past couple of months. Truly amazing community we have here.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Still don't know why he left unless someone really hurt his feelings
  • K3Nv2 @ K3Nv2:
    Don't know why people get so emotional online just get over it ffs
    +2
  • BigOnYa @ BigOnYa:
    He was the ass of gbatemp, everyone knocked on him, I honestly felt bad, even though I was guilty myself, but he egged it all on himself,
  • BigOnYa @ BigOnYa:
    But he still here, but under dif name, he pm me sometimes still even.
  • K3Nv2 @ K3Nv2:
    It's like they think we'll be in their bed pissing on it the next day
  • BigOnYa @ BigOnYa:
    I feel like gbatemp should make t-shirts or memorabilia to remember the lost ones. I bet the Polly shirts would sell out quick.
  • K3Nv2 @ K3Nv2:
    Nah that could actually bring lawsuits
  • K3Nv2 @ K3Nv2:
    Tempsuits
  • BigOnYa @ BigOnYa:
    PollySuits
  • BigOnYa @ BigOnYa:
    Your correct, Somebody would be guilty and there would be riots, then they storm the gbatemp capitol,
  • K3Nv2 @ K3Nv2:
    Online or not there are still certain rights that judges would have no issue handing out a warrant over
  • K3Nv2 @ K3Nv2:
    Just look at Kim dotcom
  • BigOnYa @ BigOnYa:
    Honestly I'm scared to, from you, but ok, lemme turn on vpn, virtual machine, private browser first
  • K3Nv2 @ K3Nv2:
    Remember that Alexa robot I gifted you
  • K3Nv2 @ K3Nv2:
    And that laptop Webcam you never tapped up
  • BigOnYa @ BigOnYa:
    That robot is here somewhere, I hear it moving around at night, but I haven't seen it for months.
  • BigOnYa @ BigOnYa:
    Oh that laptop I give to ancientboi, so you been watching him for months, and he's been watching you
  • K3Nv2 @ K3Nv2:
    Oh good more than enough material for the fbi
    +2
  • BigOnYa @ BigOnYa:
    Damn its 5 in morn, I gotta Go wake your mum and send her to work. Check ya later.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    He could make so much money!!! His arm would never get tired lol
    +2
  • S @ salazarcosplay:
    How are yall doing
    +1
    S @ salazarcosplay: How are yall doing +1