Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
## Introduction
This toolset helps to split serial communication interface into 2 ACM ports.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First of all, its not an abstract toolset. Its firmware for the particular MCU.
Probably, we need to include a description of supported dev boards.


### Prepating and Flashing
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it`s a good place to add compilation requirements. Like GCC and stuff.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: Preparing not PrepaTing

- To prepare *.bin or *.elf use next command
`make SERIALNUM-{ID}`
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure it's the correct command?


- Connect the programmator pins to you MC according to the datasheet or silkprint

- Upload the firmware to the controller
flash write {PATH} 0x8000000
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the command inside the stlink cli? We should describe that.


- If everything works correctly, you can connect you MC to USB port and check if your Serial port with the setted ID
```
$ ls -la /dev/serial/by-id/usb-*

/dev/serial/by-id/usb-STMicroelectronics_STM32_Virtual_ComPort_{ID}-if00 -> ../../ttyACM0
/dev/serial/by-id/usb-STMicroelectronics_STM32_Virtual_ComPort_{ID}-if02 -> ../../ttyACM1
```

###for Linux
- You should install first an open source tools from the [(Link)](https://github.com/stlink-org/stlink) and all the requirements for it