73 lines
2.7 KiB
Markdown
73 lines
2.7 KiB
Markdown
Willkommen im Wiki.
|
|
|
|
Hier wird ein Sammelsurium angelegt, welches Snippets für alles enthält, was mir über den Weg läuft.
|
|
#### TS100 soldering iron
|
|
Hold B
|
|
v2.11.372F8E3
|
|
29-08-20
|
|
Hold A
|
|
DFU:3.45
|
|
New drive available: 7BA978B8
|
|
put hex file there, systems reboots, a file with the ending .RDY or .ERR is placed.
|
|
|
|
#### Moto X4
|
|
```
|
|
*#*#4636#*#* --> Telefonwartungsmenü
|
|
```
|
|
```
|
|
VoLTE sowie WiFiCall kann erst mit neuem Update kommen, da der APN von 07 auf 03 geändert wurde und die carrier-Datei muss in der Firmware abgeändert werden.
|
|
```
|
|
[Nachweis VoLTE](https://forums.lenovo.com/t5/Moto-X4/VoLTE-on-ALDI-TALK/m-p/4228082)
|
|
|
|
#### Odroid HC1 sdcard handling
|
|
Mirror second bootstage
|
|
dd if=/dev/mmcblk0 of=/dev/sdc bs=512 count=8192
|
|
partclone (maybe some resize due different sdcard size is required)
|
|
partclone.ext4 -N -b -s /dev/mmcblk0p1 -o /dev/sdc1
|
|
|
|
|
|
##### STM32 F103 clones
|
|
https://www.blaatschaap.be/?p=120
|
|
|
|
#### nrf51822 board
|
|
Das Board ist ein übliches nrf51822 board, welches mit der Waveshare BLE400 Platform zum SDK wird. Das Rastermaß scheint kleiner zu sein.
|
|
Mit einem ST-Link V2 konnte über die beiden Pins SWCLK und SWIO geflasht werden.
|
|
```
|
|
openocd -f interface/stlink-v2.cfg -f target/nrf51.cfg
|
|
|
|
telnet localhost 4444
|
|
Trying ::1...
|
|
Connection failed: Verbindungsaufbau abgelehnt
|
|
Trying 127.0.0.1...
|
|
Connected to localhost.
|
|
Escape character is '^]'.
|
|
Open On-Chip Debugger
|
|
> halt
|
|
target halted due to debug-request, current mode: Handler HardFault
|
|
xPSR: 0xc1000003 pc: 0xfffffffe msp: 0xffffffd8
|
|
> nrf51 mass_erase
|
|
|
|
> flash banks
|
|
#0 : nrf51.flash (nrf51) at 0x00000000, size 0x00040000, buswidth 1, chipwidth 1
|
|
#1 : nrf51.uicr (nrf51) at 0x10001000, size 0x00000100, buswidth 1, chipwidth 1
|
|
> flash write_image /home/koelner/Downloads/btlejack-firmware-ble400.hex
|
|
Padding image section 0 with 2112 bytes
|
|
Padding image section 1 with 5864 bytes
|
|
Padding image section 2 with 81204 bytes
|
|
Padding image section 3 with 908 bytes
|
|
using fast async flash loader. This is currently supported
|
|
only with ST-Link and CMSIS-DAP. If you have issues, add
|
|
"set WORKAREASIZE 0" before sourcing nrf51.cfg to disable it
|
|
target halted due to breakpoint, current mode: Handler HardFault
|
|
xPSR: 0x61000003 pc: 0x2000001e msp: 0xffffffd8
|
|
using fast async flash loader. This is currently supported
|
|
only with ST-Link and CMSIS-DAP. If you have issues, add
|
|
"set WORKAREASIZE 0" before sourcing nrf51.cfg to disable it
|
|
target halted due to breakpoint, current mode: Handler HardFault
|
|
xPSR: 0x61000003 pc: 0x2000001e msp: 0xffffffd8
|
|
wrote 261156 bytes from file /home/koelner/Downloads/btlejack-firmware-ble400.hex in 4.912921s (51.911 KiB/s)
|
|
> reset
|
|
|
|
```
|
|
Der CP2102 Adapter TTL kann wohl an P0.09 und P0.11 angeschlossen werden.
|
|
https://github.com/virtualabs/btlejack-firmware/blob/master/config/ble400.json |