From 060093508d3808fc4da8866ac457ae9b885908cc Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 14 Mar 2013 15:32:23 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5431 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- ...ection_failed_report__Controller0_Core.txt | 278 ------------------ demos/PPC-SPC564A-GCC/UDE/debug.wsx | 273 ----------------- 2 files changed, 551 deletions(-) delete mode 100644 demos/PPC-SPC564A-GCC/UDE/__connection_failed_report__Controller0_Core.txt delete mode 100644 demos/PPC-SPC564A-GCC/UDE/debug.wsx diff --git a/demos/PPC-SPC564A-GCC/UDE/__connection_failed_report__Controller0_Core.txt b/demos/PPC-SPC564A-GCC/UDE/__connection_failed_report__Controller0_Core.txt deleted file mode 100644 index ce75e36ba..000000000 --- a/demos/PPC-SPC564A-GCC/UDE/__connection_failed_report__Controller0_Core.txt +++ /dev/null @@ -1,278 +0,0 @@ ----------------------------------------------------------- - - Connection Failed Report from - Basic UDE Target Interface, Version: 1.10.4 - created: 03/14/13, 16:20:20 - ----------------------------------------------------------- - -Windows version: - WinXP (Service Pack 3) - Admin: yes - -UDE version: - Release: 3.03.05 - Build: 2517 - Path: C:\Program Files\pls\UDE 4.0 - -Target configuration file: - C:\ChibiStudio\chibios\demos\PPC-SPC564A-GCC\UDE\stm_xpc564a_minimodule_debug_jtag.cfg - -Error messages: - PpcJtagTargIntf: Can't connect target ! - PpcJtagTargIntf: Failed to access JTAG debug module ! - UDEDebugServer: - serial no. -1 was suprised removed . To correct the situation, connect the communication device again and try to establish target communication. - UDEDebugServer: Unable to establish connection . To correct the situation, check configuration file entries and try again. - -Settings: - PortType: Default - CommDevSel: - JtagViaPod: n - TargetPort: Default - JtagTapNumber: 0 - JtagNumOfTaps: 1 - JtagNumIrBefore: 0 - JtagNumIrAfter: 0 - MaxJtagClk: 5000 - AdaptiveJtagPhaseShift: y - JtagMuxPort: -1 - JtagMuxWaitTime: 5 - JtagIoType: Jtag - EtksArbiterMode: 0 - ConnOption: Default - UseExtReset: y - ResetWaitTime: 50 - HaltAfterReset: y - ChangeJtagClk: -1 - ExecInitCmds: y - InvalidateCache: y - ChangeMsr: n - ChangeMsrValue: 0x00000000 - ResetPulseLen: 10 - InitScript Script: - - // select TLB 1 - SETSPR 0x274 0x10000108 0xFFFFFFFF - - // programm peripheral B modules - // TLB 1, entry 0 - SETSPR 0x270 0x10000000 0xFFFFFFFF - // Valid, protect against invalidation, global entry, size=1MB - SETSPR 0x271 0xC0000500 0xFFFFFFFF - // effective page number FFF00000, I,G - SETSPR 0x272 0xFFF0000A 0xFFFFFFFF - // real page FFF00000, UX,SX,UW,SW,UR,SR - SETSPR 0x273 0xFFF0003F 0xFFFFFFFF - // execute TLB write instruction - EXECOPCODE 0x7C0007A4 - - // programm internal Flash, no cache because of flash - // TLB 1, entry 1 - SETSPR 0x270 0x10010000 0xFFFFFFFF - // Valid, protect against invalidation, global entry, size=16MB - SETSPR 0x271 0xC0000700 0xFFFFFFFF - // effective page number 00000000 - SETSPR 0x272 0x28 0xFFFFFFFF - // real page 00000000, UX,SX,UW,SW,UR,SR - SETSPR 0x273 0x3F 0xFFFFFFFF - // execute TLB write instruction - EXECOPCODE 0x7C0007A4 - - // programm external memory - // TLB 1, entry 2 - SETSPR 0x270 0x10020000 0xFFFFFFFF - // Valid, protect against invalidation, global entry, size=16MB - SETSPR 0x271 0xC0000700 0xFFFFFFFF - // effective page number 20000000 - SETSPR 0x272 0x20000020 0xFFFFFFFF - // real page 20000000, UX,SX,UW,SW,UR,SR - SETSPR 0x273 0x2000003F 0xFFFFFFFF - // execute TLB write instruction - EXECOPCODE 0x7C0007A4 - - // programm internal SRAM - // TLB 1, entry 3 - SETSPR 0x270 0x10030000 0xFFFFFFFF - // Valid, protect against invalidation, global entry, size=256k - SETSPR 0x271 0xC0000400 0xFFFFFFFF - // effective page number 40000000, I - SETSPR 0x272 0x40000028 0xFFFFFFFF - // real page 0x40000028, UX,SX,UW,SW,UR,SR - SETSPR 0x273 0x4000003F 0xFFFFFFFF - // execute TLB write instruction - EXECOPCODE 0x7C0007A4 - - // programm peripheral A modules - // TLB 1, entry 4 - SETSPR 0x270 0x10040000 0xFFFFFFFF - // Valid, protect against invalidation, global entry, size=1MB - SETSPR 0x271 0xC0000500 0xFFFFFFFF - // effective page number C3F00000, I - SETSPR 0x272 0xC3F0000A 0xFFFFFFFF - // real page C3F00000, UX,SX,UW,SW,UR,SR - SETSPR 0x273 0xC3F0003F 0xFFFFFFFF - // execute TLB write instruction - EXECOPCODE 0x7C0007A4 - - // cache invalidate - SETSPR 0x3F3 0x00000003 0x00000003 - SETSPR 0x3F3 0x00000000 0x00000003 - - // setup IVOPR - // points to internal memory at 0x40000000 - SETSPR 0x3F 0x40000000 0xFFFFFFFF - - // disable watchdog - SET SWT_SR 0x0000C520 - SET SWT_SR 0x0000D928 - SET SWT_MCR 0xFF00000A - - // setup clock to 120MHz - SET 0xC3F80008 0xF000003C 0xF00F00FF - WAIT 0x2 - SET 0xC3F8000C 0x00000001 0x000000FF - WAIT 0x5 - - SimioAddr: g_JtagSimioAccess - FreezeTimers: y - AllowMmuSetup: y - ExecOnStartCmds: n - OnStartScript Script: - - ExecOnHaltCmds: n - ExecOnHaltCmdsWhileHalted: n - OnHaltScript Script: - - EnableProgramTimeMeasurement: n - TimerForPTM: Default - DefUserStreamChannel: 0 - DontUseCachedRegisters: n - AllowBreakOnUpdateBreakpoints: n - ClearDebugStatusOnHalt: y - UseRestartWhileRunningHandling: n - UseNexus: y - DoSramInit: y - ForceCacheFlush: y - IgnoreLockedLines: n - HandleWdtBug: n - ForceEndOfReset: n - UseHwResetMode: n - HwResetMode: Simulate - HandleNexusAccessBug: n - UseMasterNexusIfResetState: y - UseLocalAddressTranslation: y - Use64BitNexus: n - InitSramOnlyWhenNotInitialized: n - InvalidTlbOnReset: y - DoNotEnableTrapSwBrp: n - AllowResetOnCheck: y - BootPasswd0: 0xFEEDFACE - BootPasswd1: 0xCAFEBEEF - BootPasswd2: 0xFFFFFFFF - BootPasswd3: 0xFFFFFFFF - BootPasswd4: 0xFFFFFFFF - BootPasswd5: 0xFFFFFFFF - BootPasswd6: 0xFFFFFFFF - BootPasswd7: 0xFFFFFFFF - DisableE2EECC: n - IsUsedByTester: n - Mpc57xxClearPeripheralDebugAtNextCheckUserAppWhenRunning: n - -JTAG target infos: - JTAG-ID: 0x00000000 - UsedJtagClk: 0 kHz - ExtVoltage: 3276.7 V - IntVoltageUsed: y - -Target infos: - CoreName: Core - FullCoreName: Controller0.Core - ExtClock: 8000000 - IntClock: 120000000 - SysClock: 0 - HasNexus: n - BigEndian: n - CanSimio: n - CanPhysicalAccess: n - HasSpe: n - NumOfSimioChannels: 2157080748 - JtagId: 0x00000000 - IsEarlyStep: n - IsMaster: y - MasterCoreName: - IsMasterEnabled: y - IsSlave: n - BuddyDeviceDetected: n - EtkConnected: n - Data TLB size on target: 0x00000000 - Instruction TLB size on target: 0x00000000 - Shared TLB size on target: 0x00000000 - Number of data TLB entries: 0x00000000 - Number of instruction TLB entries: 0x00000000 - Number of shared TLB entries: 0x00000000 - Extended E200 MMU: n - E200 MPU: n - Data cache size: 0x00000000 - Data cache ways: 0x00000000 - Data cache sets: 0x00000000 - Data cache entry size: 0x00000000 - Instruction cache size: 0x00000000 - Instruction cache ways: 0x00000000 - Instruction cache sets: 0x00000000 - Instruction cache entry size: 0x00000000 - Unified Cache: n - MCM base address: 0xFFF40000 - SIU base address: 0xC3F90000 - Nexus On Slave: n - Core Number: 0 - Has Wdt bug: n - Length of IR register: 0x00000005 - Has Data Value comparators: y - Reset Mode: 0x00000002 - STM timer base address: 0xFFF3C000 - MC_ME base address: 0xC3FDC000 - Core in Lockstep mode: n - Core in DPM mode: n - Core is HSM: n - Target has Nexus access bug: n - Target has unlock JTAG capability: y - Unlock JTAG password len: 0x00000040 - Has JTAG unlock enable bit: n - ExecuteOpcodeAddr: 0xFFFFC000 - IMEMBaseAddr: 0xFFFFFFFF - IMEMSize: 0x00000000 - DMEMBaseAddr: 0xFFFFFFFF - DMEMSize: 0x00000000 - BootCodeStartAddr: 0xFFFFFFFC - HasCJtag: n - ChipJtagTapNumber: 0x00000000 - ChipJtagTapNumber: 0x00000001 - ChipJtagTapNumber: 0x00000000 - ChipJtagTapNumber: 0x00000000 - JtagChainType: UNKNOWN - JtagChainNumber: 0x00000000 - PowerPc system type: MPC56XX - PowerPc synchonized GO type: NONE - InactiveAfterReset: n - -Communication device: - Type/Firmware: UAD2 - Serial Number: 326060 - -Communication protocol handler: - LastCmd: 0x0410 - LastResult: 0xC023 - ExpBytes: 576 (0x0240) - RetBytes: 576 (0x0240) - LastTimeout: 120020 - -Protocol diagnostic output: - LastJtagApiAddr: 0x00000000 - LastJtagApiSpr: 0x00000000 - LastJtagApiDcr: 0x00000000 - LastJtagApiError: 0x00000000 - LastJtagApiStatus: 0x00000000 - JtagApiErrorLine: 3913 - JtagApiAddInfo0: 0x00000000 - JtagApiAddInfo1: 0x00000000 - ProtErrorLine: 926 diff --git a/demos/PPC-SPC564A-GCC/UDE/debug.wsx b/demos/PPC-SPC564A-GCC/UDE/debug.wsx deleted file mode 100644 index 0f045be97..000000000 --- a/demos/PPC-SPC564A-GCC/UDE/debug.wsx +++ /dev/null @@ -1,273 +0,0 @@ - - - debug.wsx000vQTv/gAAAQAUAAIA1QkBAAAABAAAAAAAPwAAAAAAAAAEAAAAAgAAAAAAAAAAAAAAAAAAAA==4.014.03.2013 16:13:23:000MCAAAAAAAAAAAAAABAAAAAAAPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPFOAAAAAAABAAAAAAKNFAAAAAKDDAAAAAFalseTrue1416801050593930FalseFalse1000000000000000UDEStatusBarFor Help, press F105941912059647059398593975940159406594020594035939900FalseFalse0000000000CUDEDockBar05942230911000FalseFalse0000000000CUDEDockBar05942030910000FalseFalse0000000000CUDEDockBar059647381True59419-1-11260268196-21474836480908FalseFalse1000000381271261277679906144014947UDEMDIMenuBarMenu bar0Menu barBAAAAAAIAACAAAAAAIAADAAAAAAIAAEAAAAAAIAAFAAAAAAIAAGAAAAAAIAAHAAAAAAIAAIAAAAAAIAAJAAAAAAIAAKAAAAAAIAA5939826True0-126110568196-21474836480780FalseFalse2173900111300006144014946CUdeCustomToolBarEdit0Edit2DCBOAAAAAAPPPPPPPPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPPPPPPPPAAAAAAAACCBOAAAAAAPPPPPPPPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPPPPPPPPAAAAAAAAFCBOAAAAAAPPPPPPPPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPPPPPPPPAAAAAAAAIABOAAAAAAPPPPPPPPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPPPPPPPPAAAAAAAA5939711026True011026290568196-21474836480780FalseFalse2173900180300006144014946CUdeCustomToolBarFile0File3AHHBAAAAAAPPPPPPPPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPPPPPPPPAAAAAAAABHHBAAAAAAPPPPPPPPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPPPPPPPPAAAAAAAACHHBAAAAAAPPPPPPPPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPPPPPPPPAAAAAAAADHHBAAAAAAPPPPPPPPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPPPPPPPPAAAAAAAAEHHBAAAAAAPPPPPPPPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPPPPPPPPAAAAAAAAFHHBAAAAAAPPPPPPPPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPPPPPPPPAAAAAAAAOKHBAAAAAABAAAAAAALGLJALHCJPMBOILEPIDADGENFBIDFOCNAAAAAAAAPPPPPPPPAAAAAAAA5940356134True59419-156133868196-2147483648544763714780FalseFalse79487113430134303112906144014946CUdeCustomToolBarConfig0Config2GJHBAAAAAADAAAAAAADBGGJPINFFOGHPIEPKKCPFOMBDBNDAKPAAAAAAAAPPPPPPPPAAAAAAAAMMHBAAAAAAOPAAAAAAKEMNADOLNFNPBMHEJJNEMIOMIMCHOAOGAAAAAAAAPPPPPPPPAAAAAAAANMHBAAAAAAAABAAAAAKEMNADOLNFNPBMHEJJNEMIOMIMCHOAOGAAAAAAAAPPPPPPPPAAAAAAAAFNHBAAAAAAGAAAAAAAKBDLFIMBFCNFHJBEGJFDMJNFCMOIPKHNAAAAAAAAPPPPPPPPAAAAAAAAINHBAAAAAACBAAAAAADBGGJPINFFOGHPIEPKKCPFOMBDBNDAKPAAAAAAAAPPPPPPPPAAAAAAAA5940129026479True5941929026769568196-21474836481919246957780FalseFalse8695647930479303145906144014946CUdeCustomToolBarViews0Views6JJHBAAAAAAFBAAAAAADBGGJPINFFOGHPIEPKKCPFOMBDBNDAKPAAAAAAAAPPPPPPPPAAAAAAAAKJHBAAAAAAPAAAAAAADBGGJPINFFOGHPIEPKKCPFOMBDBNDAKPAAAAAAAAPPPPPPPPAAAAAAAAMJHBAAAAAAGBAAAAAADBGGJPINFFOGHPIEPKKCPFOMBDBNDAKPAAAAAAAAPPPPPPPPAAAAAAAANKHBAAAAAAAAAAAAAAAGKBFNONHLAOENBBBJCBAABADAJECGGLAAAAAAAAPPPPPPPPAAAAAAAAALHBAAAAAAKAAAAAAALGLJALHCJPMBOILEPIDADGENFBIDFOCNAAAAAAAAPPPPPPPPAAAAAAAACLHBAAAAAAMFAAAAAALGLJALHCJPMBOILEPIDADGENFBIDFOCNAAAAAAAAPPPPPPPPAAAAAAAADLHBAAAAAAKFAAAAAALGLJALHCJPMBOILEPIDADGENFBIDFOCNAAAAAAAAPPPPPPPPAAAAAAAAFLHBAAAAAANCAAAAAALGLJALHCJPMBOILEPIDADGENFBIDFOCNAAAAAAAAPPPPPPPPAAAAAAAAGLHBAAAAAAMDAAAAAALGLJALHCJPMBOILEPIDADGENFBIDFOCNAAAAAAAAPPPPPPPPAAAAAAAAHLHBAAAAAAGEAAAAAALGLJALHCJPMBOILEPIDADGENFBIDFOCNAAAAAAAAPPPPPPPPAAAAAAAAAMHBAAAAAAKAAAAAAAKEMNADOLNFNPBMHEJJNEMIOMIMCHOAOGAAAAAAAAPPPPPPPPAAAAAAAABMHBAAAAAAEBAAAAAAKEMNADOLNFNPBMHEJJNEMIOMIMCHOAOGAAAAAAAAPPPPPPPPAAAAAAAACMHBAAAAAAJBAAAAAAKEMNADOLNFNPBMHEJJNEMIOMIMCHOAOGAAAAAAAAPPPPPPPPAAAAAAAADMHBAAAAAALBAAAAAAKEMNADOLNFNPBMHEJJNEMIOMIMCHOAOGAAAAAAAAPPPPPPPPAAAAAAAAEMHBAAAAAAAFAAAAAAKEMNADOLNFNPBMHEJJNEMIOMIMCHOAOGAAAAAAAAPPPPPPPPAAAAAAAAFMHBAAAAAAICAAAAAAKEMNADOLNFNPBMHEJJNEMIOMIMCHOAOGAAAAAAAAPPPPPPPPAAAAAAAAHMHBAAAAAANEEAAAAAJEOEILFFBLMIPBEEPLLMEDEOPKHPBGJHAAAAAAAAPPPPPPPPAAAAAAAAIMHBAAAAAAGFEAAAAAJEOEILFFBLMIPBEEPLLMEDEOPKHPBGJHAAAAAAAAPPPPPPPPAAAAAAAAJMHBAAAAAAAGEAAAAAJEOEILFFBLMIPBEEPLLMEDEOPKHPBGJHAAAAAAAAPPPPPPPPAAAAAAAALMHBAAAAAAGEAAAAAAKEMNADOLNFNPBMHEJJNEMIOMIMCHOAOGAAAAAAAAPPPPPPPPAAAAAAAA5940676926246True59419769261015568196-21474836480780FalseFalse1739132463024630774606144014946CUdeCustomToolBarMacro0Macro2DKHBAAAAAALDAAAAAAGDHJMPFPDOOJLAGELLAIHGBMMEFJBIPLAAAAAAAAPPPPPPPPAAAAAAAAEKHBAAAAAAAEAAAAAAGDHJMPFPDOOJLAGELLAIHGBMMEFJBIPLAAAAAAAAPPPPPPPPAAAAAAAAGKHBAAAAAAMDAAAAAAGDHJMPFPDOOJLAGELLAIHGBMMEFJBIPLAAAAAAAAPPPPPPPPAAAAAAAAAAAAAAAAAAPPPPPPPPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPPPPPPPPAAAAAAAAMKHBAAAACAGJAAAAAAAAAANMAJBFNENHHACJPEILAJFEFEECLCDPKCBAAAAAAAKAAAAAAANAAAAAAAFFEEFEHFPGCHLGDHAHBGDGFGAA5939913356504True5941913356637868196-21474836480780FalseFalse20512850430504301239006144014946CUdeCustomToolBarDebug0Debug5BLHBAAAAAAIBAAAAAALGLJALHCJPMBOILEPIDADGENFBIDFOCNAAAAAAAAPPPPPPPPAAAAAAAAELHBAAAAAAOFAAAAAALGLJALHCJPMBOILEPIDADGENFBIDFOCNAAAAAAAAPPPPPPPPAAAAAAAAILHBAAAAAAHAAAAAAABINLNCJGPDKECNBBCLNMAAAKECHFPLPAAAAAAAAAPPPPPPPPAAAAAAAAJLHBAAAAAAJAAAAAAABINLNCJGPDKECNBBCLNMAAAKECHFPLPAAAAAAAAAPPPPPPPPAAAAAAAAKLHBAAAAAAKAAAAAAABINLNCJGPDKECNBBCLNMAAAKECHFPLPAAAAAAAAAPPPPPPPPAAAAAAAALLHBAAAAAALAAAAAAABINLNCJGPDKECNBBCLNMAAAKECHFPLPAAAAAAAAAPPPPPPPPAAAAAAAAMLHBAAAAAAIAAAAAAABINLNCJGPDKECNBBCLNMAAAKECHFPLPAAAAAAAAAPPPPPPPPAAAAAAAANLHBAAAAAABCDAAAAABINLNCJGPDKECNBBCLNMAAAKECHFPLPAAAAAAAAAPPPPPPPPAAAAAAAAOLHBAAAAAANAAAAAAABINLNCJGPDKECNBBCLNMAAAKECHFPLPAAAAAAAAAPPPPPPPPAAAAAAAAPLHBAAAAAAMAAAAAAABINLNCJGPDKECNBBCLNMAAAKECHFPLPAAAAAAAAAPPPPPPPPAAAAAAAAAAAAAAAAAAPPPPPPPPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPPPPPPPPAAAAAAAAANHBAAAAAADAAAAAAABINLNCJGPDKECNBBCLNMAAAKECHFPLPAAAAAAAAAPPPPPPPPAAAAAAAABNHBAAAAAAGAAAAAAABINLNCJGPDKECNBBCLNMAAAKECHFPLPAAAAAAAAAPPPPPPPPAAAAAAAAAAAAAAAAAAPPPPPPPPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPPPPPPPPAAAAAAAACNHBAAAACAKKAAAAAAAAAADHHMLHLPEKIIOMOEJLGLBHJIBGLAHAFDBAAAAAAADAAAAAAAFAAAAAAADEPGCHFGAAENHBAAAAAADAAAAAAAKBDLFIMBFCNFHJBEGJFDMJNFCMOIPKHNAAAAAAAAPPPPPPPPAAAAAAAA59402101526142True594191015261157568196-21474836480780FalseFalse6956521423014230314606144014946CUdeCustomToolBarTools0ToolsDNHBAAAACAEGAAAAAAAAAAGEAOMHHDMDCIFAKEIIICDBCMNFEDNFHHBAAAAAAAGAAAAAAAFAAAAAAADEPGCHFGAAHNHBAAAAAABOAAAAAAKEMNADOLNFNPBMHEJJNEMIOMIMCHOAOGAAAAAAAAPPPPPPPPAAAAAAAA911015True594221512611554-214748364803889FalseFalse1000000300180126015030018006144014948CTabWndControlBarTab Window Bar 00-1FalseUDEDesktop Standard BarsTab Window Bar 0UDEDesktop0015019100False00True000004-214748364803889FalseFalse100000030018030018015018006144014948CUdeProjectWspBarProject Workspace Bar0-1FalseUDEDesktop Standard BarsProject Workspace BarUDEDesktop0001TrueTrueFalse14.03.2013 16:17:57:281527782411WorkspaceManager11014.03.2013 16:14:24:830MgAAAA==AQAAAA==ZAAAAA==AQAAAA==lgAAAA==AQAAAA==6AMAAA==AQAAAA==139011201WorkspaceManager110000110010\\napnt002.nap.st.com\NAPPRT0001000WorkspaceManagerWorkspaceManager01Core1Target0.Controller0.CoreTarget0.Controller0.Core1022007241112889071280880NormalfalseTop1272falseBottom0000falsefalse00DockPaneltrue558falseLeft0000falsefalse00DockPaneltrue583falseLeft0000falsefalse10DockPanelfalsetrue497false200false200true200true100truetrue0012807400128024Platform Main Menufalsetrue32453025Views ToolbarfalsetrueUDE_0x4_{D8F96613-6E55-48F7-AF2A-5FCE31D103FA}trueTarget BrowserImagetrueUDE_0x15_{D8F96613-6E55-48F7-AF2A-5FCE31D103FA}trueDiagnostic Message ViewerImagetrueUDE_0xF_{D8F96613-6E55-48F7-AF2A-5FCE31D103FA}trueConsoleImagetrueUDE_0x16_{D8F96613-6E55-48F7-AF2A-5FCE31D103FA}trueTrace WindowImagetrueUDE_0x0_{DED51A60-E0B7-11D4-9112-0001034962B6}trueCPU WindowImagetrueUDE_0x1E_{27B09B6B-1CF9-4B8E-8F03-63D41538E5D2}trueExplore SymbolsImagetrueUDE_0xA_{27B09B6B-1CF9-4B8E-8F03-63D41538E5D2}trueProgramImagetrueUDE_0x5C_{27B09B6B-1CF9-4B8E-8F03-63D41538E5D2}trueSingle Program WindowImagetrueUDE_0x5A_{27B09B6B-1CF9-4B8E-8F03-63D41538E5D2}trueDisassembly WindowImagetrueUDE_0x2D_{27B09B6B-1CF9-4B8E-8F03-63D41538E5D2}trueShow Special Function RegisterImagetrueUDE_0x3C_{27B09B6B-1CF9-4B8E-8F03-63D41538E5D2}trueLocalsImagetrueUDE_0x46_{27B09B6B-1CF9-4B8E-8F03-63D41538E5D2}trueWatchImagetrueUDE_0xA_{BE30DC4A-FD5D-47C1-994D-8CCEC8720E6E}trueSimulated I/OImagetrueUDE_0x14_{BE30DC4A-FD5D-47C1-994D-8CCEC8720E6E}trueUDE HTMLImagetrueUDE_0x19_{BE30DC4A-FD5D-47C1-994D-8CCEC8720E6E}trueArray ChartImagetrueUDE_0x1B_{BE30DC4A-FD5D-47C1-994D-8CCEC8720E6E}trueTime Traced Signal ChartImagetrueUDE_0x50_{BE30DC4A-FD5D-47C1-994D-8CCEC8720E6E}trueIP Trace ProfilingImagetrueUDE_0x28_{BE30DC4A-FD5D-47C1-994D-8CCEC8720E6E}trueMemoryImagetrueUDE_0x44D_{55B84E49-8CB1-441F-BFCB-34E4AFF76179}trueInstruction Pointer Trace ChartImagetrueUDE_0x456_{55B84E49-8CB1-441F-BFCB-34E4AFF76179}trueTrace Code CoverageImagetrueUDE_0x460_{55B84E49-8CB1-441F-BFCB-34E4AFF76179}trueTrace ProfilingImagetrueUDE_0x46_{BE30DC4A-FD5D-47C1-994D-8CCEC8720E6E}trueCall StackImagetrue30242425Show Toolbarfalsefalse70242425Window Toolbarfalsefalse80242425Workspace Toolbarfalsefalse100242425Help Toolbarfalsefalse533245325Macro ToolbarfalsetrueUDE_0x3B_{F5FC9736-9EE3-460B-BB80-67C14C9581BF}trueRun MacroImagetrueUDE_0x40_{F5FC9736-9EE3-460B-BB80-67C14C9581BF}falseDebug MacroImagetrueUDE_0x3C_{F5FC9736-9EE3-460B-BB80-67C14C9581BF}falseReload MacroImagetrueUDE_Ctrl_{4D5190CD-077D-4F92-B890-4545242BF32A}_UDEWorkspacefalseImageAndTextfalse5862420825File ToolbarfalsetrueUDE_Workspace_0x1770trueNew WorkspaceImagetrueUDE_Workspace_0x1771trueOpen workspaceImagetrueUDE_Workspace_0x1772trueSave workspace asImagetrueUDE_Workspace_0x1773trueSave workspaceImagetrueUDE_Workspace_0x1774trueClose workspaceImagetrueUDE_Workspace_0x177FtrueExport view contentImagetrueUDE_Workspace_0x1778truePrintImagetrueUDE_0x1_{27B09B6B-1CF9-4B8E-8F03-63D41538E5D2}trueLoad ProgramImagetrue794249325Edit ToolbarfalsetrueUDE_Workspace_0x1779trueCutImagetrueUDE_Workspace_0x177AtrueCopyImagetrueUDE_Workspace_0x177BtruePasteImagetrue34913925Config ToolbarfalsetrueUDE_0x3_{D8F96613-6E55-48F7-AF2A-5FCE31D103FA}trueTarget ConfigurationImagetrueUDE_0xFE_{BE30DC4A-FD5D-47C1-994D-8CCEC8720E6E}trueConnect TargetImagetrueUDE_0x100_{BE30DC4A-FD5D-47C1-994D-8CCEC8720E6E}trueDisconnect TargetImagetrueUDE_0x6_{1C85B31A-5D25-4197-9635-9C5DC28EAFD7}trueSetup Target InterfaceImagetrueUDE_0x12_{D8F96613-6E55-48F7-AF2A-5FCE31D103FA}trueMCU Run ControlImagetrue1424948425Debug ToolbarfalsetrueUDE_0x18_{27B09B6B-1CF9-4B8E-8F03-63D41538E5D2}trueShow IPImagetrueUDE_0x5E_{27B09B6B-1CF9-4B8E-8F03-63D41538E5D2}trueShow program codeImagetrueUDE_0x7_{692DBD81-4A3F-11D2-B2CD-00A02457BF0F}trueStart ProgramImagetrueUDE_0x9_{692DBD81-4A3F-11D2-B2CD-00A02457BF0F}trueStep OverImagetrueUDE_0xA_{692DBD81-4A3F-11D2-B2CD-00A02457BF0F}trueStep IntoImagetrueUDE_0xB_{692DBD81-4A3F-11D2-B2CD-00A02457BF0F}trueStep OutImagetrueUDE_0x8_{692DBD81-4A3F-11D2-B2CD-00A02457BF0F}trueRun CursorImagetrueUDE_0x321_{692DBD81-4A3F-11D2-B2CD-00A02457BF0F}trueBreak ProgramImagetrueUDE_0xD_{692DBD81-4A3F-11D2-B2CD-00A02457BF0F}trueResetImagetrueUDE_0xC_{692DBD81-4A3F-11D2-B2CD-00A02457BF0F}trueRestart ProgramImagetrueUDE_0x3_{692DBD81-4A3F-11D2-B2CD-00A02457BF0F}trueBreakpointsImagetrueUDE_0x6_{692DBD81-4A3F-11D2-B2CD-00A02457BF0F}trueToggle BreakImagetrueUDE_Ctrl_{FB7BC773-88A4-4ECE-B9B6-7189610B0735}_CoretrueImageAndTextfalseUDE_0x3_{1C85B31A-5D25-4197-9635-9C5DC28EAFD7}falseTrigger setupImagetrue6264916925Tools ToolbarfalsetrueUDE_Ctrl_{377CE046-823C-4A05-8828-13C25D345D77}_CoretrueImageAndTextfalseUDE_0xE1_{BE30DC4A-FD5D-47C1-994D-8CCEC8720E6E}trueExecution Time SetupImagetrue085812802200128022Platform Status Barfalsetrue07407841280740784..\..\..\..\..\Program Files\pls\UDE 4.0\StdLibrary.mso..\..\..\..\..\Documents and Settings\disiriog\My Documents\pls\UDE 4.0The script contains a collection of macros to save memory content into different file formats -and fill target memory rangesV:\UDE\AddOns\Macro\MacroLibrary\StdMacros1.dsm' -' $Header: /Ude/AddOns/Macro/MacroLibrary/StdMacros.dsm 3 30.04.04 9:34 Weisses $ -'_______________________________________________________ -' -' universal debug engine -' -' Standard command line macros - part 1 -' -' pls Development Tools 1999-2004 -' -' 28.04.04 SW correction for UDE 1.10 -' 03.06.03 SW initial version -'_______________________________________________________ - -'_______________________________________________________ -' -' UnAss command line function -' -' generates disassembly file -' -' command line UnAss output-file range1 [range2] [range3] ..... -' range description: -' C:<startaddress>,<length> or - code -' DB:<startaddress>,<length> or - data byte -' DW:<startaddress>,<length> or - data word -' DD:<startaddress>,<length> or - data dword -'_______________________________________________________ - -Sub UnAss(File,ParameterObj) - - set debugger = workspace.Coredebugger(0) - set DisASMObj = debugger.DisASMObj - If Not IsObject(ParameterObj) Then - MsgBox "Number of parameters wrong" - Exit Sub - End If - If IsNumeric(File) Then - MsgBox "File parameter wrong - " & File - Exit Sub - End If - DisASMObj.OutputPath = CStr(File) - bRetVal = DisASMObj.CreateStream(True,"UDE Disassembler output of current Program",False) - If bRetVal = True Then - ParmeterCnt = ParameterObj.ParameterCount - If ParmeterCnt = 0 Then - MsgBox "Number of parameters wrong " & ParmeterCnt - Exit Sub - End If - If ( ParmeterCnt Mod 3 ) <> 0 Then - MsgBox "Number of parameters wrong " & ParmeterCnt - Exit Sub - End If - RangeCnt = ParmeterCnt/3 - ParamIndex = 0 - For Range = 0 To RangeCnt -1 - KindOfRange = CStr(ParameterObj.Parameter(ParamIndex)) - KindOfRange = UCase(KindOfRange) - Address = CLng(ParameterObj.Parameter(ParamIndex +1)) - Length = CLng(ParameterObj.Parameter(ParamIndex +2)) - ParamIndex = ParamIndex +3 - If IsNumeric(KindOfRange) Then - If KindOfRange = 12 Then - DisASMObj.AddRange Address,Length,1 - ElseIf KindOfRange = 219 Then - DisASMObj.AddRange Address,Length,2 - ElseIf KindOfRange = 221 Then - DisASMObj.AddRange Address,Length,4 - Else - MsgBox "Invalid range type " & KindOfRange & "of range " & Range +1 - Exit Sub - End If - Else - If KindOfRange = "C" Then - DisASMObj.AddRange Address,Length,1 - ElseIf KindOfRange = "DB" Then - DisASMObj.AddRange Address,Length,2 - ElseIf KindOfRange = "DW" Then - DisASMObj.AddRange Address,Length,3 - ElseIf KindOfRange = "DD" Then - DisASMObj.AddRange Address,Length,4 - Else - MsgBox "Invalid range type " & KindOfRange & "of range " & Range +1 - Exit Sub - End If - End If - Next - DisASMObj.HexFileModeFlag = False - DisASMObj.ListModeFlag = False - DisASMObj.WriteAllRanges(False) - End If - -End Sub - -'_______________________________________________________ -' -' SaveHEX command line function -' -' generates intel-HEX file -' -' command line SaveHex output-file range1 [range2] [range3] ..... -' range description: -' <startaddress>,<length> -'_______________________________________________________ - -Sub SaveHEX(File,ParameterObj) - - set debugger = workspace.Coredebugger(0) - set DisASMObj = debugger.DisASMObj - If Not IsObject(ParameterObj) Then - MsgBox "Number of parameters wrong" - Exit Sub - End If - If IsNumeric(File) Then - MsgBox "File parameter wrong - " & File - Exit Sub - End If - DisASMObj.OutputPath = CStr(File) - bRetVal = DisASMObj.CreateStream(True,"UDE generated intel-Hex file of current Program",False) - If bRetVal = True Then - ParmeterCnt = ParameterObj.ParameterCount - If ParmeterCnt = 0 Then - MsgBox "Number of parameters wrong " & ParmeterCnt - Exit Sub - End If - If ( ParmeterCnt Mod 2 ) <> 0 Then - MsgBox "Number of parameters wrong " & ParmeterCnt - Exit Sub - End If - RangeCnt = ParmeterCnt/2 - ParamIndex = 0 - For Range = 0 To RangeCnt -1 - Address = CLng(ParameterObj.Parameter(ParamIndex)) - Length = CLng(ParameterObj.Parameter(ParamIndex +1)) - ParamIndex = ParamIndex +2 - DisASMObj.AddRange Address,Length,0 - Next - DisASMObj.HexFileModeFlag = True - DisASMObj.WriteAllRanges(False) - End If - -End Sub - -'_______________________________________________________ -' -' FillByte command line function -' -' fills memory range with byte pattern -' -' command line FillByte range1,pattern1 [range2,pattern2] [range3,pattern3] ..... -' range description: -' <startaddress>,<length> -'_______________________________________________________ - -Sub FillByte(ParameterObj) - - set debugger = workspace.Coredebugger(0) - set DisASMObj = debugger.DisASMObj - If Not IsObject(ParameterObj) Then - MsgBox "Number of parameters wrong" - Exit Sub - End If - ParmeterCnt = ParameterObj.ParameterCount - If ParmeterCnt = 0 Then - MsgBox "Number of parameters wrong " & ParmeterCnt - Exit Sub - End If - If ( ParmeterCnt Mod 3 ) <> 0 Then - MsgBox "Number of parameters wrong " & ParmeterCnt - Exit Sub - End If - RangeCnt = ParmeterCnt/3 - ParamIndex = 0 - set udearrayobj = debugger.ByteArrayObj(1) - For Range = 0 To RangeCnt -1 - Address = CLng(ParameterObj.Parameter(ParamIndex)) - Length = CLng(ParameterObj.Parameter(ParamIndex +1)) - Pattern = CLng(ParameterObj.Parameter(ParamIndex +2)) - ParamIndex = ParamIndex +3 - udearrayobj.Resize(Length) - udearrayobj.Fill(Pattern) - debugger.Write Address,udearrayobj - Next - -End Sub - -'_______________________________________________________ -' -' FillWord command line function -' -' fills memory range with word pattern -' -' command line FillWord range1,pattern1 [range2,pattern2] [range3,pattern3] ..... -' range description: -' <startaddress>,<length> -'_______________________________________________________ - -Sub FillWord(ParameterObj) - - set debugger = workspace.Coredebugger(0) - set DisASMObj = debugger.DisASMObj - If Not IsObject(ParameterObj) Then - MsgBox "Number of parameters wrong" - Exit Sub - End If - ParmeterCnt = ParameterObj.ParameterCount - If ParmeterCnt = 0 Then - MsgBox "Number of parameters wrong " & ParmeterCnt - Exit Sub - End If - If ( ParmeterCnt Mod 3 ) <> 0 Then - MsgBox "Number of parameters wrong " & ParmeterCnt - Exit Sub - End If - RangeCnt = ParmeterCnt/3 - ParamIndex = 0 - set udearrayobj = debugger.WordArrayObj(1) - For Range = 0 To RangeCnt -1 - Address = CLng(ParameterObj.Parameter(ParamIndex)) - Length = CLng(ParameterObj.Parameter(ParamIndex +1)/2) - Pattern = CLng(ParameterObj.Parameter(ParamIndex +2)) - ParamIndex = ParamIndex +3 - udearrayobj.Resize(Length) - udearrayobj.Fill(Pattern) - debugger.Write Address,udearrayobj - Next - -End Sub - -'_______________________________________________________ -' -' FillDWord command line function -' -' fills memory range with dword pattern -' -' command line FillDWord range1,pattern1 [range2,pattern2] [range3,pattern3] ..... -' range description: -' <startaddress>,<length> -'_______________________________________________________ - -Sub FillDWord(ParameterObj) - - set debugger = workspace.Coredebugger(0) - set DisASMObj = debugger.DisASMObj - If Not IsObject(ParameterObj) Then - MsgBox "Number of parameters wrong" - Exit Sub - End If - ParmeterCnt = ParameterObj.ParameterCount - If ParmeterCnt = 0 Then - MsgBox "Number of parameters wrong " & ParmeterCnt - Exit Sub - End If - If ( ParmeterCnt Mod 3 ) <> 0 Then - MsgBox "Number of parameters wrong " & ParmeterCnt - Exit Sub - End If - RangeCnt = ParmeterCnt/3 - ParamIndex = 0 - set udearrayobj = debugger.DWordArrayObj(1) - For Range = 0 To RangeCnt -1 - Address = CLng(ParameterObj.Parameter(ParamIndex)) - Length = CLng(ParameterObj.Parameter(ParamIndex +1)/4) - Pattern = CLng(ParameterObj.Parameter(ParamIndex +2)) - ParamIndex = ParamIndex +3 - udearrayobj.Resize(Length) - udearrayobj.Fill(Pattern) - debugger.Write Address,udearrayobj - Next - -End Sub63VBScript24.11.2006 14:43:20:0001WS_CORE_DUOMacro_14_03_13_16_19_32_010Execute UnAss ..Macro UnAssExecute macro UnAss0210Execute SaveHEX ..Macro SaveHEXExecute macro SaveHEX0210Execute FillByte ..Macro FillByteExecute macro FillByte0110Execute FillWord ..Macro FillWordExecute macro FillWord0110Execute FillDWord ..Macro FillDWordExecute macro FillDWord0150014.03.2013 16:17:57:3137782520Target0.Controller0.Core11000000000000000000111000verify.txt0000000000stm_xpc564a_minimodule_debug_jtag.cfg14.03.2013 16:19:32:000