Tutorial  Updated

Trinket Internal Install.

Here's A Guide To Installing The Trinket M0 Into The Switch.

Program The Trinket Before You Remove The Usb Port, Saves You Doing It After You Complete The Install.

First Thing To Do Is Remove The Usb Port From The Trinket, If You Have A Hot Air Wand Then Use That To Remove The Port It Will Reduce The Risk Of Damage To The Pads.

usb intact.jpg


Now That The Usb Port Has Been Removed You Want To Solder Wire To The Data Pads, White = Data- And Green Data+ In This Guide.

Now Solder Wire To The Bat Pad = Red, Gnd Pad = Black, Pad 4 = Orange & Pad 3 = Brown In This Guide.

Also Remove The Resistor Next To The Ppower Led Mark Out In Purple In This Guide.
Trinket Points.jpg


When You Have The Trinket All Prepared, You Can Now Proceed To The Install To The Switch.
trinket install points.jpg


Once The Install Is Completely Done Then Clean Up The Points You Have Soldered To Using Isopropyl And Cotton Buds/Q-Tips.
Finished.jpg



Alternative Point For Pad 4.

Altternative Pad 4 Point.jpg


Alternative Points For Joycon Rail Pin 10.

If You Decide On Using This Alternative Point Then Use Enamel Coated Jumper Wire 0.10mm.

Alt Joycon Rail Pin 10 Point.jpg


Remember Take Your Time It's Not A Race lol. Rushing Can Lead To Mistakes.

Tools Required.

Kynar Wire 30 AWG.
Soldering Iron.
Hot Air Wand For Usb Port Removal(Optional)
Isopropyl.
Cotton Bud/Q-Tips.
Flux.
Solder.
Enamel Jumper Wire (Optional)


Thanks And Credit Goes To Xboxexpert For This Solution.

I Think That Covers Everything.

EDIT..

here's another method for the install of the trinket, this method does away with the pad 4, as some may find it tricky to solder to the cap used on the mobo.

the rst pad is used instead and the wire is linked to the power button, Also this has a bonus that you can double press the power button to put the trinket into boot loader mode for uploading a new payload.

of course you don't have to use the rst pad at all, you can't just press power button and volume up button, then press reset button for rcm mode.

this method should be ok for the novices.

install at your own risk.

another install.jpg


the pad on the power button to use.

power button point.jpg


i have one more method to try but I really think this one is not to bad method.

the more methods the better I say, of course to try and make it as easy as possible for pros and novices.

EDIT...
another method for the install of the trinket.

this method is basically same as all other methods, just a different points uses for the bat pad and rst pad.

this install will allow you to have the trinket power off when you fully power off the switch.

double press the reset button on the trinket to get into boot loader mode, this may take a couple of attempts to do.

the payload that you use already will work with this method no need for new ones.

here's the diagram for method 3, you could possibly have this as a 4 wire install, if you install auto rcm mode, but as my sd card module port is buggerd I couldn't test that out.

twinket power off.jpg


ok it seems method 3 needs auto rcm installed for it to work without the need to use the rst pad

so for them that don't want to use auto rcm mode then solder a wire from rst pad to the point on the power button, and use pad 3 to the pin 10 on the joycon rail or one of the alt points on mobo.

beware the alt points are small so use at your own risk.

ok anyone with changing issues test these 2 points, you should get 5v on the usb port side, and around 3.2v on the switch side.

if your getting the volts on the switch side that are fluctuating up & down then replace the part with the v on top it's a diode, you want one that fits so the actual size is either 0402 or 0603 in dimension (i'm using 0402/0603 as an example for size purpose only)

around page 16 has more info about this component..

dont come moaning if you damage your console doing this install, i'm not responsible for you opening or taking a soldering iron to your console.
you do this at your own risk any damage is down to yourself.


charger_issue_volts.jpg


another thing if your trinket starts to get very hot to the point you can't touch it, then the atmel ATSAMD21E18A-U ic is on it's way out, so you will need to replace the ic or just replace your trinket.

at some point it wont power up after this has happened.
1 = gets very hot.
2 = reset starts to become tempermental .
3 = dead
4 = fix replace the atmel ATSAMD21E18A-U ic

edit

added uf2 drag and drop files for r4 trinket gemma dongles or for a 4 wire internal install.

atmosphere
hekate 4.2
Sxos
rajnx
reinx
 

Attachments

  • Trinket All In One.jpg
    Trinket All In One.jpg
    123.9 KB · Views: 4,029
  • Trinket-R4-Gemma-D&D-Files.zip
    421.3 KB · Views: 578
Last edited by M-O-B, , Reason: added updated uf2 file.

M-O-B

Well-Known Member
OP
Member
Joined
Jun 23, 2018
Messages
281
Trophies
0
Age
54
XP
583
Country
United Kingdom
Without the Powersupply it successfully goes into rcm and Boots Hekate. But if you turn it off and First Connects it To the Power Supply it wont work. You have To hardreset it and Then it only boots ofw until you disconnect it from power

Maybe a ground Issue of something like that ? I think it has sonething To do with the External Power ? If My soldering is wrong it Should Not work at all

instead of removing the power, press the reset button on the trinket and see if rcm mode boots.

external power for what, no method uses external power, the bat or 3v pad on the trinket goes to the point in the diagram shown in all methods.

So today my diode arrived one genues told me should be the right one to fix my not charging Nintendo switch.

The diode is so big that i can read the 4 big printed letters without a magnifier.

There is something really wrong because the size is not twice not 4 time bigger...no it’s like 50 times bigger than the broken part.

I don’t know who I can trust here in this thread because I payed now over 15£ for 5 pieces of the wrong part. I won’t try to solder this part into my Nintendo switch because if the broken part is a z diode it’s not the same because a z diode drops the voltage and I think it’s more likely a z diode which I will know when I get my hands on another (not broken) Nintendo switch.

If someone want really help he/she could plug in a 5v power supply and check the voltage at both sides of the smd part (V)

Then plug in the official charger and check the also voltage at both sides of the SMD part (V)

Please let me know the voltages.

Then unplug your battery and the charger.
Check the resistance of the SMD part (V) in both ways it will tell it’s a diode or something else.

BTW: The Guy who told me “5 times” it’s a diode, I want to be sure what it is and not just to use me as a test subject what could destroy my whole switch console because of to much voltage and ignorance. A diode is not a diode, there are big difference between them.

the volts are 3.2v on the switch side of the diode, this has been said in previous post.

as for the actual size of the diode, measure the dimensions of the original one, then when looking to buy replacement parts you know what to look for instead from going of images of listed parts.

common sense should tell you this.
 
Last edited by M-O-B,
  • Like
Reactions: frep

frep

Well-Known Member
Newcomer
Joined
Jul 7, 2018
Messages
52
Trophies
0
Age
42
XP
474
Country
Switzerland
The bootloader is here:
https://github.com/arduino/ArduinoCore-samd/raw/master/bootloaders/zero/samd21_sam_ba.bin

You can download check the link with a web browser - if you can't download, you maybe need to use the sudo command due to permissions on your sd card:

sudo wget https://github.com/arduino/ArduinoCore-samd/raw/master/bootloaders/zero/samd21_sam_ba.bin

Ah sorry for my english, I didn’t wrote it clear... I could download the bootloader on the rpi. I had problems with loading the bootloader from the rpi on the m0 chip. The openocd program should perform the following things:
Identify target chip, reset and halt target, remove write protection from bootloader, write the bootloader, set the write protection again and reset the target again.
At the moment, I fail at the step of writing the bootloader (or maybe the step before at removing the write protection).
Anyway, first I have to check, if my rpi-programmer or my target chip is the problem, either by trying the rpi-programmer on another chip (like one of my trinkets) or by using another programmer on my target chip. (I read in another adafruit-tutorial, that they usedm0-based boards as programmer).
So I havn‘t lost hope, but it will take some time.
 
  • Like
Reactions: mrdude

Ferris1000

Well-Known Member
Member
Joined
Mar 10, 2017
Messages
248
Trophies
0
Age
33
Location
Titan
XP
2,368
Country
Germany
instead of removing the power, press the reset button on the trinket and see if rcm mode boots.

external power for what, no method uses external power, the bat or 3v pad on the trinket goes to the point in the diagram shown in all methods.



the volts are 3.2v on the switch side of the diode, this has been said in previous post.

as for the actual size of the diode, measure the dimensions of the original one, then when looking to buy replacement parts you know what to look for instead from going of images of listed parts.

common sense should tell you this.
So when you plug in a 15v (Original Nintendo switch) Charger it also 3.2v? Interesting so it’s a z diode which drops the voltage down from 15v to 3.2v
 

mrdude

Developer
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,227
Ah sorry for my english, I didn’t wrote it clear... I could download the bootloader on the rpi. I had problems with loading the bootloader from the rpi on the m0 chip. The openocd program should perform the following things:
Identify target chip, reset and halt target, remove write protection from bootloader, write the bootloader, set the write protection again and reset the target again.
At the moment, I fail at the step of writing the bootloader (or maybe the step before at removing the write protection).
Anyway, first I have to check, if my rpi-programmer or my target chip is the problem, either by trying the rpi-programmer on another chip (like one of my trinkets) or by using another programmer on my target chip. (I read in another adafruit-tutorial, that they usedm0-based boards as programmer).
So I havn‘t lost hope, but it will take some time.

It isn't shown on that picture - but you also need to connect GND on the chip to GND on the PI, did you do that?
 

frep

Well-Known Member
Newcomer
Joined
Jul 7, 2018
Messages
52
Trophies
0
Age
42
XP
474
Country
Switzerland
It isn't shown on that picture - but you also need to connect GND on the chip to GND on the PI, did you do that?

yeah, the ground is connected. I checked the guide more than once...
Although the pictures aren't great, you can see my setup for programming the device as well as the actual error.

setup.jpg error.jpg

Since I'm still hope that the error is in the openocd.cfg file (not the hardware), I would like to try https://learn.adafruit.com/programming-an-m0-using-an-arduino . This could probably even work with a trinket. But if a trinket is used instead of the feather m0 datalogger as in the example, I don't have an sd card reader to put the bootloader-binary on. So I had to convert the binary (.bin) to a header (.h) file (same as it is done with the payloads in the trinket sketch). But once done, this would be a nice, ultra small programmer, which would be even more user-friendly (a working sketch provided :-D )
 

mrdude

Developer
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,227
21o78ns.png
yeah, the ground is connected. I checked the guide more than once...
Although the pictures aren't great, you can see my setup for programming the device as well as the actual error.

View attachment 136374 View attachment 136373

Since I'm still hope that the error is in the openocd.cfg file (not the hardware), I would like to try https://learn.adafruit.com/programming-an-m0-using-an-arduino . This could probably even work with a trinket. But if a trinket is used instead of the feather m0 datalogger as in the example, I don't have an sd card reader to put the bootloader-binary on. So I had to convert the binary (.bin) to a header (.h) file (same as it is done with the payloads in the trinket sketch). But once done, this would be a nice, ultra small programmer, which would be even more user-friendly (a working sketch provided :-D )

Looking at those pics, it looks from the output of your console that the chip is detected - so it must be wired correctly. Maybe a slight adjustment to the config is needed - did you try searching google for the error you're getting?

Also looking at the output - you have swd and jtag enabled, on that picture on the adafruit, they only have swd enabled - that's why I'm thinking it's a config error. Also look near the top - the GPIO config is wrong on adfruit they specify swclk/swdio pins - on your output you're using jtag pins. Notice you need to set to pins swclk = 25, swdio = 24 - instead of 11/25 (as you currently have).
 
Last edited by mrdude,
  • Like
Reactions: frep

mrdude

Developer
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,227
@frep

Look at the picture - the bit I put the red box in:
28hzq5z.jpg


What you need to do is set those so the pi pins can communicate with the microprossor.

On your pi - use winscp program (windows program to get files from a pi), and navigate to: home/pi/bootloader

Download and open: openocd.cfg

Change it to:
Code:
source [find interface/raspberrypi2-native.cfg]
transport select swd

set CHIPNAME at91samd21g18
source [find target/at91samdXX.cfg]

# did not yet manage to make a working setup using srst
#reset_config srst_only
#reset_config  srst_nogate

bcm2835gpio_swd_nums 25 24 
bcm2835gpio_trst_num 7 
bcm2835gpio_srst_num 18

adapter_nsrst_delay 100
adapter_nsrst_assert_width 100

init
targets
reset halt

at91samd bootloader 0
program samd21_sam_ba verify
at91samd bootloader 8192
reset
shutdown

You might need to un-comment this: #reset_config srst_nogate

Copy the edited file back to the pi and then use putty or another telnet client to do this:

cd ~
cd bootloader
sudo openocd

You should see those GPIO pins are now assigned properly, and be able to flash the bootloader.

If that doesn't work try adding a line to change the frequency to something else: example 4mhz (obviosly not this high - it's just an example)
Code:
adapter_khz 4000
 
Last edited by mrdude,
  • Like
Reactions: frep

re.lax

Well-Known Member
Member
Joined
Apr 5, 2009
Messages
243
Trophies
1
Location
United States, Texas
XP
1,045
Country
United States
I ended up modifying the trinket script slightly to leave an led on while the switch is one. This is my finished result, I like it because I think it showcases it nicely with the case and very helpful for telling if the switch is actually off or not.
E7951D6A-1864-48E0-BB63-0AB2D66FB003.jpeg
 
  • Like
Reactions: Canna

mrdude

Developer
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,227
So when you plug in a 15v (Original Nintendo switch) Charger it also 3.2v? Interesting so it’s a z diode which drops the voltage down from 15v to 3.2v

What are you talking about? You have a battery in your switch which provides voltage, some voltage regulators, which drop and provide stable voltages, a usb port which provide other voltages, and various other circuits in your switch that all run at different voltages. Most diodes drop voltage by about 0.6volts on average.

It's clearly obvious you don't have a clue what you are doing - you are moaning about putting a diode in (when you bridge those points already to test), the diode is NOT for dropping the voltage - it's to stop the 3.2v side of the circuit being leaked into the 5v side - but allows to 5v side to go into the 3.2v side.

Stop overthinking - If you are scared to put the diode in, give your switch to someone who knows what they are doing, as you clearly don't.
 
  • Like
Reactions: M-O-B

M-O-B

Well-Known Member
OP
Member
Joined
Jun 23, 2018
Messages
281
Trophies
0
Age
54
XP
583
Country
United Kingdom
So today my diode arrived one genues told me should be the right one to fix my not charging Nintendo switch.

The diode is so big that i can read the 4 big printed letters without a magnifier.

There is something really wrong because the size is not twice not 4 time bigger...no it’s like 50 times bigger than the broken part.

I don’t know who I can trust here in this thread because I payed now over 15£ for 5 pieces of the wrong part. I won’t try to solder this part into my Nintendo switch because if the broken part is a z diode it’s not the same because a z diode drops the voltage and I think it’s more likely a z diode which I will know when I get my hands on another (not broken) Nintendo switch.

If someone want really help he/she could plug in a 5v power supply and check the voltage at both sides of the smd part (V)

Then plug in the official charger and check the also voltage at both sides of the SMD part (V)

Please let me know the voltages.

Then unplug your battery and the charger.
Check the resistance of the SMD part (V) in both ways it will tell it’s a diode or something else.

BTW: The Guy who told me “5 times” it’s a diode, I want to be sure what it is and not just to use me as a test subject what could destroy my whole switch console because of to much voltage and ignorance. A diode is not a diode, there are big difference between them.
So when you plug in a 15v (Original Nintendo switch) Charger it also 3.2v? Interesting so it’s a z diode which drops the voltage down from 15v to 3.2v

your looking for something like or similar to the 0603 SOD-523

couple of images as a example of what and how to decide the one you want and dimensions..

these are just to give you some sort of idea of what to search for when buying.

I'm waiting on some to turn up myself as I need for other projects.

-1764072261-1204238943.jpg
1031897453-924351661.jpg
 

Quiggy

Member
Newcomer
Joined
May 25, 2018
Messages
18
Trophies
0
Age
35
XP
295
Country
Germany
instead of removing the power, press the reset button on the trinket and see if rcm mode boots.

external power for what, no method uses external power, the bat or 3v pad on the trinket goes to the point in the diagram shown in all methods.



the volts are 3.2v on the switch side of the diode, this has been said in previous post.

as for the actual size of the diode, measure the dimensions of the original one, then when looking to buy replacement parts you know what to look for instead from going of images of listed parts.

common sense should tell you this.

I tried that. It seems that the trinket is not able to get the signal of pad 4... I think this triggers the reboot of the trinket?
If I reset it manually it starts and just go back to sleep. Tried to trigger RCM by pressing power and the reset button manually but I think the timing is to exact to try this manually.

By external power I meant the Power from the power supply. My trinket is wired as you explained in the guide. Several people in the ReSwitched discord said they have the same behavior with this install.
 

M-O-B

Well-Known Member
OP
Member
Joined
Jun 23, 2018
Messages
281
Trophies
0
Age
54
XP
583
Country
United Kingdom
I tried that. It seems that the trinket is not able to get the signal of pad 4... I think this triggers the reboot of the trinket?
If I reset it manually it starts and just go back to sleep. Tried to trigger RCM by pressing power and the reset button manually but I think the timing is to exact to try this manually.

By external power I meant the Power from the power supply. My trinket is wired as you explained in the guide. Several people in the ReSwitched discord said they have the same behavior with this install.

my guide says nothing about external it's all internal, if you have a external power source then one you ain't followed my guide and two this might explain the issue your having.
 

Quiggy

Member
Newcomer
Joined
May 25, 2018
Messages
18
Trophies
0
Age
35
XP
295
Country
Germany
i do not having any external power for the trinket everything is internal. but in the moment you connect the power supply (usb-c) to the switch the trinket is not working as expected. if I disconnect it everything is fine.
 

M-O-B

Well-Known Member
OP
Member
Joined
Jun 23, 2018
Messages
281
Trophies
0
Age
54
XP
583
Country
United Kingdom
i do not having any external power for the trinket everything is internal. but in the moment you connect the power supply (usb-c) to the switch the trinket is not working as expected. if I disconnect it everything is fine.

then you have a solder or wire issue, i have not had or seen anyone with this issue, i've done a few installs using method 1 and 3.
 

LFPereira

Active Member
Newcomer
Joined
Jun 28, 2018
Messages
26
Trophies
0
Age
34
XP
179
Country
Brazil
Here's A Guide To Installing The Trinket M0 Into The Switch.

Program The Trinket Before You Remove The Usb Port, Saves You Doing It After You Complete The Install.

First Thing To Do Is Remove The Usb Port From The Trinket, If You Have A Hot Air Wand Then Use That To Remove The Port It Will Reduce The Risk Of Damage To The Pads.

View attachment 133958

Now That The Usb Port Has Been Removed You Want To Solder Wire To The Data Pads, White = Data- And Green Data+ In This Guide.

Now Solder Wire To The Bat Pad = Red, Gnd Pad = Black, Pad 4 = Orange & Pad 3 = Brown In This Guide.

Also Remove The Resistor Next To The Ppower Led Mark Out In Purple In This Guide.
View attachment 133961

When You Have The Trinket All Prepared, You Can Now Proceed To The Install To The Switch.
View attachment 133962

Once The Install Is Completely Done Then Clean Up The Points You Have Soldered To Using Isopropyl And Cotton Buds/Q-Tips.
View attachment 133963


Alternative Point For Pad 4.

View attachment 133965

Alternative Points For Joycon Rail Pin 10.

If You Decide On Using This Alternative Point Then Use Enamel Coated Jumper Wire 0.10mm.

View attachment 133966

Remember Take Your Time It's Not A Race lol. Rushing Can Lead To Mistakes.

Tools Required.

Kynar Wire 30 AWG.
Soldering Iron.
Hot Air Wand For Usb Port Removal(Optional)
Isopropyl.
Cotton Bud/Q-Tips.
Flux.
Solder.
Enamel Jumper Wire (Optional)

I Have Posted The Payload Sketches I've Used Or Rather Tested.

One Set Is For Use With The Arduino Software, And The CURRENT UF2 Set Is For Drag & Drop Onto The Trinket Once You Have It In Boot Loader Mode.

Thanks And Credit Goes To Xboxexpert For This Solution.



I Think That Covers Everything.


Edit..
Have Updated The Files Hekate Ctcaer 3.1 & Drag An Drop Files For 3.1 & SXSO, These Files Will Work On The Dongle & Install Method.

EDIT 2.

here's another method for the install of the trinket, this method does away with the pad 4, as some may find it tricky to solder to the cap used on the mobo.

the rst pad is used instead and the wire is linked to the power button, Also this has a bonus that you can double press the power button to put the trinket into boot loader mode for uploading a new payload.

of course you don't have to use the rst pad at all, you can't just press power button and volume up button, then press reset button for rcm mode.

this method should be ok for the novices.

install at your own risk.

View attachment 134825

the pad on the power button to use.

View attachment 134826

this is my test of it so far everything seems fine.

sleep mode battery drain was 19% in 2 hours.



i have one more method to try but I really think this one is not to bad method.

the more methods the better I say, of course to try and make it as easy as possible for pros and novices.

EDIT 3 another method for the install of the trinket.

this method is basically same as all other methods, just a different points uses for the bat pad and rst pad.

this install will allow you to have the trinket power off when you fully power off the switch.

double press the reset button on the trinket to get into boot loader mode, this may take a couple of attempts to do.

the payload that you use already will work with this method no need for new ones.

here's the diagram for method 3, you could possibly have this as a 4 wire install, if you install auto rcm mode, but as my sd card module port is buggerd I couldn't test that out.

View attachment 135043

ok it seems method 3 needs auto rcm installed for it to work without the need to use the rst pad

so for them that don't want to use auto rcm mode then solder a wire from rst pad to the point on the power button, and use pad 3 to the pin 10 on the joycon rail or one of the alt points on mobo.

beware the alt points are small so use at your own risk.



ok anyone with changing issues test these 2 points, you should get 5v on the usb port side, and around 3.2v on the switch side.

if your getting the volts on the switch side that are fluctuating up & down then replace the part with the v on top it's a diode, you want one that fits so the actual size is either 0402 or 0603 in dimension (i'm using 0402/0603 as an example for size purpose only)

around page 16 has more info about this component..

dont come moaning if you damage your console doing this install, i'm not responsible for you opening or taking a soldering iron to your console.
you do this at your own risk any damage is down to yourself.


View attachment 135404

another thing if your trinket starts to get very hot to the point you can't touch it, then the atmel ATSAMD21E18A-U ic is on it's way out, so you will need to replace the ic or just replace your trinket.

at some point it wont power up after this has happened.
1 = gets very hot.
2 = reset starts to become tempermental .
3 = dead
4 = fix replace the atmel ATSAMD21E18A-U ic


Would it work with Digispark ATtiny85?

uploads.filipeflop.com/2017/07/1-26-600x600.jpg
 

Sonyrulesok

Member
Newcomer
Joined
Jun 17, 2018
Messages
7
Trophies
0
Age
34
XP
66
Country
United Kingdom
Hi guys I hoping someone could help. I installed the trinket using method 1, all went well. it was working fine but when I woke up this morning it had stopped working. Took the switch apart and there are no lights on the trinket. its not shorting as far as I can see and not touching any metal surface. No reaction from hitting the button on the trinket and all wires are soldered in correctly not do not seem to be touching. I'm at a loss. I installed it yesterday. Worked fine all day and then this morning nothing. :(
 

M-O-B

Well-Known Member
OP
Member
Joined
Jun 23, 2018
Messages
281
Trophies
0
Age
54
XP
583
Country
United Kingdom
Hi guys I hoping someone could help. I installed the trinket using method 1, all went well. it was working fine but when I woke up this morning it had stopped working. Took the switch apart and there are no lights on the trinket. its not shorting as far as I can see and not touching any metal surface. No reaction from hitting the button on the trinket and all wires are soldered in correctly not do not seem to be touching. I'm at a loss. I installed it yesterday. Worked fine all day and then this morning nothing. :(

check the volts on the 3v pad and usb pad.

sounds more like the actual ic has died.

remove the trinket and wire it to a external power source see if it powers on.

also plug usb into it and see if it powers up.
 

mrdude

Developer
Developer
Joined
Dec 11, 2015
Messages
3,071
Trophies
1
Age
56
XP
8,227
@frep, how did you get on burning the bootloader?

I had a look on some forums and found you might need to set a fuse to enable the bootloader to be programmed. I'm still waiting for dev boards to turn up - so can't test this just now, but you could try setting this fuse in the openocd.cfg file

Code:
NVMCTRL_BOOTPROT = 0x7

See if that helps.

If that still fails, you can get a cheap programmer from ebay: j-link programmer (not sure if clones work in swd mode, clones might only work in jtag mode)

Then use this guide: for programming a booloader
https://learn.adafruit.com/proper-s...-m0/restoring-bootloader#feather-m0-or-others
 
Last edited by mrdude,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    as to you
  • K3Nv2 @ K3Nv2:
    How do you know if the night will be good when you're asleep
  • BakerMan @ BakerMan:
    because i didn't say i was asleep
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
    The Real Jdbye @ The Real Jdbye: never had that i don't think