c119ce450d
Updated the bootloader download link. |
||
---|---|---|
docs/images | ||
hardware-adapter | ||
hardware-jlink | ||
mechanical-case | ||
LICENCE | ||
README.md |
README.md
RailLink
Very compact isolated version of J-Link v9 with fully supported functions.
Isolation based on ADuM4160 (USB2.0 FS isolation) and B0505S-1W (Isolated 5V/0.2A DC-DC).
Overview
Dimensions(L x W x H, millimeters): 70 x 28 x 15 (probe only); 110 x 35 x 25 (probe with connected adapter).
Probe pinout
RailLink has 10 pin 0.1"(2.54mm) connector compatible with standard ARM 10 pin connector.
Pin | Name | Pin | Name |
---|---|---|---|
1 | Vtref | 2 | TMS/SWDIO |
3 | GND | 4 | TCK/SWCLK |
5 | GND | 6 | TDO/SWO |
7 | UART RX | 8 | TDI/UART TX |
9 | GND | 10 | ~RESET |
Adapter pinouts
Adapter has several popular connectors: ARM 10 pin 0.05"(1.27mm), TC2030-IDC-NL 6 pin 0.1"(2.54mm), ARM 20 pin JTAG 0.1"(2.54mm), ARM 20-pin Cortex 0.05"(1.27mm).
In addition, there are two custom connectors: 4 pin UART and CWF-6 (Ilya).
Pin | Name | Pin | Name |
---|---|---|---|
1 | Vtref | 2 | TMS/SWDIO |
3 | GND | 4 | TCK/SWCLK |
5 | GND | 6 | TDO/SWO |
7 | UART RX | 8 | TDI/UART TX |
9 | GND | 10 | ~RESET |
Pin | Name | Pin | Name |
---|---|---|---|
1 | Vtref | 2 | TMS/SWDIO |
3 | ~RESET | 4 | TCK/SWCLK |
5 | GND | 6 | TDO/SWO |
Pin | Name | Pin | Name |
---|---|---|---|
1 | Vtref | 2 | NC |
3 | NC | 4 | GND |
5 | TDI/UART TX | 6 | GND |
7 | TMS/SWDIO | 8 | GND |
9 | TCK/SWCLK | 10 | GND |
11 | NC | 12 | GND |
13 | TDO/SWO | 14 | GND |
15 | ~RESET | 16 | GND |
17 | UART RX | 18 | GND |
19 | NC | 20 | GND |
ARM 20-pin Cortex 0.05"(1.27mm)
Pin | Name | Pin | Name |
---|---|---|---|
1 | Vtref | 2 | TMS/SWDIO |
3 | GND | 4 | TCK/SWCLK |
5 | GND | 6 | TDO/SWO |
7 | UART RX | 8 | TDI/UART TX |
9 | GND | 10 | ~RESET |
11 | GND | 12 | NC |
13 | GND | 14 | NC |
15 | GND | 16 | NC |
17 | GND | 18 | NC |
19 | GND | 20 | NC |
Pin | Name |
---|---|
1 | Vtref |
2 | TDI/UART TX |
3 | UART RX |
4 | GND |
Pin | Name |
---|---|
1 | Vtref |
2 | TCK/SWCLK |
3 | TMS/SWDIO |
4 | ~RESET |
3 | UART RX |
4 | GND |
Assembly
Most of SMD components are 0402.
Assembly should be not very difficult even with soldering iron.
But paste soldering with stencil is recommended.
Assembly drawing placed here.
Assembly drawing should be opened in browser.
Programming
- Install J-Link software pack.
- Load the bootloader
- ST-LINK way
- Install ST-LINK utility
- Connect RailLink SWD connector to ST-LINK
- Connect ST-LINK to PC
- Connect RailLink to PC
- Launch ST-LINK utility
- Load this file into MCU.
- J-Link way
- Connect RailLink SWD connector to J-Link
- Connect J-Link to PC
- Connect RailLink to PC
- Start JFlashLite
- Select device - STM32F205RC, select interface - SWD, and speed - 100kHz
- In Data file field choose this file
- Click "Program Device" button
- Wait until the firmware is loaded;
- ST-LINK way
- Disconnect RailLink and JLink from PC.
- Connect RailLink to PC.
- Launch JLink.exe (JLinkExe on Linux) and agree to firmware restoring.
- Wait until firmware is restored.
- Now RailLink is almost ready for use. Type and run "Exec SetSN=xxxxxxxx", where xxxxxxxx is serial number;
- RailLink is ready for use!
PS. Important!
It's recommended to add following options:
- Exec AddFeature GDB
- Exec AddFeature RDI
- Exec AddFeature FlashBP
- Exec AddFeature FlashDL
- Exec AddFeature JFlash
- Exec AddFeature RDDI
But in latest version (V6.80 at this moment) any of these commands causes "ERROR: Unknown command".
You can install older version (two or more version of JLink software pack can be install on one PC) and try to execute these commands. For example, it's working on V6.30.
License
This project is licensed under a CERN Open Hardware Licence Version 2 - Permissive.