-
Notifications
You must be signed in to change notification settings - Fork 7
Create README.md #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| 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. | ||
|
|
||
| ### Prepating and Flashing | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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.
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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}` | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First of all, it
s not an abstract toolset. Its firmware for the particular MCU.Probably, we need to include a description of supported dev boards.