Timestamp:
11/12/15 22:11:31 (8 years ago)
Author:
Pavel Pisa <pisa@…>
Branches:
4.11
Children:
85750d1
Parents:
572f5df
git-author:
Pavel Pisa <pisa@…> (11/12/15 22:11:31)
git-committer:
Gedare Bloom <gedare@…> (11/18/15 15:19:01)
Message:

bsp/tms570: use POM only when application image does not start at address 0.

Parameters overlay module is initialized and cleared first.
It is used later to replace exception target vectors
only if that is required.

The application loader code with CPU and SDRAM setup
code has to provide well defined pattern of instructions
at addresses 0x00000000 and 0x0000001f, because only data
read accesses can be processed reliably by POM. The expected
instruction pattern can be seen in the next example

https://github.com/hornmich/tms570ls3137-hdk-sdram/blob/master/SDRAM_SCI_configuration/source/sys_intvecs.asm

Comments with detailed description of code, background
and reasons for selected approach have been included
in TMS570 bsp startup code.

Signed-off-by: Pavel Pisa <pisa@…>
Signed-off-by: Premysl Houdek <kom541000@…>

(No files)

Note: See TracChangeset for help on using the changeset viewer.