{"id":16912,"date":"2025-02-11T14:37:03","date_gmt":"2025-02-11T06:37:03","guid":{"rendered":"https:\/\/www.tosunai.com\/?p=16912"},"modified":"2025-02-11T17:25:12","modified_gmt":"2025-02-11T09:25:12","slug":"high-speed-flashing-configuration-and-application-of-tl1011-fastlin-mode","status":"publish","type":"post","link":"https:\/\/www.tosunai.com\/en\/high-speed-flashing-configuration-and-application-of-tl1011-fastlin-mode\/","title":{"rendered":"Sharing | High-Speed Flashing Configuration and Application of TL1011 FastLIN Mode"},"content":{"rendered":"

TOSUN has recently released the TL1011 device, which not only supports LIN 2.2 protocol for LIN communication and simulation but also features FastLIN mode, supporting baud rates up to 200 Kbps. FastLIN significantly enhances LIN flashing speed and expands application scenarios. The TL1011, in combination with the powerful TSMaster software, supports LDF database loading for easy monitoring, analysis, and simulation of LIN bus data. It also enables UDS diagnostics and high-speed ECU flashing. This article will cover the high-speed flashing configuration and application of TL1011\u2019s FastLIN mode.<\/p>

Keywords:TL1011, FastLIN, High-Speed LIN Communication, LIN Flashing<\/strong><\/em><\/strong><\/em><\/p>

<\/div>

Technical background<\/strong><\/strong><\/h2>

The LIN (Local Interconnect Network) communication standard was defined in 2010 (LIN 2.2A, LIN Consortium) and later included in the ISO 17987 standard, officially published in 2016. LIN is a low-speed serial communication protocol designed to meet the automotive industry's need for low-cost, low-speed networks, particularly in body electronics such as windows, mirrors, headlights, and air conditioning controls.<\/p>

In recent years, automotive ambient lighting systems have increasingly adopted LIN communication. Given the large number of nodes in a single vehicle, OEMs and suppliers demand higher flashing speeds for ambient light controllers. To address this, some ambient lighting systems employ LIN controllers that support high-speed FastLIN mode, reaching baud rates of up to 200 Kbps. FastLIN enables significantly faster and more efficient LIN flashing operations.<\/p>

In response to this industry need, TL1011 was developed to support FastLIN mode with baud rates up to 200 Kbps. FastLIN dramatically improves LIN ECU flashing speeds, optimizing production processes and making it ideal for high-speed communication and flashing scenarios.<\/p>

<\/div>

TL1011 FastLIN Mode High-Speed Flashing Configuration and Waveform Analysis<\/strong><\/strong><\/h2>

To explore the high-performance communication capabilities of TL1011 in FastLIN mode, we use two TL1011 devices to simulate a LIN master node and a LIN slave node, conducting communication tests. The following steps guide you through the hardware configuration and analysis using an oscilloscope for waveform observation.<\/p>

2.1 FastLIN Engineering Configuration and Transmission<\/strong><\/p>

The first step involves connecting two TL1011 devices to a computer and launching the TSMaster software. Within the Hardware menu, navigate to Channel Selection and set up two LIN channels, assigning each channel to a respective TL1011 device.<\/p>

\"LIN
Figure 1: TL1011 LIN Channel Selection<\/figcaption><\/figure>

Next, in the Bus Hardware section, configure the bitrate for LIN1. The baud rate parameter can be manually set to 200 Kbps by selecting the value field and entering the desired rate using a keyboard. After adjusting the necessary protocol settings, clicking Apply completes the configuration, ensuring that communication operates at the specified speed.<\/p>

\"LIN1
Figure 2: LIN1 Channel Baud Rate Configuration<\/figcaption><\/figure>

Similarly, LIN2 can be set to operate at 200 Kbps, mirroring the configuration of LIN1.<\/p>

\"LIN2
Figure 3: LIN2 Channel Baud Rate Configuration
<\/figcaption><\/figure>

After setting up the baud rate, two LIN transmission windows are created: LIN Transmission #1 operates in master node mode, defining the schedule table ID, channel assignment, transmission direction, and data length. Meanwhile, LIN Transmission #2 runs in slave mode, where the master mode function is disabled. The slave node ID, channel, direction, length, and data content are configured accordingly before execution.<\/p>

\"LIN
Figure 4: LIN Transmission Configuration
<\/figcaption><\/figure>

Once both LIN channels are running, message exchanges between LIN1 and LIN2 can be observed in the LIN message window, verifying the correctness of transmission.<\/p>

\"LIN
Figure 5: LIN Message Window
<\/figcaption><\/figure>

2.2 Observing FastLIN Waveforms via Oscilloscope<\/strong><\/p>

To further analyze the behavior of FastLIN communication, a Picoscope oscilloscope is used to capture waveform characteristics. The oscilloscope\u2019s Channel A probe is connected to the LIN bus, while the ground probe is attached to the LIN ground. Serial decoding is enabled, with the baud rate manually set to 200 Kbps.<\/p>

\"LIN
Figure 6: Oscilloscope LIN Decoding Configuration
<\/figcaption><\/figure>

The oscilloscope waveform reveals that the synchronization byte 0x55 has a bit time measurement of 5.015 microseconds, translating to an actual baud rate of 199.4 Kbps, which falls within the acceptable jitter range. The waveform appears stable and structured, and serial decoding confirms accurate parsing of all LIN message IDs.<\/p>

\"200Kbps
Figure 7: FastLIN Mode at 200Kbps \u2013 Waveform Display
<\/figcaption><\/figure>

For further analysis, the experiment is repeated with the baud rate adjusted to 150 Kbps. Under identical testing conditions, the sync byte bit time measures 6.664 microseconds, corresponding to an actual baud rate of 150.1 Kbps, which also remains within tolerance limits. This demonstrates the adaptability and robustness of FastLIN mode across different speeds.<\/p>

\"Configure
Figure 8: FastLIN Mode at 150Kbps \u2013 Waveform Display
<\/figcaption><\/figure>
<\/div>

High-Speed Flashing with TL1011 and FastLIN Mode<\/strong><\/strong><\/h2>

The diagnostic flashing functionality in TSMaster supports a range of communication protocols, including LIN, CAN, CAN FD, and DOIP, using the Unified Diagnostic Services (UDS) protocol. When combined with TL1011\u2019s FastLIN mode, UDS-based flash bootloader operations can be significantly accelerated, making it an ideal solution for programming FastLIN-compatible LIN controllers.<\/p>

3.1 Hardware Configuration for FastLIN Mode<\/strong><\/p>

Configuring FastLIN mode primarily involves setting a higher baud rate. For instance, when operating at 200 Kbps, the parameter is set accordingly in TSMaster\u2019s interface.<\/p>

\"Configure
Figure 9: Baud Rate Configuration at 200Kbps
<\/figcaption><\/figure>

3.2 LIN Diagnostic Transport Layer<\/strong><\/p>

In TSMaster\u2019s Basic Diagnostic Module, selecting LIN as the bus type automatically enables FastLIN mode. Additionally, the NAD (Node Addressing) parameter for the LIN controller can be defined to facilitate communication.<\/p>

\"LIN
Figure 10: LIN Diagnostic Transport Layer Configuration
<\/figcaption><\/figure><\/div>

3.3 Diagnostic Service Layer Timing and Seed-Key Authentication<\/strong><\/p>

At the diagnostic service layer, the request and response timing parameters for UDS services (e.g., 0x3C request, 0x3D response) can be manually adjusted, including response retry limits.<\/p>

\"LIN
Figure 11: LIN Diagnostic Service Layer Timing Configuration
<\/figcaption><\/figure><\/div>

For seed-key authentication, TSMaster offers two processing methods: (1) loading an external DLL dynamic library (compatible with WIN32 and DotNET architectures), or (2) using the built-in SeedKey interpreter, which allows direct scripting of authentication algorithms and exporting them as DLL files for use in secure communication processes.<\/p>

\"seed
Figure 12: Seed-Key Configuration
<\/figcaption><\/figure><\/div>

3.4 Diagnostic Service Configuration and File Transfer<\/strong><\/p>

In the Basic Diagnostic Configuration, service commands are created based on diagnostic function requirements. Each service request and response parameter is configured accordingly.<\/p>

\"LIN
Figure 13: LIN Basic Diagnostic Configuration
<\/figcaption><\/figure><\/div>

For file transfers, the File Download Combination Service enables automatic generation of 0x34, 0x36, and 0x37 service commands based on the loaded firmware data file. The system supports various formats, including HEX, BIN, S19, and VBF, and offers features such as checksum verification, memory erase strategies, segmented downloads, address offsets, and file integrity checks.<\/p>

\"File
Figure 14: File Download Service Configuration
<\/figcaption><\/figure><\/div>

3.5 Automating High-Speed Flashing with FastLIN<\/strong><\/p>

In the Automated Diagnostic Workflow, pre-configured diagnostic service steps are assembled into a complete FastLIN UDS flashing sequence. With a single button press, the entire flashing process can be executed, with an option to repeat the operation multiple times for verification.<\/p>

\"FastLIN's
Figure 15: FastLIN UDS Diagnostic Flashing Workflow
<\/figcaption><\/figure><\/div>

During actual LIN or FastLIN flashing scenarios, precise timing adjustments may be required. TSMaster allows users to customize transmission intervals and response timeouts, optimizing the process for different LIN controllers and ensuring a smooth flashing experience.<\/p>

\"User-defined
Figure 16: User-defined configuration of LIN time parameters
<\/figcaption><\/figure><\/div>
<\/div>

Abbreviations<\/strong><\/strong><\/h2>
LIN<\/td>Local Interconnect Network<\/td><\/tr>
CAN<\/td>Controller Area Network<\/td><\/tr>
CAN FD<\/td>CAN with Flexible Data-Rate<\/td><\/tr>
DLL<\/td>Dynamic Link Library<\/td><\/tr>
ECU<\/td>Electronic Control Unit   <\/td><\/tr>
ID<\/td>Identifier<\/td><\/tr>
UDS<\/td>Unified Diagnostic Services<\/td><\/tr><\/tbody><\/table><\/figure>
<\/div>
<\/div>
Tip:<\/strong>
1. Software download:
Click on the software download link below to download and install directly, beta version is recommended:

2. Software upgrades:
You can check for upgrades to the latest version within the software, provided that your computer has an Internet connection.

Note: TOSUN Technical Support Email:support@tosunai.cn<\/a>We welcome inquiries! (Company and contact information must be indicated)<\/strong><\/pre>\n\n
Download TSMaster<\/a><\/div><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"

TOSUN Tongxing newly released a TL1011 device, not only supports LIN communication and simulation under LIN2.2 protocol, but also focuses on supporting Fas [...].<\/p>","protected":false},"author":11,"featured_media":16930,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"on","ocean_gallery_id":[],"footnotes":"[]"},"categories":[90],"tags":[70,65,131,260],"class_list":{"0":"post-16912","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","6":"hentry","7":"category-software-tutorial","8":"tag-lin","9":"tag-tsmaster","11":"tag-diagnostic","12":"entry","13":"has-media","14":"owp-thumbs-layout-horizontal","15":"owp-btn-normal","16":"owp-tabs-layout-horizontal","17":"has-no-thumbnails","18":"has-product-nav"},"acf":[],"_links":{"self":[{"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/posts\/16912","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/comments?post=16912"}],"version-history":[{"count":3,"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/posts\/16912\/revisions"}],"predecessor-version":[{"id":16940,"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/posts\/16912\/revisions\/16940"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/media\/16930"}],"wp:attachment":[{"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/media?parent=16912"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/categories?post=16912"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tosunai.com\/en\/wp-json\/wp\/v2\/tags?post=16912"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}