diff --git a/README.md b/README.md index 3a03c23..7c9be7a 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,20 @@ -# 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).
+## 1. 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](https://github.com/Misaka0x2730/RailLink/blob/master/images/RailLink_3d.png) -![3d_adapter](https://github.com/Misaka0x2730/RailLink/blob/master/images/RailLink_adapter.png) +## 2. 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](https://habrastorage.org/webt/_x/eb/be/_xebbex11apcut3lnv1f2dbkm3w.png) +![3d_adapter](https://habrastorage.org/webt/ow/93/0u/ow930ulf7yfhhmgjfrsbnaum-ma.png) -# Probe pinout +## 3. Probe pinout RailLink has 10 pin 0.1"(2.54mm) connector compatible with standard ARM 10 pin connector. -RailLink connector
-![connector](https://github.com/Misaka0x2730/RailLink/blob/master/images/RailLink_connector.png) +RailLink connector + +![connector](https://habrastorage.org/webt/vl/yd/fx/vlydfxhfjvs-mkcmbxkxz60urnc.png) + |Pin|Name |Pin|Name | |---|-------|---|------------| |1 |Vtref |2 | TMS/SWDIO | @@ -20,12 +23,13 @@ RailLink has 10 pin 0.1"(2.54mm) connector compatible with standard ARM 10 pin c |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). +## 4. 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](https://habrastorage.org/webt/he/yg/op/heygoptkfajqtc22bssibfniqei.png) -ARM 10 pin 0.05"(1.27mm)
-![adapter_arm_10_005](https://github.com/Misaka0x2730/RailLink/blob/master/images/RailLink_adapter_arm_10_005.png) |Pin|Name |Pin|Name | |---|-------|---|------------| |1 |Vtref |2 | TMS/SWDIO | @@ -34,16 +38,20 @@ In addition, there are two custom connectors: 4 pin UART and CWF-6 (Ilya). |7 |UART RX|8 | TDI/UART TX| |9 |GND |10 | ~RESET | -

TC2030-IDC-NL
-![adapter_tc2030](https://github.com/Misaka0x2730/RailLink/blob/master/images/RailLink_adapter_tc2030.png) +TC2030-IDC-NL + +![adapter_tc2030](https://habrastorage.org/webt/6x/v6/kd/6xv6kd15zhcsmwnb78b7dsh4qqu.png) + |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](https://github.com/Misaka0x2730/RailLink/blob/master/images/RailLink_adapter_arm_20_01.png) +ARM 20 pin JTAG 0.1"(2.54mm) + +![adapter_arm_20_01](https://habrastorage.org/webt/m4/aw/ed/m4awedacnbskbvltodqzmomjcag.png) + |Pin|Name |Pin|Name | |---|------------|---|-----| |1 |Vtref |2 | NC | @@ -57,8 +65,10 @@ In addition, there are two custom connectors: 4 pin UART and CWF-6 (Ilya). |17 |UART RX |18 | GND | |19 |NC |20 | GND | -

ARM 20-pin Cortex 0.05"(1.27mm)
-![adapter_arm_20_005](https://github.com/Misaka0x2730/RailLink/blob/master/images/RailLink_adapter_arm_20_005.png) +ARM 20-pin Cortex 0.05"(1.27mm) + +![adapter_arm_20_005](https://habrastorage.org/webt/ph/pi/y9/phpiy9kug__25o728f3x_az4eoe.png) + |Pin|Name |Pin|Name | |---|-------|---|------------| |1 |Vtref |2 | TMS/SWDIO | @@ -72,8 +82,10 @@ In addition, there are two custom connectors: 4 pin UART and CWF-6 (Ilya). |17 |GND |18 | NC | |19 |GND |20 |NC | -

4 pin UART
-![adapter_uart](https://github.com/Misaka0x2730/RailLink/blob/master/images/RailLink_adapter_uart.png) +4 pin UART + +![adapter_uart](https://habrastorage.org/webt/5f/zt/kr/5fztkrevyvydh7mmqwgypmdoxa4.png) + |Pin|Name | |---|------------| |1 |Vtref | @@ -81,8 +93,10 @@ In addition, there are two custom connectors: 4 pin UART and CWF-6 (Ilya). |3 |UART RX | |4 |GND | -

CWF-6 (Ilya)
-![adapter_ilya](https://github.com/Misaka0x2730/RailLink/blob/master/images/RailLink_adapter_cwf.png) +CWF-6 (Ilya) + +![adapter_ilya](https://habrastorage.org/webt/uv/bf/nx/uvbfnxeewhd_vqp6n3rcabkhb1k.png) + |Pin|Name | |---|------------| |1 |Vtref | @@ -92,18 +106,19 @@ In addition, there are two custom connectors: 4 pin UART and CWF-6 (Ilya). |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](https://github.com/Misaka0x2730/RailLink/blob/master/BOM/ibom.html).
-Assembly drawing should be opened in browser.
-![assembly](https://github.com/Misaka0x2730/RailLink/blob/master/images/RailLink_assembly.png) +## 5. 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](https://github.com/Misaka0x2730/RailLink/blob/master/BOM/ibom.html). +Assembly drawing should be opened in browser. -# Programming +![assembly](https://habrastorage.org/webt/uc/lw/lo/uclwloujzgkngtp4kwmblarj3kw.png) + +## 6. Programming 1. Install J-Link software pack. 2. Load the bootloader - * ST-LINK way + * ST-LINK way 1. Install ST-LINK utility 2. Connect RailLink SWD connector to ST-LINK 3. Connect ST-LINK to PC @@ -115,9 +130,10 @@ Assembly drawing should be opened in browser.
1. Connect RailLink SWD connector to J-Link 2. Connect J-Link to PC 3. Connect RailLink to PC - 4. Start JFlashLite
![jflashlite_start](https://github.com/Misaka0x2730/RailLink/blob/master/images/RailLink_jflashlite_start.png) - 6. Select device - STM32F205RC, select interface - SWD, and speed - 100kHz
- ![jflashlite_main](https://github.com/Misaka0x2730/RailLink/blob/master/images/RailLink_jflashlite_main.png) + 4. Start JFlashLite + ![jflashlite_start](https://habrastorage.org/webt/xg/3n/0r/xg3n0rdvlfh1_jckjnhhsvrtotw.png) + 6. Select device - STM32F205RC, select interface - SWD, and speed - 100kHz + ![jflashlite_main](https://habrastorage.org/webt/oh/pp/m3/ohppm38j8ddi04ctbadl1r0wgu8.png) 8. In Data file field choose [this file](https://github.com/Kevincoooool/MCU_Link_Diy/blob/master/%E5%9B%BA%E4%BB%B6%E5%8D%87%E7%BA%A7%E6%96%B9%E5%BC%8F/JLink-v9_bootloader%E5%9B%BA%E4%BB%B6/bootloader.bin) 9. Click "Program Device" button 10. Wait until the firmware is loaded; @@ -125,8 +141,11 @@ Assembly drawing should be opened in browser.
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](https://github.com/Misaka0x2730/RailLink/blob/master/images/RailLink_jlink_serial.png) - 8. RailLink is ready for use! + 7. Now RailLink is almost ready for use. Type and run "Exec SetSN=xxxxxxxx", where xxxxxxxx is serial number; + > + ![jlink_serial](https://habrastorage.org/webt/la/cz/gm/laczgmfjwjskbsu1k7olt4oyyug.png) + > + 8. RailLink is ready for use! PS. Important!
It's recommended to add following options: * Exec AddFeature GDB @@ -135,10 +154,12 @@ Assembly drawing should be opened in browser.
* 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](https://i1.wp.com/www.oshwa.org/wp-content/uploads/2014/03/oshw-logo-100-px.png)
+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. + +## 7. License This project is licensed under a [CERN Open Hardware Licence Version 2 - Permissive](https://ohwr.org/cern_ohl_p_v2.pdf). + +> + +![ohl_logo](https://habrastorage.org/webt/gb/td/dd/gbtddd5rar0gpt05mye62pj3tdi.png)