; -------------------------------------------------------------------------------- ; @Title: Microsemi SmartFusion2 Dev Kit Start script ; @Description: ; Load a simple sieve demo into the SRAM ; of the Microsemi SmartFusion2. ; Prerequisites: ; * J93 JTAG SEL - Short Pin 2-3 ; * FPGA Design loaded which clocks the Cortex-M ; * debugger is connected to RVI connector ; @Author: AME ; @Board: SmartFusion2 ; @Chip: M2S* ; @Copyright: (C) 1989-2022 Lauterbach GmbH, licensed for use with TRACE32(R) only ; -------------------------------------------------------------------------------- ; $Id: start-sieve-rvi.cmm 20803 2023-04-20 09:33:18Z bschroefel $ RESet SYStem.RESet SYStem.CPU M2S050 SYStem.Option DUALPORT ON SYStem.Option EnReset OFF SYStem.MemAccess DAP SYStem.Up ; load stack pointer and PC from vector table Register.RESet ; Init internal SRAM Data.Set 0x20000000++0x13FFF % Long 0 ; load debug information of demo application on the board DO ~~/demo/arm/compiler/gnu-pic/demo_sieve 0x20008000 Go main WAIT !STATE.RUN() Mode.Hll WinPOS 0% 0% List.auto ENDDO