mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 20:49:49 +04:00
Update Reading logs via the Dev Board.md
Signed-off-by: DerSkythe <31771569+derskythe@users.noreply.github.com>
This commit is contained in:
@@ -4,17 +4,14 @@ The Developer Board allows you to read Flipper Zero logs via UART. Unlike readin
|
|||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
>
|
>
|
||||||
> Flipper Zero logs can only be viewed when the developer board is connected via USB. The option to view logs over Wi-Fi will be added in future updates.
|
> Flipper Zero logs can only be viewed when the developer board is connected via USB.
|
||||||
|
> The option to view logs over Wi-Fi will be added in future updates.
|
||||||
***
|
|
||||||
|
|
||||||
## Setting the log level
|
## Setting the log level
|
||||||
|
|
||||||
Depending on your needs, you can set the log level by going to `Main Menu -> Settings -> Log Level`. To learn more about logging levels, visit [Settings](https://docs.flipperzero.one/basics/settings#d5TAt).
|
Depending on your needs, you can set the log level by going to `Main Menu -> Settings -> Log Level`. To learn more about logging levels, visit [Settings](https://docs.flipperzero.one/basics/settings#d5TAt).
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
***
|
|
||||||
|
|
||||||
## Viewing Flipper Zero logs
|
## Viewing Flipper Zero logs
|
||||||
|
|
||||||
@@ -37,43 +34,35 @@ After installation of `minicom` on your macOS computer, you can connect to the D
|
|||||||
|
|
||||||
1. Cold-plug the Developer Board into your Flipper Zero by turning off the Flipper Zero, connecting the developer board, and then turning it back on.
|
1. Cold-plug the Developer Board into your Flipper Zero by turning off the Flipper Zero, connecting the developer board, and then turning it back on.
|
||||||
2. On your computer, open the Terminal and run the following command:
|
2. On your computer, open the Terminal and run the following command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
ls /dev/cu.*
|
ls /dev/cu.*
|
||||||
```
|
```
|
||||||
|
> [!NOTE]
|
||||||
> [!NOTE] The list of devices.
|
>
|
||||||
|
> The list of devices.
|
||||||
3. Connect the developer board to your computer using a USB Type-C cable.
|
3. Connect the developer board to your computer using a USB Type-C cable.
|
||||||

|

|
||||||
|
5. Rerun the command. Two new devices have to appear: this is the Developer Board.
|
||||||
4. Rerun the command. Two new devices have to appear: this is the Developer Board.
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
/dev/cu.usbmodemblackmagic1
|
/dev/cu.usbmodemblackmagic1
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
/dev/cu.usbmodemblackmagic3
|
/dev/cu.usbmodemblackmagic3
|
||||||
```
|
```
|
||||||
> [!NOTE] Your Developer Board might have different names.
|
> [!NOTE]
|
||||||
|
>
|
||||||
5. Run the following command:
|
> Your Developer Board might have different names.
|
||||||
|
6. Run the following command:
|
||||||
```bash
|
```bash
|
||||||
minicom -D /dev/<port> -b 230400
|
minicom -D /dev/<port> -b 230400
|
||||||
```
|
```
|
||||||
Where `<port>` is the name of your device with a bigger number.
|
Where `<port>` is the name of your device with a bigger number.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
minicom -D /dev/cu.usbmodemblackmagic3 -b 230400
|
minicom -D /dev/cu.usbmodemblackmagic3 -b 230400
|
||||||
```
|
```
|
||||||
|
7. View logs of your Flipper Zero in the Terminal.
|
||||||
6. View logs of your Flipper Zero in the Terminal.
|
8. To quit, close the `minicom` window or quit via the `minicom` menu.
|
||||||
|
|
||||||
7. To quit, close the `minicom` window or quit via the `minicom` menu.
|
|
||||||
|
|
||||||
### Linux
|
### Linux
|
||||||
|
|
||||||
@@ -86,48 +75,38 @@ On Linux, you need to install the `minicom` communication program. For example,
|
|||||||
After installation of `minicom` on your Linux computer, you can connect to the Developer Board to read Flipper Zero logs by doing the following:
|
After installation of `minicom` on your Linux computer, you can connect to the Developer Board to read Flipper Zero logs by doing the following:
|
||||||
|
|
||||||
1. Cold-plug the Developer Board into your Flipper Zero by turning off the Flipper Zero, connecting the developer board, and then turning it back on.
|
1. Cold-plug the Developer Board into your Flipper Zero by turning off the Flipper Zero, connecting the developer board, and then turning it back on.
|
||||||
|
|
||||||
2. On your computer, open the Terminal and run the following command:
|
2. On your computer, open the Terminal and run the following command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
ls /dev/tty*
|
ls /dev/tty*
|
||||||
```
|
```
|
||||||
|
|
||||||
Note the list of devices.
|
Note the list of devices.
|
||||||
|
|
||||||
3. Connect the developer board to your computer using a USB Type-C cable.
|
3. Connect the developer board to your computer using a USB Type-C cable.
|
||||||

|

|
||||||
|
|
||||||
4. Rerun the command. Two new devices have to appear: this is the Developer Board.
|
4. Rerun the command. Two new devices have to appear: this is the Developer Board.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
/dev/ttyACM0
|
/dev/ttyACM0
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
/dev/ttyACM1
|
/dev/ttyACM1
|
||||||
```
|
```
|
||||||
|
> [!NOTE]
|
||||||
> [!NOTE] Your Developer Board might have different names.
|
>
|
||||||
|
> Your Developer Board might have different names.
|
||||||
5. Run the following command:
|
5. Run the following command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
minicom -D /dev/<port> -b 230400
|
minicom -D /dev/<port> -b 230400
|
||||||
```
|
```
|
||||||
|
|
||||||
Where `<port>` is the name of your device with a bigger number.
|
Where `<port>` is the name of your device with a bigger number.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
minicom -D /dev/cu.usbmodemblackmagic3 -b 230400
|
minicom -D /dev/cu.usbmodemblackmagic3 -b 230400
|
||||||
```
|
```
|
||||||
|
|
||||||
6. View logs of your Flipper Zero in the Terminal.
|
6. View logs of your Flipper Zero in the Terminal.
|
||||||
|
> [!NOTE]
|
||||||
> [!NOTE] If no logs are shown in the Terminal, try running the command from Step 5 with another device name.
|
>
|
||||||
|
> If no logs are shown in the Terminal,
|
||||||
|
> try running the command from Step 5 with another device name.
|
||||||
|
>
|
||||||
7. To quit, close the minicom window or quit via the minicom menu.
|
7. To quit, close the minicom window or quit via the minicom menu.
|
||||||
|
|
||||||
### Windows
|
### Windows
|
||||||
@@ -135,22 +114,14 @@ After installation of `minicom` on your Linux computer, you can connect to the D
|
|||||||
On Windows, do the following:
|
On Windows, do the following:
|
||||||
|
|
||||||
1. On your computer, [install the PuTTY application](https://www.chiark.greenend.org.uk/\~sgtatham/putty/latest.html).
|
1. On your computer, [install the PuTTY application](https://www.chiark.greenend.org.uk/\~sgtatham/putty/latest.html).
|
||||||
|
|
||||||
2. Cold-plug the Developer Board into your Flipper Zero by turning off the Flipper Zero, connecting the developer board, and then turning it back on.
|
2. Cold-plug the Developer Board into your Flipper Zero by turning off the Flipper Zero, connecting the developer board, and then turning it back on.
|
||||||
|
|
||||||
3. Connect the developer board to your computer using a USB Type-C cable.
|
3. Connect the developer board to your computer using a USB Type-C cable.
|
||||||

|

|
||||||
|
|
||||||
4. Find the serial port that the developer board is connected to by going to `Device Manager -> Ports (COM & LPT)` and looking for a new port that appears when you connect the Wi-Fi developer board.
|
4. Find the serial port that the developer board is connected to by going to `Device Manager -> Ports (COM & LPT)` and looking for a new port that appears when you connect the Wi-Fi developer board.
|
||||||

|

|
||||||
|
6. Run the `PuTTY` application and select `Serial` as the connection type.
|
||||||
5. Run the `PuTTY` application and select `Serial` as the connection type.
|
7. Enter the port number you found in the previous step into the `Serial line` field.
|
||||||
|
8. Set the `Speed` parameter to `230400` and click `Open`.
|
||||||
6. Enter the port number you found in the previous step into the `Serial line` field.
|

|
||||||
|
10. View logs of your Flipper Zero in the PuTTY terminal window.
|
||||||
7. Set the `Speed` parameter to `230400` and click `Open`.
|
11. To quit, close the PuTTY window.
|
||||||

|
|
||||||
|
|
||||||
8. View logs of your Flipper Zero in the PuTTY terminal window.
|
|
||||||
|
|
||||||
9. To quit, close the PuTTY window.
|
|
||||||
|
|||||||
Reference in New Issue
Block a user