Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Ebiroll committed May 13, 2019
1 parent 4320fad commit 1943179
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,40 @@ To force new readings you should use,
Note that this uses the same i2c as the MEMS sensor. The 3
bottom pins is GND, SCL, SDA

# Logging in linux
screen /dev/ttyUSB0 115200


# Blackmagic Single Wire Debug

Allows flashing over wifi and single step the code with gdb
https://github.com/Ebiroll/esp32_blackmagic


arm-none-eabi-gdb .pioenvs/rak811/firmware.elf
(gdb) target extended-remote 192.168.1.117:2345
(gdb) monitor swdp_scan




# Wis Node

It is possible to run this code on the Wis Node. (RAK5205)
http://docs.rakwireless.com/en/LoRa/WisTrio-LoRa-RAK5205/Hardware_Specification/RAK5205_Product_Brief_V1.1.pdf

On the 30 Pin connector for 96 boards,

Pin out No | Pin name | Desc
-----| ----- | ------
9-10 | GND | GND
17 | SWED_TMS | SWD_DATA
18 | SWD_CLK | SWD_CLK


arm-none-eabi-gdb .pioenvs/rak811/firmware.elf -ex 'target extended-remote 192.168.1.117:2345'
(gdb) monitor swdp_scan
(gdb) attach 1
(gdb) load
(gdb) b main
(gdb) c

0 comments on commit 1943179

Please sign in to comment.