Skip to content

DmitryBruckhanov/RailLink

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).
3d view 3d_adapter

Probe pinout

RailLink has 10 pin 0.1"(2.54mm) connector compatible with standard ARM 10 pin connector.

RailLink connector
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).

ARM 10 pin 0.05"(1.27mm)
adapter_arm_10_005

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



TC2030-IDC-NL
adapter_tc2030

Pin Name Pin Name
1 Vtref 2 TMS/SWDIO
3 ~RESET 4 TCK/SWCLK
5 GND 6 TDO/SWO



ARM 20 pin JTAG 0.1"(2.54mm)
adapter_arm_20_01

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)
adapter_arm_20_005

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



4 pin UART
adapter_uart

Pin Name
1 Vtref
2 TDI/UART TX
3 UART RX
4 GND



CWF-6 (Ilya)
adapter_ilya

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.
assembly

Programming

  1. Install J-Link software pack.
  2. Load the bootloader
    • ST-LINK way
      1. Install ST-LINK utility
      2. Connect RailLink SWD connector to ST-LINK
      3. Connect ST-LINK to PC
      4. Connect RailLink to PC
      5. Launch ST-LINK utility
      6. Load this file into MCU.
    • J-Link way
      1. Connect RailLink SWD connector to J-Link
      2. Connect J-Link to PC
      3. Connect RailLink to PC
      4. Start JFlashLite
        jflashlite_start
      5. Select device - STM32F205RC, select interface - SWD, and speed - 100kHz
        jflashlite_main
      6. In Data file field choose this file
      7. Click "Program Device" button
      8. Wait until the firmware is loaded;
  3. Disconnect RailLink and JLink from PC.
  4. Connect RailLink to PC.
  5. Launch JLink.exe (JLinkExe on Linux) and agree to firmware restoring.
  6. Wait until firmware is restored.
  7. Now RailLink is almost ready for use. Type and run "Exec SetSN=xxxxxxxx", where xxxxxxxx is serial number; jlink_serial
  8. 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

ohl_logo
This project is licensed under a CERN Open Hardware Licence Version 2 - Permissive.

About

Compact isolated version of J-Link v9.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%