#4982 assigned enhancement

Add support for TMS570LC4357 for the arm/tms570 BSP

Reported by: Sebastian Huber Owned by: Sebastian Huber
Priority: normal Milestone: 6.1
Component: arch/arm Version: 6
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

Add support for TMS570LC4357 chip variant using the TMS570LS43x Hercules Development Kit from TI.

Change History (51)

comment:1 Changed on 01/15/24 at 09:36:50 by Sebastian Huber <sebastian.huber@…>

In 7427caa/rtems:

bsps/arm: Use shared empty bsp_start_hook_0()

Update #4982.

comment:2 Changed on 01/15/24 at 09:36:52 by Sebastian Huber <sebastian.huber@…>

In 222c989/rtems:

bsp/tms570: Remove empty <bsp/tms570-rti.h>

Update #4982.

comment:3 Changed on 01/15/24 at 09:36:54 by Sebastian Huber <sebastian.huber@…>

In 72ec63e7/rtems:

bsp/tms570: Remove empty <bsp/tms570-sci.h>

Update #4982.

comment:4 Changed on 01/15/24 at 09:36:56 by Sebastian Huber <sebastian.huber@…>

In 58521f1/rtems:

bsp/tms570: Remove empty <bsp/tms570-vim.h>

Update #4982.

comment:5 Changed on 01/15/24 at 09:36:58 by Sebastian Huber <sebastian.huber@…>

In 8e8b9bc0/rtems:

bsp/tms570: Relicense to BSD-2-Clause

Change license to BSD-2-Clause according to file history and contributor
agreements. Add Doxygen file comments.

Update #3053.
Update #3707.
Update #4982.

comment:6 Changed on 01/15/24 at 09:37:00 by Sebastian Huber <sebastian.huber@…>

In 600bd565/rtems:

bsp/tms570: Use new pin define

Update #4982.

comment:7 Changed on 01/15/24 at 09:37:02 by Sebastian Huber <sebastian.huber@…>

In 2110125/rtems:

bsp/tms570: Add bsp_restart()

Update #4982.

comment:8 Changed on 01/15/24 at 09:37:05 by Sebastian Huber <sebastian.huber@…>

In 8240cae/rtems:

bsp/tms570: Rename tms570_initialize_and_clear()

Rename tms570_initialize_and_clear() in
tms570_pom_initialize_and_clear().

Update #4982.

comment:9 Changed on 01/15/24 at 09:37:07 by Sebastian Huber <sebastian.huber@…>

In 849210f/rtems:

bsp/tms570: Fix bsp_reset()

Update #4982.

comment:10 Changed on 01/15/24 at 09:37:09 by Sebastian Huber <sebastian.huber@…>

In 27e0abb/rtems:

bsp/tms570: Avoid errno for debug console

Update #4982.

comment:11 Changed on 01/15/24 at 09:37:11 by Sebastian Huber <sebastian.huber@…>

In a6482eb/rtems:

bsp/tms570: Implement set/get interrupt priority

Update #4982.

comment:12 Changed on 01/15/24 at 09:37:13 by Sebastian Huber <sebastian.huber@…>

In 8753604e/rtems:

bsp/tms570: Implement interrupt is enabled/pending

Update #4982.

comment:13 Changed on 01/15/24 at 09:37:15 by Sebastian Huber <sebastian.huber@…>

In cf01329e/rtems:

bsp/tms570: Avoid spurious interrupts

Update #4982.

comment:14 Changed on 01/15/24 at 09:37:17 by Sebastian Huber <sebastian.huber@…>

In df067e5/rtems:

bsp/tms570: Add TM27 support

Update #4982.

comment:15 Changed on 01/15/24 at 09:37:20 by Sebastian Huber <sebastian.huber@…>

In 1dae4f95/rtems:

bsp/tms570: Remove obsolete build option

Update #4982.

comment:16 Changed on 01/15/24 at 09:37:21 by Sebastian Huber <sebastian.huber@…>

In 285d1a4/rtems:

bsp/tms570: Avoid vector overlay memory region

Reserve the space in a section. This makes it possible to use a common
memory region definition.

Update #4982.

comment:17 Changed on 01/15/24 at 09:37:23 by Sebastian Huber <sebastian.huber@…>

In 1b7a8af5/rtems:

bsp/tms570: Add variant enable to build

Update #4982.

comment:18 Changed on 01/15/24 at 09:37:26 by Sebastian Huber <sebastian.huber@…>

In 437da01/rtems:

bsp/tms570: Add linkcmds.memory

Remove obsolete tms570ls3137_hdk_with_loader BSP variant. With the new
memory origin/size build options this variant is no longer required.

Update #4982.

comment:19 Changed on 01/15/24 at 09:37:28 by Sebastian Huber <sebastian.huber@…>

In eb97cd1/rtems:

bsp/tms570: Add TMS570LC4357 BSP variants

Update #4982.

comment:20 Changed on 01/15/24 at 09:37:30 by Sebastian Huber <sebastian.huber@…>

In 36192165/rtems:

bsp/tms570: Fix PBIST clock enable

Bit 1 of the PACT is reserved (writes have no effect).

Update #4982.

comment:21 Changed on 01/15/24 at 09:37:32 by Tyler Miller <tyler.miller@…>

In 048d81a0/rtems:

bsp/tms570: Add TMS570LC4357 PBIST support

Update #4982.

comment:22 Changed on 01/15/24 at 09:37:34 by Sebastian Huber <sebastian.huber@…>

In 8569f01/rtems:

bsp/tms570: Enable hardware init for some variants

Update #4982.

comment:23 Changed on 01/15/24 at 09:37:36 by Tyler Miller <tyler.miller@…>

In b995211/rtems:

bsp/tms570: Add tms570_pbist_run_and_check()

Update #4982.

comment:24 Changed on 01/15/24 at 09:37:38 by Tyler Miller <tyler.miller@…>

In 39fd4b1/rtems:

bsp/tms570: Remove double pin configuration

Do not set pins to the default function before the actual setting is
applied. If a pin setting needs to be done in a certain order, then
this should be done explicitly through multiple calls to
tms570_bsp_pinmmr_config().

Update #4982.

comment:25 Changed on 01/15/24 at 09:37:41 by Tyler Miller <tyler.miller@…>

In 4f6fa974/rtems:

bsp/tms570: Add TMS570LC4357 pin config support

Update #4982.

comment:26 Changed on 01/15/24 at 09:37:43 by Tyler Miller <tyler.miller@…>

In c14efe49/rtems:

bsp/tms570: Add TMS570LC4357 power support

Update #4982.

comment:27 Changed on 01/15/24 at 09:37:45 by Sebastian Huber <sebastian.huber@…>

In eeaa318/rtems:

bsp/tms570: Simplify expression

Update #4982.

comment:28 Changed on 01/15/24 at 09:37:47 by Sebastian Huber <sebastian.huber@…>

In 4d9c9c52/rtems:

bsp/tms570: Conditionalize TMS570LS3137 errata

Update #4982.

comment:29 Changed on 01/15/24 at 09:37:49 by Sebastian Huber <sebastian.huber@…>

In 75dd824/rtems:

bsp/tms570: Add errata SSWF021#45 handling

Update #4982.

comment:30 Changed on 01/15/24 at 09:37:51 by Tyler Miller <tyler.miller@…>

In 2bbacdb/rtems:

bsp/tms570: TMS570LC4x Errata DEVICE#60

Update #4982.

comment:31 Changed on 01/15/24 at 09:37:53 by Tyler Miller <tyler.miller@…>

In ec79400/rtems:

bsp/tms570: Add HCLKCNTL register

Update #4982.

comment:32 Changed on 01/15/24 at 09:37:55 by Sebastian Huber <sebastian.huber@…>

In b99013e/rtems:

bsp/tms570: Remove reset source handling

Do not clear SYSESR and let the application handle the reset source.

Update #4982.

comment:33 Changed on 01/15/24 at 09:37:58 by Tyler Miller <tyler.miller@…>

In f7530be/rtems:

bsp/tms570: Honor DBGRST for TMS570LC4357

Update #4982.

comment:34 Changed on 01/15/24 at 09:38:00 by Sebastian Huber <sebastian.huber@…>

In 23ba8d2c/rtems:

bsp/tms570: Use asm code for tms570_memory_init()

Make sure that we do not use the stack for this function.

Update #4982.

comment:35 Changed on 01/15/24 at 09:38:02 by Sebastian Huber <sebastian.huber@…>

In 2db0844/rtems:

bsp/tms570: Initialize SRAM on demand

Update #4982.

comment:36 Changed on 01/15/24 at 09:38:04 by Sebastian Huber <sebastian.huber@…>

In 3f75b58/rtems:

bsp/tms570: The TMS570LC4357 has no TCRAM modules

Update #4982.

comment:37 Changed on 01/15/24 at 09:38:06 by Sebastian Huber <sebastian.huber@…>

In e963447/rtems:

bsp/tms570: Add header guards

Update #4982.

comment:38 Changed on 01/15/24 at 09:38:08 by Sebastian Huber <sebastian.huber@…>

In d4c6def/rtems:

bsp/tms570: Use shared bsp_start_hook_1()

Update #4982.

comment:39 Changed on 01/15/24 at 09:38:10 by Sebastian Huber <sebastian.huber@…>

In 663bedd/rtems:

bsp/tms570: Use bsp_start_copy_sections_compact()

There is no need to relocate the text and read-only data.

Update #4982.

comment:40 Changed on 01/15/24 at 09:38:12 by Sebastian Huber <sebastian.huber@…>

In 5a2f64cf/rtems:

bsp/tms570: Initialize and enable caches on demand

Update #4982.

comment:41 Changed on 01/15/24 at 09:38:14 by Sebastian Huber <sebastian.huber@…>

In 65831d7/rtems:

bsp/tms570: Optimize tms570_debug_console_out()

Reduce number of interrupt disable/enable actions.

Update #4982.

comment:42 Changed on 01/15/24 at 09:38:16 by Tyler Miller <tyler.miller@…>

In 53cbe748/rtems:

bsp/tms570: Initialize MPU

Update #4982.

comment:43 Changed on 01/15/24 at 09:38:18 by Tyler Miller <tyler.miller@…>

In b300b967/rtems:

bsp/tms570: Board-specific tms570_pll_init()

Update #4982.

comment:44 Changed on 01/15/24 at 09:38:20 by Tyler Miller <tyler.miller@…>

In 42e013a/rtems:

bsp/tms570: Board-specific tms570_map_clock_init()

Update #4982.

comment:45 Changed on 01/15/24 at 09:38:23 by Tyler Miller <tyler.miller@…>

In 87be7eab/rtems:

bsp/tms570: Board-specific tms570_pinmux_init()

Update #4982.

comment:46 Changed on 01/15/24 at 09:38:25 by Tyler Miller <tyler.miller@…>

In 449d836/rtems:

bsp/tms570: Board-specific tms570_emif_sdram_init()

Update #4982.

comment:47 Changed on 01/15/24 at 09:38:27 by Tyler Miller <tyler.miller@…>

In b47c818/rtems:

bsp/tms570: Update README

Update #4982.

comment:48 Changed on 01/15/24 at 09:38:29 by Sebastian Huber <sebastian.huber@…>

In 9a961eec/rtems:

bsp/tms570: Remove unused BSP options

Update #4982.

comment:49 Changed on 01/15/24 at 09:38:31 by Sebastian Huber <sebastian.huber@…>

In df37864/rtems:

bsp/tms570: Use TMS570_OSCILLATOR_MAIN

This option replaces BSP_OSCILATOR_CLOCK. It may be used in PLL setup
calculatios.

Update #4982.

comment:50 Changed on 01/25/24 at 07:17:19 by Sebastian Huber <sebastian.huber@…>

In 9fdaa4e/rtems-tools:

config: Update BSPs

Update #4982.

comment:51 Changed on 02/01/24 at 06:57:06 by Adrien Chardon <adrien@…>

In b1fdf75/rtems:

bsp/tms570: Fix console receive interrupts

tms570_sci_interrupt_handler() is called when an RX interrupt fires. It checks
in the register FLR, the RXRDY bit (Receiver ready flag - indicate that the
SCIRD contains new data). If it is set, it calls
tms570_sci_read_received_chars().

tms570_sci_read_received_chars() checks the register RD against 0. If it is
non zero, it returns 1 to indicate that one byte was read.

In the old behavior, if it is zero, the function returns 0 to indicate that no
data was read.

The new behavior is to not silently drop 0x00 bytes. Ignoring 0x00 bytes is fine
when working with printable text (which, I assume, is how this driver was
tested), but as soon as the UART is used in non canonical (raw) mode, with
potentially 0x00 bytes, these bytes will be silently dropped, causing issues in
the data/protocol layer above.

Update #4982.

Note: See TracTickets for help on using tickets.