r/CPAPSupport • u/dang71 • Oct 17 '25
Firmware Flashing AirSense 10 Flashing Guide
Here’s the detailed procedure I use to flash an AirSense 10 with one of the firmware versions available on request (please pm u/RippingLegos__)
The procedure I followed can be found here: https://airbreak.dev/
Although it’s very useful and includes all the necessary steps, I thought it would be interesting to expand on it a bit more. Some steps aren’t that straightforward. I know it works on Windows, but I personally used the Linux procedure on a Raspberry Pi.
Note: This is a first version of the guide, and I’m very open to feedback. Please don’t hesitate to send me comments, especially if you notice any mistakes, so I can correct them. The goal is to improve it and make it as helpful as possible for everyone.
And once again, a huge thank you to RL. Without him, I would never have been able to do this. I felt it was important to pay it forward, just as he generously shares his time and expertise with incredible dedication.
1) Disassembly
To dump and replace the device firmware, we need to access the programming port located inside the machine, which requires some disassembly.
Tools required
You will need the following:
- T10 Torx screwdriver
- ST-Link/V2 STM32 programmer (there are clones available, but I strongly recommend using the original)
- TC2050-IDC or TC2050-IDC-NL programming adapter — I recommend the TC2050-IDC, as it securely attaches to the PCB (Printed Circuit Board), unlike the NL version, where you have to hold the connector by hand during the process
- Five 0.1" male-to-female jumper wires
- OpenOCD installed and some basic Linux knowledge
Disassembly steps
- Remove the front faceplate. It’s only clipped in place — there are no screws.

- Remove the second faceplate — this one is secured with four screws. The first two are located on the front.

For the last two screws, you’ll need to access the underside of the machine.

You can then remove the cover. The bottom latches need to be gently pried open using a flathead screwdriver or a spudger.


- Remove the knob. It needs to be pulled straight out from the board with a firm, steady motion.

- Remove the gasket.
This can be done from the front by releasing the latches at the bottom (which are accessible), then pressing inward on the two side latches located near the middle of the gasket. Be careful when lifting it off around the power button at the top of the device (see the components list for the part number if a replacement is needed). Removing the circuit board from the device is not required.

- This is what it should look like. The arrow indicates where the TC2050-IDC needs to be connected.

The male end of the TC2050-IDC:

Here it is connected to the PCB.

2) Wiring
This setup allows Linux to communicate with the machine to perform the flash.
This part isn’t very straightforward. I’ll include photos of the setup I used. Otherwise, there are explanations here: https://airbreak.dev/disassembly/
However, u/Sopheus created an excellent guide for the wiring: https://www.reddit.com/r/CPAPSupport/comments/1ntthfw/how_to_connect_wires_between_stlinkv2_programmer/
On the ST-Link/V2 side, this is what I have:

And on the female end of the TC2050-IDC:

3) Firmware
Once your setup is complete, before proceeding, make sure the ST-Link is connected to your Linux computer and the TC2050-IDC is connected to the machine’s PCB. The ResMed device must also be powered on.
- Open Linux.
- First, make sure this repository (https://github.com/osresearch/airbreak) is cloned and located in your working directory. Keep the folder structure intact.

This is what it should look like in Linux:


Your firmware files should go into the source path (airbreak-master).
Now it’s time to communicate with the machine. Make sure your programmer is attached to the PCB, then start OpenOCD.
In your airbreak-master directory, open a terminal and enter the following command:
sudo openocd -f interface/stlink-v2.cfg -f 'tcl/airsense.cfg'
If your device is connected properly, you should see a lot of output, ending with:
Info : stm32f4x.cpu: hardware has 6 breakpoints, 4 watchpoints

Now, open a second terminal, also in the airbreak-master directory, to connect to the OpenOCD server:
telnet localhost 4444

This step is mandatory:
Here, you can dump the current firmware of your device in case you want to reuse it later. Simply type:
dump
After a few seconds, the main firmware will be backed up as stm32.bin in your working directory — it should be exactly 1 MB.
If you decide to make a copy of the firmware, you then need to patch it using the following command:
./patch-airsense stm32.bin stm32-unlocked.bin
This will unlock the vendor modes and configuration bits.
4) Flashing
Now, place the firmware (.bin) you want to use on your device into the root of the airbreak-master directory.
The command to use is as follows (you need to use the terminal where you opened the telnet connection to access the OpenOCD console):
flash_new stm32-unlocked.bin
Here, stm32-unlocked.bin is the name of your new firmware, as in the following example:

This step takes about 20 seconds, after which the device should automatically reboot. Once the device has been reflashed and restarted, you can access the clinician menu by holding down the Home button while pressing the knob for three seconds. You should then be able to select from all the vendor modes included in the .bin firmware you installed.
And that’s it! You’re done!
4
u/dang71 Oct 17 '25
Small correction, I wrote: Four 0.1" male-to-female jumper wires as in the Airbreak guide, but there are actually five lol :)
6
u/Kasoivc Oct 17 '25
I’m new to cpaps altogether but would this allow me to give an old airsense 10 a new life once I replace the motor? Does jailbreaking/flashing it with this custom firmware allow us to remove the motor alert? Just curious!
I saw/read another person was repurpose or refurbishing them for those who couldn’t afford new machines through insurance or such and was compelled to also make it my own hobby and to contribute in what way I can.
6
u/alierrett_ AirCurve VAUTO/S Oct 18 '25
The only thing I would add is that when trying to flash I got an error:
Unable to match requested speed 2000 kHz, using 1800 kHz Unable to match requested speed 2000 kHz, using 1800 kHz
I had to use the command: reset halt Then after the output: flash_new
I don’t know why this happens for me, but maybe it’s worth having a troubleshooting section for any errors people have come across and potential solutions
3
u/dang71 Oct 17 '25
I wrote:
"First, make sure this repository is cloned and located in your working directory. Keep the folder structure intact."
The link for the repository doesn't work in my guide, so here it is:
https://github.com/osresearch/airbreak
4
u/AngelHeart- BiLevel Oct 17 '25 •
u/dang71 is awesome.
4
u/Big_Presentation_572 Apr 09 '26
I was able to successfully dump my OEM firmware and flash new firmware using a raspberry pi 4 with the exact method documented by u/AJolly and following this guide. I put an AirCurve 10 VAuto firmware on my AirSense 10 AutoSet, which worked fine except now the modem doesn't work. I'm wondering if instead I patch my own firmware to enable all modes will that give me BiPAP VAuto and allow the modem to continue to work and I will still have access to the myAir app?
4
u/Sensitive-Island6683 Jun 20 '26 •
just popped by to say i followed this guide to the letter and it worked fine using RLs vauto3.bin he sent me
my tip......DO NOT SKIMP ON THE TC2050 IDC guys get the real one with fat legs! not a clone like i did, the clones legs are too skinny for the holes making contact impossible without holding it anyway
so a huge thank you to dang and rippinglegos!! for the help the files and knowledge shared
3
u/oooh-she-stealin Oct 19 '25
i read the comment about bricking and got discouraged af. i’m assuming bricking is not reversible? i would also need to learn how to install and use linux. this is goin on my long term goal list
3
u/Absolerus Nov 09 '25
This seems straightforward but im struggling to see results.
Im flashing a AirSense 10 with a ST-Link V2 just like the guide.
Output in Terminal suggests that the flash has been successful, but after the machine reboots I am not noticing any changes. Even settings set before the flash like Ramp Time persist.
Unsure what im missing here, maybe its the postboot command failing?
3
u/swagpresident1337 Mar 06 '26
What Linux version do I need? Is there some basic guide getting started on how to set up a Linux PC for open ocd? This is where I struggle. I have tons of windows knowledge, but zero linux knowledge. I don't want to learn to be a linux master just for this one thing.
And it's not possible under windows? Like with a virtual machine or something?
I think a basic start on linux would help a ton, and where most people get stuck to perform this method.
3
u/EchidnaFair5717 Apr 26 '26
I have bought a airsense 10 elite by mistake instead of autoset like my other one. I want to know if it is possible to change the software version so it is as per the picture. I could but prefer not to dump this version from my good and working unit. So is the flash binary available for this one. Thanks
3
u/Lugdunum69RA Apr 27 '26
Merci tu es incroyable. Super patient et beaucoup de détail. Félicitation +++++
3
u/Middle_Explorer7603 BiLevel Jun 27 '26 •
u/dang71 This is a perfect resource. It took all of the unknowns out of the process and made the project super simple. 5 Stars. u/RippingLegos__ thanks for being a total legend with your time and help as well! Cheers
3
u/RippingLegos__ ModTeam Jul 26 '26
Pinning this again as u/dang71 is a huge asset to our community here and I'm grateful for his posts and replies, as I know most of you are as well.
3
u/Foreign_Sugar3430 Aug 11 '26
Does it actually need Linux or could I use windows
3
u/Beginning-Opinion767 Oct 02 '26
Can I do this using windows wsl
2
u/the_jigu Oct 24 '26
Thanks for this amazing guide! I want to ask if flashed firmware shows timin and timax and trigger and cycle options for vauto or not? and also for asv does it show?
2
u/RippingLegos__ ModTeam Oct 17 '25 edited Oct 17 '25
This is a great write up Dang! Very solid work! I will attach some pictures of the V2 clone programmer that I use (the $9 one). :)
https://live.staticflickr.com/65535/54860806626_9e2eb2b739_c.jpg
https://live.staticflickr.com/65535/54861109540_a4c1d26373_c.jpg
2
u/jsmith1300 Nov 05 '25
I'm not able to locate a interface/stlink-v2.cfg file or directory from the git repo. Do you I need to download something else? Also no firmware directory.
2
u/Miaw_Kitty Mar 17 '26
How do I patch the firmware on Windows ?
I wrote : ST-LINK_CLI.exe -ME -P stm32-unlocked.bin 0x08000000 -V
But it can't find stm32-unlocked.bin... I only have a stm32.bin file!
2
u/One_Measurement_628 Oct 19 '26
dang M i allowed to dm you for help regarding jailbreaking?
6
u/IamTheJohn Oct 17 '25
This looks like a lot of work, thank you for sharing!
5
u/AJolly Feb 07 '26
To make it cheaper:
Unclip the board so you can access it from the back.
Mask off the top pin. Hook the pads from underneath by going through the hole
Pin Reference:
STM32_VDD 1 (square) 10 STM32_NRST
STM32_SWDIO/PMIC_TMS 2 9 STM8_SWIM
STM8_VDD 3 8 PMIC_TDI
STM32_SWCLK/PMIC_TCK 4 7 STM8_NRST
GND 5 6 PMIC_TDO
Connect to Pin 2: SWDIO to pin 18 on your Pi (look up the pin numbering for your pi)
Connect pin 4 STM32_SWCLK to pin 22 on your Pi.
Connect any ground to ground - I used the big circle ground point.
4
u/Hambone75321 AirCurve VAUTO/S Oct 17 '25
Good job! I like to think I’m relatively tech savvy but I bricked mine using the original guide. I’ll have to try this out.
4
u/AJolly Jan 17 '26
btw it looks like you could diy the tc2050-idc if you have a decent 3d printer (and the appropriate pogo pins)
Feels weird to spend that much for just some wire connectors.
https://www.thingiverse.com/thing:3786118
https://www.thingiverse.com/thing:5851011
https://www.tag-connect.com/wp-content/uploads/bsk-pdf-manager/TC2050-IDC-430-NL_Datasheet_9.pdf
4
u/RippingLegos__ ModTeam May 25 '26
Re-pin for those that need help :) Thanks again u/Dang71 :)
4
u/ProgPap Jul 25 '26
Thanks u/dang71 for this tutorial, I just dumped my Airsense 10 firmware!
For people using WSL you need to install lsusb (in ubuntu) and usbipd (in windows) to connect the ST-Link V2 from Windows to your Ubuntu WSL
Powershell:
usbipd list
should give something like:
BUSID VID:PID DEVICE 1-1 0483:3748 STM32 STLink
usbipd bind --busid 1-1
usbipd attach --wsl --busid 1-1
Use the id from the ST-link you get from the usbpid list overview for your connection!
When correct you should get something like:
Using WSL distribution 'Ubuntu' to attach Detected networking mode 'nat' Using IP address ...
When you then go back to ubuntu and run:
lsusb
You should get something like:
Bus 001 Device 002: ID 0483:3748 STMicroelectronics ST-LINK/V2
Your ST-Link is now connected to your WSL Ubuntu
I made 2 dumps , one I renamed and then compared the first dump with the second dump
Renaming:
mv stm32.bin stm32-original-dump1.bin
Comparing:
cmp stm32-original-dump1.bin stm32.bin
Remember that stm32.bin in this case is your second dump, so you have had to run dump a second time after renaming your first dump!
I also checked the SHA256 Hash and saved that in the same folder as the dump
sha256sum stm32.bin
You can also compare the hash values between both dumps, they need to match too to be identical
And I did a hexdump -C stm32.bin | head -20 and hexdump -C stm32.bin | tail -20 to check if the data in the dump wasn`t all zeros
Last I checked if the sizes of both files were identical and if the dumps where 1MB in size:
stat -c '%n: %s bytes' stm32-original-dump1.bin stm32.bin
This should give something like:
stm32-original-dump1.bin: 1048576 bytes
stm32.bin: 1048576 bytes
1
u/SnooPets6629 Nov 09 '25
Noob question: is it possible to flash an AirCurve 10 ST? Maybe I can get a used one.
1
u/Normal-Impact-4210 Sep 24 '26
Hi, I follow your guide but then get this error when I try ./patch-airsense stm32.bin build/stm32-patched.bin. What should I do now?
stm32.bin: FAILED
sha256sum: WARNING: 1 computed checksum did NOT match
stm32.bin: wrong hash
1
u/One_Measurement_628 Oct 19 '26
if I dont have linux can I use virtual machine to get it? If yes then what type of linus shoul i download?
3
u/[deleted] Oct 18 '25
Nice write up dang TY!
3
u/WorldlyAd7070 Dec 12 '25
Does anyone want to exchange BIN files? I have some to share. wagmarusa@gmail.com
3
u/Creative_Fee5452 ModTeam Apr 08 '26
Thanks dang!! Very informative! And lots of research!!
3
u/ProgPap Jul 22 '26 edited Jul 24 '26
Hello Everyone. I'm fully new to this and read a lot of Airsense - Airbreak topics, but can't really find what I`m looking for. I bought a Airsense 10 for her with the SX567-0401 firmware. But the machine is fully in french. There are no other language options so I think it has a region lock or something.
Does someone maybe have a firmware I could use to unlock Dutch or if that is not available English? I do have a ST-link V2 and am able to solder 5 wires to the board if it is possible to flash another airsense firmware with Dutch in it. Or wil I Unlock all the languages in the European firmware after the jailbreak?
I made this Diagram for the Airsense 10 pin connections :
Credits go to u/dang71 and u/RippingLegos__ for all the info they allready shared here!
I hope you guys don`t mind me making this based on your photo`s and information provided here!
And please correct me if I made an error
2
u/No_Potential7494 19d ago
Great guide, thank you! Quick question for anyone who's tried this:
I have an AirSense 10 on SX567-0306 (older firmware). Before I buy an ST-Link + TC2050-IDC, does anyone have experience dumping/patching 0306?
I'm happy to dump my own firmware and share the hash/sample if it helps build 0306 support. Just want to know if it's worth attempting or if 0306 is too different from 0401.
2
u/borhyl May 26 '26 edited Jun 03 '26
Please, has anybody airbraked Resmed 10 Elite for EU? I have not managed and the motherboard was done. Not working.
1
u/AutoModerator Oct 17 '25
Hey there r/CPAPsupport member. Welcome to the community!
Whether you're just starting CPAP therapy, troubleshooting issues, or helping a loved one, you've come to the right place. We're here to support you through every leak, pressure tweak, and victory nap.
If you'd like advice, please include your machine model, mask type, pressure settings, and OSCAR or SleepHQ data if possible.
Helpful Resources: https://www.reddit.com/r/CPAPSupport/comments/1jxk1r4/getting_started_with_analyzing_your_cpap_data_a/
You're not alone — and you're among friends. Sleep well and breathe easy.
— Your r/CPAPSupport team
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
0
u/[deleted] Jun 17 '26
[deleted] — view deleted comment
3
u/[deleted] Apr 16 '26
[removed] — view removed comment
0
u/[deleted] Nov 15 '25
[deleted] — view deleted comment