CrossStudio for ARM supports the Logic Product Development SDKLH75401-10 running applications from both RAM and FLASH.
Warning: Downloading to FLASH will erase the and re-program the FLASH memory thus removing the boot loader firmware shipped with the board.
The following sections describe the Logic Product Development SDKLH75401-10 support in more detail.
The default memory map file $(StudioDir)/targets/LPD_SDKLH75401_10/LPD_SDKLH75401_10_MemoryMap.xml has been provided. This file is used to describe the memory layout of the target and is used for linking and debugging. The placement of program sections within the memory map for both RAM and FLASH configurations is described by the non-target-specific default memory maps $(StudioDir)/targets/flash_placement.xml and $(StudioDir)/targets/sram_placement.xml.
The memory segment layout for both configurations is the same and is described in the following table:
Type | Description | Start Address | End Address |
FLASH | External FLASH | 0x40000000 | 0x400FFFFF |
SRAM | External SRAM | 0x48000000 | 0x4807FFFF |
SRAM | Internal SRAM | 0x60000000 | 0x60003FFF |
SRAM | TCM SRAM | 0x80000000 | 0x80003FFF |
The internal SRAM is also mapped to address 0x00000000 in both RAM and FLASH configurations in order to allow the exception vectors to be modified at runtime.
The default startup code is in $(StudioDir)/targets/LPD_SDKLH75401_10/LPD_SDKLH75401_10_Startup.s. It contains the exception vectors, target specific startup code and the default exception handlers.