source: rtems/c/src/lib/libbsp/arm/tms570/README @ 991fdb33

4.115
Last change on this file since 991fdb33 was 4407ee6, checked in by Premysl Houdek <kom541000@…>, on 08/20/14 at 15:24:23

BSP for TMS570LS31x Hercules Development Kit from TI (TMS570LS3137)

Included variants:

tms570ls3137_hdk_intram - place code and data into internal SRAM
tms570ls3137_hdk_sdram - place code into external SDRAM and data to SRAM
tms570ls3137_hdk - variant prepared for stand-alone RTEMS aplication

stored and running directly from flash. Not working yet.

Chip initialization code not included in BSP.
External startup generated by TI's HalCoGen? was used for
testing and debugging.

More information about TMS570 BSP can be found at

http://www.rtems.org/wiki/index.php/Tms570

Patch version 2

  • most of the formatting suggestion applied.
  • BSP converted to use clock shell
  • console driver "set attributes" tested. Baudrate change working

Patch version 3

  • more formatting changes.
  • removed leftover defines and test functions

Todo:

refactor header files (name register fields)

  • Property mode set to 100644
File size: 2.2 KB
Line 
1Development Board: TMS570LS31x Hercules Development Kit from TI
2
3http://www.ti.com/tool/tmds570ls31hdk
4
5Drivers:
6
7        o Console
8        o Clock
9  o Ethernet - work in progress
10
11BSP variants:
12  tms570ls3137_hdk_intram - place code and data into internal SRAM
13  tms570ls3137_hdk_sdram - place code into external SDRAM and data to SRAM
14  tms570ls3137_hdk - variant prepared for stand-alone RTEMS application
15                      stored and running directly from flash. Not working yet.
16
17Tool-chain
18  GCC 4.9.0 + Newlib 2.1.0 + Binutils 2.24 configuration:
19
20  CFLAGS="-O2 -pipe" LDFLAGS=-s \
21  ../../../src/gcc-4.9/configure --target=arm-rtems4.11 --prefix=/usr \
22               --enable-languages=c,c++ \
23               --disable-libstdcxx-pch \
24               --with-gnu-ld \
25               --with-gnu-as \
26               --enable-threads \
27               --enable-target-optspace \
28               --with-system-zlib \
29               --verbose \
30               --disable-nls --without-included-gettext \
31               --disable-win32-registry \
32               --with-newlib \
33               --enable-plugin \
34               --enable-newlib-io-c99-formats \
35               --enable-version-specific-runtime-libs \
36               --enable-newlib-iconv \
37               --disable-lto \
38
39Patches required for Cortex-R and big-endian ARM support are already
40accepted by the mainline.
41
42Execution
43
44Currently, a bootloader is not used. For test and debug purposes, TI's
45HalCoGen generated application is used to set up the board and then
46the RTEMS application image is loaded using OpenOCD to internal
47EEC SRAM or external DRAM. The following features are
48not implemented in the BSP:
49
50 + Initial complex CPU and peripheral initialization
51 + Cores Self-test
52
53Setup application code is available there:
54          https://github.com/hornmich/tms570ls3137-hdk-sdram
55
56Howto setup TMDS570LS31HDK?
57
58        o Unpack board.
59        o Verify that demo application runs.
60  o Upload bootloader specified above
61  o write BSP application either to sdram or intram and jump to RTEMS start code
62
63Additional information about the board can be found at
64  http://www.rtems.org/wiki/index.php/Tms570
65
66Additional information about the CPU can be found at
67  http://www.ti.com/product/tms570ls3137
Note: See TracBrowser for help on using the repository browser.