Picofly AIO Thread

  • Thread starter Thread starter Adran_Marit
  • Start date Start date
  • Views Views 763,211
  • Replies Replies 3,575
  • Likes Likes 64
I wish I had a hot air station. Its me, a Pinecil with the stock tip and the 2 mentioned in the guide, and some flux. I can braid up a wick real quick (done it before), and use what I got on hand for solder... I was just hopping for some magic trick that someone had come up with. Thanks for the help!
You could try this, looks doable :)
Edit: just careful with the resistors, maybe place some kapton over them.
 
Last edited by QuiTim,
I roughly calculated like this:

From the datasheet IR8342
Max Vgs 20V
View attachment 373375

Then the power rate of the resistor
View attachment 373378

If i use 0805 resistor with 0.1W, then the max current will be at 100/20 = 5mA. So i need minimum R = 20/5 = 4kOhm
If i use 1210 resistor with 0.25W, then the max current will be at 250/20 = 12.5mA. So i need minimum R = 20/12.5 = 1.6kOhm
If i use 2512 resistor with 0.5W, then the max current will be at 500/20 = 25mA. So i need minimum R = 20/25 = 800Ohm

But the capacitance is only 1000pF
View attachment 373379
If the Voltage 20V then for 1000pF, it have charge Q = CV = 1000x20 = 20nC.
Lets say 500mA will break those resistor, then the time to discharge roughly will be around t = q/i = 20/500 = 40nsec.
This range of time wont break the resistor.

Practically just use whatever resistance you have at hand, will be enough to discharge those 1000pf.

But then we need to consider the rp2040 electrical properties of the gpio.
View attachment 373383
It is pull down by between 50-80k ohms. Our pulldown mosfet will be paralled by this.
So don’t use resistor >50kOhm. Because using aournd this value, will reduce the resistance significantly, which might split the voltage (voltage divider) enough so that the high voltage will be decrease into the range of the low voltage.

So in conclusion, just pick any resistor you have at hand approximately below 5kOhm.
Good calculation!
If im not mistaken the Rp2040 only gives 3.3V out not 20V on the gate.
 
So... Not sure of this is the right thread, or if anyone has encountered this before.
Background: As a hobby, I do smarthome automation, repair small electronics, mod controllers, and all of which involve soldering.

I found the generic Picofly board on Aliexpress that's based off of /ns-pico/HWpicofly on Github (Sorry, first time account, cannot post links yet).

It looks like the resistors are already on there for CLK, CMD, and D0;
And I have the V2 HWFly cable for my Mariko Switch. This purchase also included a bit of Kapton tape and tiny enameled wires.
Am I missing anything?

I managed to flash the latest 2.73 firmware to this board, but haven't attempted to install it into my Switch yet.
Is this board too sketchy to use?
 

Attachments

  • IMG_20230523_144621.jpg
    IMG_20230523_144621.jpg
    87 KB · Views: 59
  • IMG_20230523_144659.jpg
    IMG_20230523_144659.jpg
    50.1 KB · Views: 54
Were you able to fix the BSOD? Tried my first install with a single mosfet on a Lite this weekend and resulted in BSOD. I've done v2 and lites with the cpu flex without any issues previously.
I would say with manual wire every install will become unique even with the same person same technique its just different time. Hey that why hwfly product is created right?

Most likely it would be shorted Dat0 or Rst solder point, its hard to spot because its very near others point (ussually ground on emmc metal shield). For cmd, clk its easy to spot.
Try to undo all rp2040 solder point, leave the cable hanging, then power on, if stil bsod then remove the wire form apu caps and try again, if still bsod then undo all solder point on mainboard and clean every pad with flux until its clean.
If after cleaning all bassically start from zero again and you still get bsod then it might be some component is broken. Try to clean the pads once again but this time with care, to make sure use macro camera to confirm all clean.
9 out of 10 it should be able to boot.

Tips: On Lite most often than not I use 0.1 enamel wire to install Dat0 point, that alone makes a whole thing much much easier.
You can bend the cable this way to avoid any short on Dat0, And make sure the wire tip is not touching metal shield.
1684893004606.png
 
Last edited by cgtchy0412,
Good calculation!
If im not mistaken the Rp2040 only gives 3.3V out not 20V on the gate.
@KingMo5h is correct. The RP2040 only puts 3.3V on the gate so the calculation by @abal1000x is in error. But I don't think the approach is correct in the first place. It isn't the current rating of the resistor that we need to focus on but I'll start with that anyway.

Assuming a 0805 resistor rated for 0.1W, the maximum continuous current it is rated for is 0.1W / 3.3V = 303 mA. That is way more than the Pico can put out (total max is 50 mA). The amount of charge that is stored on the mosfet's gate is too low to worry about affecting this calculation. So the current rating of the resistor doesn't really come in to play even down to 0201.

However, the value of the resistor might. From the RP2040 datasheet

The GPIOs on RP2040 have four different output drive strengths, which are nominally called 2, 4, 8 and 12mA modes.
These are not hard limits, nor do they mean that they will always be sourcing (or sinking) the selected amount of
milliamps. The amount of current a GPIO sources or sinks is dependant on the load attached to it. It will attempt to drive
the output to the IOVDD level (or 0V in the case of a logic 0), but the amount of current it is able to source is limited,
which will be dependant on the selected drive strength. Therefore the higher the current load is, the lower the voltage
will be at the pin. At some point, the GPIO will be sourcing so much current, that the voltage is so low, it won’t be
recognised as a logic 1 by the input of a connected device
.


I haven't looked at the code to see what the drive strength is set to, but too small a value of resistor will at some point cause the voltage to droop too low. For a 680 ohm resistor at 3.3V, you get 4.85 mA. According to Figure 171 of the datasheet (which is awesome), even the 2mA drive setting is still able to maintain something around 2.95V. The more this voltage droops, the less hard the mosfet is driven and the higher its resistance, and that will slow the speed it is able to glitch the APU. I haven't looked at the mosfet curves to determine when this becomes a problem, but it will vary between mosfets of different types.

So that covers the minimum value of the resistor. As far as the maximum value goes and worrying about the voltage divider effect, it again depends on what the code does. And again, I haven't looked it up. But according to the datasheet

A pull-up or pull-down can be enabled, to set the output signal level when the output driver is disabled

So... couldn't the code simply enable the pulldown resistor and allow any voltage on the mosfet gate to discharge this way when the output driver is disabled??? What am I missing?
1684893528922.png


1684894608905.png
 
... using the maximum current the resistor might handle at the maximum voltage of mosfet vgs.

Then after that, if picofly connected, also taking into account the pull down resistor it have, whether the resistor added in the mosfet is suitable. So the high and low voltage still working of the G that goes to the GPIO still working (the picofly could control the gate).
Again, why use the maximum voltage of mosftet Vgs? If somone has 20V floating around in their Switch, they have bigger problems than worrying about discharging the gate of the mosfet.

But now I am more confused. You said the code enables the pulldown so that is good to know. But then you go on in your original post to say

It is pull down by between 50-80k ohms. Our pulldown mosfet will be paralled by this.

That is correct. But this part doesn't add up.

So don’t use resistor >50kOhm. Because using aournd this value, will reduce the resistance significantly, which might split the voltage (voltage divider) enough so that the high voltage will be decrease into the range of the low voltage.

So in conclusion, just pick any resistor you have at hand approximately below 5kOhm.


You say don't use resistor > 50 kohm because this creates a voltage divider. It doesn't. The pullup resistor isn't enabled so there is no voltage divider. The circuit is your recommended 5k resistor in parallel with the internal pulldown of 50k-80k, which is approximately 5k.
 
Get the V2 and if possible get the one with USB attached so you can update to latest version before installing
Thanks for your reply, Actually they have one more kind this is without the need of flywire for easy installation. But how to update the firmware on this ?
No flywires.jpg
 
v2 with picofly. it was working for several days. now im getting power off message after Nintendo logo. I did not do a thing. I tried another sd that is working hekate with my other unit but same error...how to fix it?
 

Attachments

  • 16849058256304017959069748031529.jpg
    16849058256304017959069748031529.jpg
    2.6 MB · Views: 54
v2 with picofly. it was working for several days. now im getting power off message after Nintendo logo. I did not do a thing. I tried another sd that is working hekate with my other unit but same error...how to fix it?
this should have nothing to do with picofly assuming your installation good and nothing shorted inside, error code is for corrupt files in sd card, try format then paste new files and recreate emunand
 
Last edited by blackheartme,
  • Like
Reactions: WalangAlam
Thanks for your reply, Actually they have one more kind this is without the need of flywire for easy installation. But how to update the firmware on this ?
View attachment 373526
There was one guy using this in the forum here but he was having alot of issues trying to update the firmware and the seller was not providing any support.
If I were you, I would go with pico, it's proven that is working and you have a large community here to help you if something comes up.
 
Sorry to ask.
Do you use flex cable or mosfet?
if it is mosfet, single or double?
if it is mosfet, do you add resistor in G to GND or not?
v2 flex cable. it was working for several days
Post automatically merged:

this should have nothing to do with picofly assuming your installation good and nothing shorted inside, error code is for corrupt files in sd card, try format then paste new files and recreate emunand
i used another sd working in another switch but i still get same error...
Post automatically merged:

this should have nothing to do with picofly assuming your installation good and nothing shorted inside, error code is for corrupt files in sd card, try format then paste new files and recreate emunand
it was working for several days so im not sure if there is shorted...
 
  • Like
Reactions: abal1000x
v2 flex cable. it was working for several days
Post automatically merged:


i used another sd working in another switch but i still get same error...
Post automatically merged:


it was working for several days so im not sure if there is shorted...
i do suggest using fresh instal instead of using another sd from another working switch, this to eliminate the possibilities of software issue, do you use any homebrew or cheats? or just normal play?.

if thats done and the problem occurs, then no choice to trace back your installation zoom in one by one, oh and try to boot to ofw see if its normal?

well short can happened during your usage for several days so i wont rule hardware problem just yet.
 
Last edited by blackheartme,
  • Like
Reactions: WalangAlam
I would say with manual wire every install will become unique even with the same person same technique its just different time. Hey that why hwfly product is created right?

Most likely it would be shorted Dat0 or Rst solder point, its hard to spot because its very near others point (ussually ground on emmc metal shield). For cmd, clk its easy to spot.
Try to undo all rp2040 solder point, leave the cable hanging, then power on, if stil bsod then remove the wire form apu caps and try again, if still bsod then undo all solder point on mainboard and clean every pad with flux until its clean.
If after cleaning all bassically start from zero again and you still get bsod then it might be some component is broken. Try to clean the pads once again but this time with care, to make sure use macro camera to confirm all clean.
9 out of 10 it should be able to boot.

Tips: On Lite most often than not I use 0.1 enamel wire to install Dat0 point, that alone makes a whole thing much much easier.
You can bend the cable this way to avoid any short on Dat0, And make sure the wire tip is not touching metal shield.
View attachment 373511
I add a kapton tape on the others points and then solder the points. So, it will not touch or solder to other points.
 
  • Like
Reactions: QuiTim
i do suggest using fresh instal instead of using another sd from another working switch, this to eliminate the possibilities of software issue, do you use any homebrew or cheats? or just normal play?.

if thats done and the problem occurs, then no choice to trace back your installation zoom in one by one, oh and try to boot to ofw see if its normal?

well short can happened during your usage for several days so i wont rule hardware problem just yet.
normal play. hekate, restart, ofw and i get error 2002 4373. i used its sd in another switch and its booting hekate with no error.
 
Last edited by WalangAlam,

Site & Scene News

Popular threads in this forum