X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tcl%2Fboard%2Ftopasa900.cfg;h=d6ddc44efe37b53f35a4a42a9f152d40239f12f1;hb=HEAD;hp=a8a6caf6652a4c47696a2f313c7b4b6bb5f4cc54;hpb=d70d9634bf6ab73ec4f2ac1e77012785770b460a;p=fw%2Fopenocd diff --git a/tcl/board/topasa900.cfg b/tcl/board/topasa900.cfg index a8a6caf66..d6ddc44ef 100644 --- a/tcl/board/topasa900.cfg +++ b/tcl/board/topasa900.cfg @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-or-later + # Thanks to Pieter Conradie for this script! # Target: Toshiba TOPAS900 -- TMPA900 Starterkit ###################################### @@ -37,7 +39,7 @@ proc topasa900_init { } { # Init SDRAM # _PMCDRV = 0x00000071; # // -# // Initialize SDRAM timing paramater +# // Initialize SDRAM timing parameter # // # _DMC_CAS_LATENCY = 0x00000006; # _DMC_T_DQSS = 0x00000000; @@ -105,7 +107,7 @@ proc topasa900_init { } { mww 0xf4300004 0x00000000 sleep 10 -# jtag_khz NNNN +# adapter speed NNNN # remap off in case of IROM boot mww 0xf0000004 0x00000001 @@ -113,13 +115,13 @@ proc topasa900_init { } { } # comment the following out if usinf J-Link, it soes not support DCC -arm7_9 dcc_downloads enable # Enable faster DCC downloads +arm7_9 dcc_downloads enable ;# Enable faster DCC downloads ##################### # Flash configuration ##################### -#flash bank cfi -flash bank cfi 0x20000000 0x1000000 2 2 0 - +#flash bank cfi +set _FLASHNAME $_CHIPNAME.flash +flash bank $_FLASHNAME cfi 0x20000000 0x1000000 2 2 $_TARGETNAME