Comments (15)
If I send you my st32.bin file via e-mail, would you mind if you patch it and send it?
from airbreak.
It gives the same error when restoring/flashing the stm32.bin file, but the device returns to normal. restarts are interrupted.
`flash_new stm32.bin
Unable to match requested speed 2000 kHz, using 1800 kHz
Unable to match requested speed 2000 kHz, using 1800 kHz
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x0800021c msp: 0x2000f000
Tickling watchdog...
device id = 0x10076413
flash size = 1024 kbytes
Resetting device...
Unable to match requested speed 2000 kHz, using 1800 kHz
Unable to match requested speed 2000 kHz, using 1800 kHz
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x0800021c msp: 0x2000f000
Overwriting flash memory...
device id = 0x10076413
flash size = 1024 kbytes
Verifying that flash was written properly...
Unable to match requested speed 2000 kHz, using 1800 kHz
Unable to match requested speed 2000 kHz, using 1800 kHz
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x0800021c msp: 0x2000f000
Resetting watchdog bit...
Unable to match requested speed 2000 kHz, using 1800 kHz
Unable to match requested speed 2000 kHz, using 1800 kHz
Writing magic numbers back into RCC memory...
Booting device...
tcl/airsense.cfg:63: Error: invalid command name "postboot"
in procedure 'flash_new'
at file "tcl/airsense.cfg", line 63
`
from airbreak.
It is normal?
`─(kali㉿kali)-[/media/kali/Lexar]
└─$ sha256sum stm32.bin
533b91127aa22e05b933db203ad56c449dc12a8c3fd62f57bd88c472a8061775 stm32.bin
┌──(kali㉿kali)-[/media/kali/Lexar]
└─$ sha256sum stm32-unlocked.bin
3ef08b46768c9a3bb46805c61c41464023f7b18f8deee102946bf4c7ceaa1255 stm32-unlocked.bin
`
from airbreak.
or Can you send me the ready stm32-unlocked.bin file to I make flash
from airbreak.
or there is no problem in the patching part, is there a problem in the flashing part? because it gives postboot error
[root@fedora scripts]# ./patch-airsense stm32.bin stm32-unlocked.bin stm32.bin: Tamam patching 000000f0 patching 00017500 patching 0001a540 patching 0001b860 Including breath.bin patching 000bb734 Including graph.bin patching 000fd000 patching 000f9c88 patching 00004fa8 patching 00004fc4 patching 00007eb0 patching 00007ee8 patching 00007ecc patching 000084a8 patching 00008590 patching 00066470 patching 000050d0 patching 0000817c patching 00008198 patching 00004f9c patching 00004fb8 patching 00007ec0 patching 00007f14 patching 00007ef8 patching 00007f30 patching 00004fd4 patching 00007f68 patching 0000802c patching 00008048 patching 00008064 patching 000080b8 patching 0000809c patching 000080d4 patching 000080f0 patching 00008128 patching 00008144 patching 00008160 patching 00017588 fatal: bir git deposu (veya üst dizinlerinden birisi) değil: .git patching 00017764 3ef08b46768c9a3bb46805c61c41464023f7b18f8deee102946bf4c7ceaa1255 stm32-unlocked.bin
from airbreak.
Hey I have had the same exact problem as you. I've used the pull request from dblunk88 with SX567-0306. I'll keep trying to debug this.
from airbreak.
@msdgd I think I finally solved it! Here are the steps that I took to get it working.
- Instead of cloning this git repo, clone the pull request from @dblunk88
git clone https://github.com/dblunk88/airbreak
- I also had to comment out the path_code function in the path-airsense script
# patch_code() {
# #if you want to add the extra breath mode
# BUILD_FLAGS=$(( BUILD_FLAGS | (1 << 0) ))
# if [ -r breath.bin ] && [ $version = "401" ] ; then
# echo "Including breath.bin"
# cat breath.bin | patch 0xbb734 || die "binary patch failed"
# elif [ -r breath.bin ] && [ $version = "306" ] ; then
# echo "Including breath.bin"
# cat breath.bin | patch 0xbb4d4 || die "binary patch failed"
# else
# die "breath.bin not found, did you run make?"
# fi
# if [ -r graph.bin ]; then
# echo "Including graph.bin"
# cat graph.bin | patch 0xfd000 || die "graph patch failed"
# printf '\x01\xd0\x0f\x08' | patch 0xf9c88 || die "graph fixup failed"
# fi
# }
- Follow the instructions on https://github.com/osresearch/airbreak/blob/master/docs/firmware.md
from airbreak.
I followed your instructions, done. Some text in the last menu was broken. I also commented the last part, it was fixed. thanks a lot @jasonminsookim
from airbreak.
I would love to share but they said it would be a problem due to the serial number and differentiation of the device
from airbreak.
Related Issues (20)
- Compiling and bugs HOT 3
- Compatibility across all firmware versions HOT 3
- missing menu items in some modes HOT 20
- Brazilian Portuguese firmware HOT 8
- Binary disassembly and decompilation howto using Ghidra HOT 6
- Accessing EEPROM data? HOT 7
- Force a firmware update?
- Patching SX567-0302 HOT 5
- Wanted Aircurve V auto Firmware HOT 1
- Patching odd version
- SOLVED : tcl/airsense.cfg:75: Error: invalid command name "mrh" HOT 4
- Possible improvements to PAP firmware itself. HOT 20
- Could I be able to run CFW without a teardown by loading files from the SD Card?
- Do not use Windows tools flasher HOT 2
- Is it safe to set a breakpoint in the breath control loop while the device is running live? HOT 6
- How to export the XML file that `ghidra2stubs` expects from Ghidra? HOT 1
- Can you patch airsense-patch file to stm32 in Windows ( or only in Linux )?
- I can't access the target in OpenOCD nor in ST32CubeProgrammer?
- no EPR option in Autoset mode
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airbreak.