S-record load to RAM tested successfully. basflash.s19 is a short test program (just a single line of code) that can be loaded from SD card and executed. Control is given back to BaS() on return.

This commit is contained in:
Markus Fröschle
2012-12-18 20:36:31 +00:00
parent a7065c2494
commit 9a80c36081
5 changed files with 109 additions and 41 deletions

28
basflash.lk Normal file
View File

@@ -0,0 +1,28 @@
MEMORY
{
flasher (WX) : ORIGIN = 0x10000000, LENGTH = 0x00100000 /* target to load basflash */
}
SECTIONS
{
.text :
{
objs/basflash.o(.text)
objs/unicode.o(.text)
objs/mmc.o(.text)
objs/ff.o(.text)
objs/sd_card.o(.text)
objs/s19reader.o(.text)
objs/bas_printf.o(.text)
objs/printf_helper.o(.text)
objs/cache.o(.text)
*(.data)
*(.bss)
*(.rodata)
*(.rodata.*)
} > flasher
/* Memory mapped registers */
__MBAR = 0xFF000000;
}