navienginebsp/tools/testreference/lauterbach/devboards_toolbar.men
changeset 0 5de814552237
equal deleted inserted replaced
-1:000000000000 0:5de814552237
       
     1 //
       
     2 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 // All rights reserved.
       
     4 // This component and the accompanying materials are made available
       
     5 // under the terms of "Eclipse Public License v1.0"
       
     6 // which accompanies this distribution, and is available
       
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 //
       
     9 // Initial Contributors:
       
    10 // Nokia Corporation - initial contribution.
       
    11 //
       
    12 // Contributors:
       
    13 //
       
    14 // Description:  
       
    15 //
       
    16 ; MENU file toolbar
       
    17 ; link this into t32.cmm for it to autoload when you start trace 32
       
    18 ; menu.reprogram c:\t32\scripts-v2\devboards_menus.men
       
    19 ; 
       
    20 ; edit with : b::menu.program devboards_menus.men
       
    21 ; NOTE!! contains an absolute paths of ".." Simon's system has various
       
    22 ; versions of Trace32 installed in c:\t32\ under subdirectories and this
       
    23 ; menu file and the scripts installed within the c:\t32\ root.
       
    24 
       
    25 ADD
       
    26 TOOLBAR
       
    27 (
       
    28 	; ==============================================================================
       
    29 	SEPARATOR
       
    30 ;	TOOLITEM "MMU ON" ":map"
       
    31 ;		(
       
    32 ;		 mmu.reset
       
    33 ;		 mmu.scan 0x0:0x0--0xffffffff
       
    34 ;		 mmu.cleanup
       
    35 ;		 mmu.on
       
    36 ;		)
       
    37 	TOOLITEM "Use on-chip breakpoints"        ":breaknew" "break.select.program onchip"
       
    38 	TOOLITEM "Browse Symbols"                 ":varref"   "symbol.browse.function \\*"
       
    39 	TOOLITEM "Show code pointed to by R14SVC" ":symbols"  "data.list register(R14_svc)"
       
    40 	TOOLITEM "Show *this"                     "*t"        "var.view *this"
       
    41 
       
    42 	; ==============================================================================
       
    43 	SEPARATOR
       
    44 	TOOLITEM "Config Dialog"                ":image"  "chdir.DO ..\scripts-v2\configdialog.cmm"
       
    45 	TOOLITEM "Attach to board"              "A"       "chdir.DO ..\scripts-v2\attach.cmm"
       
    46 	TOOLITEM "Attach to board with Symbols" "AS"
       
    47 		(
       
    48 		ChDir.DO ..\scripts-v2\attach.cmm
       
    49 		ChDir.DO ..\scripts-v2\symbolics.cmm
       
    50 		)
       
    51 	TOOLITEM "Init board"                   "I"       "chdir.DO ..\scripts-v2\init.cmm"
       
    52 	TOOLITEM "Load Image to board"          "L"
       
    53 		(
       
    54 		chdir.DO ..\scripts-v2\load.cmm
       
    55 		)
       
    56 	TOOLITEM "Enable Symbols"               "SY"      "chdir.DO ..\scripts-v2\symbolics.cmm"
       
    57 	SEPARATOR
       
    58 	TOOLITEM "Set image 1 as current image" "1"
       
    59 		(
       
    60 		chdir.DO ..\scripts-v2\setimage.cmm 1
       
    61 		)
       
    62 	TOOLITEM "Set image 2 as current image" "2"
       
    63 		(
       
    64 		chdir.DO ..\scripts-v2\setimage.cmm 2
       
    65 		)
       
    66 	TOOLITEM "Set image 3 as current image" "3"
       
    67 		(
       
    68 		chdir.DO ..\scripts-v2\setimage.cmm 3
       
    69 		)
       
    70 	TOOLITEM "Set image 4 as current image" "4"
       
    71 		(
       
    72 		chdir.DO ..\scripts-v2\setimage.cmm 4
       
    73 		)
       
    74 	SEPARATOR
       
    75 	TOOLITEM "Erase Flash on board"         "FE"      "chdir.DO ..\scripts-v2\flasherase.cmm"
       
    76 	TOOLITEM "Flash Image to board"         "FI"      "chdir.DO ..\scripts-v2\flashimage.cmm"
       
    77 	; ==============================================================================
       
    78 	SEPARATOR
       
    79 	TOOLITEM "Detach" ":remove" "sys.down"
       
    80 )
       
    81