13.07.2015 Views

PDF version - ARM Information Center

PDF version - ARM Information Center

PDF version - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Getting Started with Real-Time System ModelsUsing the command lineYou can use the -C switch to define model parameters when you invoke the model. You can alsouse --parameter as a synonym for the -C switch. See Getting started with Model Shell onpage 2-3. Use the same syntax as for a configuration file, but each parameter must be precededby the -C switch.Example 2-3 shows how to configure a MPS RTSM using Model Shell.Example 2-3 Using Model Shell to boot a model from a flash image# Boot from a flash imagemodel_shell \--parameter "coretile.core.semihosting-cmd_line="\--parameter "coretile.fname=flash.bin" \--parameter "coretile.mps_sysregs.user_switches_value=4" \--parameter "coretile.mps_sysregs.memcfg_value=0" \--parameter "mpsvisualisation.disable-visualisation=false" \--parameter "mpsvisualisation.rate_limit-enable=0" \RTSM_MPS_Cortex-M3.so<strong>ARM</strong> DUI 0575A Copyright © 2011 <strong>ARM</strong>. All rights reserved. 2-5ID051811Non-Confidential

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!