Changes between Version 7 and Version 8 of TBR/BSP/Tms570


Ignore:
Timestamp:
Sep 22, 2016, 10:45:54 PM (3 years ago)
Author:
Pavel Pisa
Comment:

Update a little TMS570 BSP page

Legend:

Unmodified
Added
Removed
Modified
  • TBR/BSP/Tms570

    v7 v8  
    11= Tms570 =
    22
     3||BSP Information
     4||BSP_name     || TMS570 (TMS570LS3137 HDK)
     5||Manufacturer || Texas Instruments
     6||image        || TMS570LS31x_HDK_Kit.jpg
     7||caption      || TMS570LS31x HDK Kit
     8||Board_URL    || http://www.ti.com/tool/tmds570ls31hdk
     9||Architecture || ARM Cortex-R (big-endian)
     10||CPU_model    || Texas Instruments Cortex-R TMS570LS3137 microcontroller
     11||Monitor      || None, simple HW setup or XCP loader
     12||Simulator    || No.
     13||Aliases      || tms570ls3137_hdk, tms570ls3137_hdk_intram, tms570ls3137_hdk_sdram
     14||RAM          || 256 kB ECC SRAM internal + 8 MB SDRAM
     15||NVMEM        || 3 MB ECC Flash
     16||Serial       || 2 x UARTs (1 with LIN), 1 x I2C, 3 x CAN, 1 x 2ch FlexRay, 3+2 x SPI
     17||NICs         || 1 x 10/100 Ethernet
     18||Dimensions   || 125 x 110 mm
     19||Other        || 2 x N2HET timing coprocessor, 2 x ADC
    320
    4 {{Infobox BSP
    5 |BSP_name     = TMS570
    6 |Manufacturer = Texas Instruments
    7 |image        = TMS570LS31x_HDK_Kit.jpg
    8 |caption      = TMS570LS31x HDK Kit
    9 |Board_URL    = http://www.ti.com/tool/tmds570ls31hdk
    10 |Dimensions   = 125 x 110 mm
    11 |Architecture = ARM Cortex-R (big-endian)
    12 |CPU_model    = Texas Instruments Cortex-R TMS570LS3137 microcontroller
    13 |Power        = Powered by included adapter
    14 |Aliases      = None
    15 |RAM          = 256 kB ECC SRAM internal + 8 MB SDRAM
    16 |NVMEM        = 3 MB ECC Flash
    17 |Serial       = 1 x I2C, 3 x CAN, 1 x 2ch FlexRay, 2 x UARTs (1 with LIN), 3+2 x SPI
    18 |NICs         = 10/100 Ethernet
    19 |Other        = 2 x N2HET timing coprocessor, 2 x ADC
    20 }}
    21 = Warning =
     21= Overview =
    2222
     23The TMS570LS3137 device is a high-performance automotive-grade microcontroller family for safety systems.
    2324
    24 '''BSP is Work in the Progress state now. Its development started as Premysl Houdek's GSoC 2014 project at [http://dce.fel.cvut.cz/katedra/organizacni-struktura/oddeleni-prumyslove-informatiky CTU FEE]'''
     25= Features =
    2526
    26 The TMS570 support has been included in RTEMS mainline sources ([http://git.rtems.org/rtems/commit/?id=4407ee675cb22e8bb870a76eafc590eb6e754315 commit]).
     27 * Texas Instruments TMS570LS3137 MCU:
     28 * Dual CPUs in lockstep
     29 * CPU and memory Built-In Self-Test (BIST) logic
     30 * ECC on both the flash and the data SRAM
     31 * Parity on peripheral memories
     32 * Loopback capability on peripheral I/Os
     33
     34= BSP Status =
     35
     36The basic TMS570 support has been included in RTEMS mainline sources ([http://git.rtems.org/rtems/commit/?id=4407ee675cb22e8bb870a76eafc590eb6e754315 commit]) in August 2014. Support for initial hardware setup and basic system selftest has been included in RTEMS mainline in September 2016 ([https://git.rtems.org/rtems/commit/?id=29430a3a106c98d2027b29d074d5db85ddb49c39 commit])
     37
     38Development of the BSP started as Premysl Houdek's GSoC 2014 project at [http://industrialinformatics.cz/ Industrial Informatics group of Czech Technical University in Prague]
    2739
    2840Development version of RTEMS with BSP sources is available from GitHub in tms570-bsp branch
     
    3850 * http://rtime.felk.cvut.cz/gitweb/rtems-devel.git/tree/refs/heads/master:/rtems-omk-template/applwiptest
    3951
    40 = Overview =
    41 
    42 
    43 The TMS570LS3137 device is a high-performance automotive-grade microcontroller family for safety systems. The safety architecture includes the following:
    44 = Features =
    45 
    46  *  Texas Instruments TMS570LS3137 MCU:
    47  * Dual CPUs in lockstep
    48  * CPU and memory Built-In Self-Test (BIST) logic
    49  * ECC on both the flash and the data SRAM
    50  * Parity on peripheral memories
    51  * Loopback capability on peripheral I/Os
    5252= Tool-chain =
    5353
     54arm-rtems4.12-gcc (GCC) 6.1.1 20160526 + Newlib 2.4.0.20160527 + Binutils 2.26.20160125
    5455
    55 GCC 4.9.0 + Newlib 2.1.0 + Binutils 2.24 configuration
     56When GCC build outside of RTEMS Source Builder then next setup is equivalent to RSB for RTESM-4.12
    5657
    5758{{{
    58 CFLAGS="-O2 -pipe" LDFLAGS=-s \
    59 ../../../src/gcc-4.9/configure --target=arm-rtems4.11 --prefix=/usr \
     59../../../src/gcc-6.1/configure --target=arm-rtems4.12 --prefix=/usr \
     60             --build=x86_64-pc-linux-gnu \
    6061             --enable-languages=c,c++ \
    6162             --disable-libstdcxx-pch \
     
    7475             --enable-newlib-iconv \
    7576             --disable-lto \
     77             --enable-libgomp \
     78             --enable-newlib-iconv \
     79             --enable-newlib-iconv-encodings="iso_8859_1,utf_8" \
    7680}}}
    7781
     
    96100-mbig-endian -mthumb -march=armv7-r -mfpu=vfpv3-d16 -mfloat-abi=hard
    97101}}}
     102
    98103= Execution =
    99104
     
    105110
    106111 *  https://github.com/hornmich/tms570ls3137-hdk-sdram
     112
    107113= Debugging =
    108114
     
    111117
    112118 *  https://github.com/AoLaD/rtems-tms570-utils/tree/master/openocd
     119
    113120= Test Reports =
    114121
    115122
    116 The hello world, ticker and most of the other tests are running from internal SRAM. There are some
    117 issues for some of the tests when run from SDRAM. Running of test from Flash has been tested
    118 as well. Tests has been linked to offset start address in this case to left setup code to run
    119 before tests from Flash start.
     123The hello world, ticker and most of the other tests are running from internal SRAM, Flash and external SDRAM. Loader or other HW configuration is required to run code from external SDRAM. Running from Flash with complete hardware initialization included in RTEMS application image requires to configure RTEMS BSP build with TMS570_USE_HWINIT_STARTUP option set to 1.
     124
     125{{{
     126TMS570_USE_HWINIT_STARTUP=1
     127}}}
     128
    120129= References =
    121130