c:\ti\processor_sdk_rtos_c665x_5_01_00_11\bin>%DSS_SCRIPT_DIR%\dss.bat SendGatewayMessage.js traceSetFileLevel: ENTRY sLevel: ALL traceSetFileLevel: RETURN ccxml_file=E:\Rfind\hardware\RFindTag\trunk\Project\targetConfigs\MSP430G2553.ccxml file_to_flash=E:\Rfind\hardware\RFindTagRailLocator\trunk\Project\Debug\RFindTagRailLocator.out getServer: ENTRY sServerName: DebugServer.1 getServer: Getting definition for: DebugServer.1 getServer: Constructing server getServer: RETURN com.ti.debug.engine.scripting.DebugServer@10444d3 setConfig: ENTRY sConfigurationFile: E:\Rfind\hardware\RFindTag\trunk\Project\targetConfigs\MSP430G2553.ccxml setConfig: RETURN openSession: ENTRY sPattern: .* start: ENTRY start: Firing: onServerStarting() start: Connecting to XPCOM DebugServer start: Initializing DebugServer using specified configuration: "E:\Rfind\hardware\RFindTag\trunk\Project\targetConfigs\MSP430G2553.ccxml" waitUntil: ENTRY com.ti.ccstudio.scripting.environment.ScriptingEnvironment@1d81730 timeout: infinite : CPU Name: MSP430 : PartNum: MSP430G2xx3 : Family: 430 : SubFamily/MajorISA: 0 : Revision/MinorISA: 0 : Platform: EMULATOR : Processor ID: 1803550720 waitUntil: RETURN com.ti.ccstudio.scripting.environment.ScriptingEnvironment@1d81730 start: Firing: onServerStarted() start: Searching for devices listDevices: ENTRY listDevices: Found debuggable device: TI MSP430 USB1/MSP430 listDevices: RETURN start: RETURN openSession: Searching for device exactly matching name: .* openSession: No exact name matches found. Searching for device matching regular expression: .* openSession: RETURN TI MSP430 USB1/MSP430 ********************************************************** Script File: SendGatewayMessage.js connect: ENTRY isConnected: ENTRY isConnected: Target is not connected isConnected: RETURN false connect: Requesting target connect waitUntil: ENTRY timeout: infinite log: Target is now connected waitUntil: RETURN isConnected: ENTRY isConnected: Target is connected isConnected: RETURN true connect: RETURN setScriptTimeout: ENTRY nTimeout: 150000 setScriptTimeout: Timeout is 150000ms setScriptTimeout: RETURN This test verifies the SendGatewayMessage function loadProgram: ENTRY sFileName: E:\Rfind\hardware\RFindTagRailLocator\trunk\Project\Debug\RFindTagRailLocator.out load: Requesting program load waitUntil: ENTRY timeout: 150000 (ms) MSP430: Flash/FRAM usage is 10249 bytes. RAM usage is 277 bytes. waitUntil: RETURN load: Program load successful getBoolean: ENTRY ID: AutoRunToLabelOnRestart getBoolean: RETURN true waitForHaltIfPropertySet: Waiting for halt waitUntil: ENTRY timeout: 150000 (ms) log: Target has halted at 0xD43A waitUntil: RETURN loadProgram: RETURN removeAll: ENTRY removeAll: Getting breakpoint manager removeAll: Removing 0 breakpoint(s) removeAll: RETURN If RFSendGatewayPacket function returns ERR_FAIL, TAGUpdateBatteryCounters function executes, which updates the TXLONG counter. restart: ENTRY restart: Requesting target restart waitUntil: ENTRY timeout: 150000 (ms) waitUntil: RETURN restart: Target restarted getBoolean: ENTRY ID: AutoRunToLabelOnRestart getBoolean: RETURN true waitForHaltIfPropertySet: Waiting for halt waitUntil: ENTRY timeout: 150000 (ms) log: Target has halted at 0xD43A waitUntil: RETURN restart: RETURN getAddress: ENTRY sSymbol: main getAddress: Getting symbol package getAddress: Looking-up symbol getAddress: Getting address getAddress: RETURN 0xd43a readRegister: ENTRY sRegister: PC readRegister: Getting register information getPageCount: ENTRY getPageCount: RETURN 1 readRegister: PC is a 16 bit core register eval: Requesting evaluation of expression: "PC" waitUntil: ENTRY com.ti.ccstudio.scripting.environment.ScriptingEnvironment@1d81730 timeout: 150000 (ms) waitUntil: RETURN com.ti.ccstudio.scripting.environment.ScriptingEnvironment@1d81730 waitUntil: ENTRY timeout: 150000 (ms) onEvent: Evaluated expression: PC waitUntil: RETURN readRegister: RETURN 0xd43a readData: ENTRY nPage: 0 nAddress: 0x100a nTypeSize: 16 nNumValues: 16 bSigned: false readData: Validating page getPageCount: ENTRY getPageCount: RETURN 1 readData: Validating start address readData: Getting memory object from debug session readData: Setting start address: 0x100a readData: Setting buffer length: 32 readData: Requeting memory read of 16 value(s) from target waitUntil: ENTRY timeout: 150000 (ms) onEvent: Memory request complete waitUntil: RETURN readData: Generating 16 element Java array from raw memory buffer readData: RETURN [0]=0x0, [1]=0x460a, ...(12 hidden values)..., [14]=0xffff, [15]=0xffff getAddress: ENTRY sSymbol: SendGatewayMessage getAddress: Getting symbol package getAddress: Looking-up symbol getAddress: Getting address getAddress: RETURN 0xd6d0 add: ENTRY nAddress: 54992 add: Getting breakpoint manager add: Assigning address location createAtLocation: Creating new breakpoint addAndEnable: Adding breakpoint addAndEnable: Enabling breakpoint add: RETURN 13 run: ENTRY go: Requesting target execution waitUntil: ENTRY timeout: 150000 (ms) log: Target has halted at 0xD6D0 waitUntil: RETURN run: RETURN readRegister: ENTRY sRegister: PC readRegister: Getting register information getPageCount: ENTRY getPageCount: RETURN 1 readRegister: PC is a 16 bit core register eval: Requesting evaluation of expression: "PC" waitUntil: ENTRY com.ti.ccstudio.scripting.environment.ScriptingEnvironment@1d81730 timeout: 150000 (ms) waitUntil: RETURN com.ti.ccstudio.scripting.environment.ScriptingEnvironment@1d81730 waitUntil: ENTRY timeout: 150000 (ms) onEvent: Evaluated expression: PC waitUntil: RETURN readRegister: RETURN 0xd6d0 getAddress: ENTRY sSymbol: RFSendGatewayPacket getAddress: Getting symbol package getAddress: Looking-up symbol getAddress: Getting address getAddress: RETURN 0xd05e add: ENTRY nAddress: 53342 add: Getting breakpoint manager add: Assigning address location createAtLocation: Creating new breakpoint addAndEnable: Adding breakpoint addAndEnable: Enabling breakpoint add: RETURN 15 run: ENTRY go: Requesting target execution waitUntil: ENTRY timeout: 150000 (ms) log: Target has halted at 0xD05E waitUntil: RETURN run: RETURN readRegister: ENTRY sRegister: PC readRegister: Getting register information getPageCount: ENTRY getPageCount: RETURN 1 readRegister: PC is a 16 bit core register eval: Requesting evaluation of expression: "PC" waitUntil: ENTRY com.ti.ccstudio.scripting.environment.ScriptingEnvironment@1d81730 timeout: 150000 (ms) waitUntil: RETURN com.ti.ccstudio.scripting.environment.ScriptingEnvironment@1d81730 waitUntil: ENTRY timeout: 150000 (ms) onEvent: Evaluated expression: PC waitUntil: RETURN readRegister: RETURN 0xd05e getAddress: ENTRY sSymbol: lable_retRFSendGatewayPacket getAddress: Getting symbol package getAddress: Looking-up symbol getAddress: Getting address getAddress: RETURN 0xd0f8 add: ENTRY nAddress: 53496 add: Getting breakpoint manager add: Assigning address location createAtLocation: Creating new breakpoint addAndEnable: Adding breakpoint addAndEnable: Enabling breakpoint add: RETURN 18 run: ENTRY go: Requesting target execution waitUntil: ENTRY timeout: 150000 (ms) log: Target has halted at 0xD0F8 waitUntil: RETURN run: RETURN readRegister: ENTRY sRegister: PC readRegister: Getting register information getPageCount: ENTRY getPageCount: RETURN 1 readRegister: PC is a 16 bit core register eval: Requesting evaluation of expression: "PC" waitUntil: ENTRY com.ti.ccstudio.scripting.environment.ScriptingEnvironment@1d81730 timeout: 150000 (ms) waitUntil: RETURN com.ti.ccstudio.scripting.environment.ScriptingEnvironment@1d81730 waitUntil: ENTRY timeout: 150000 (ms) onEvent: Evaluated expression: PC waitUntil: RETURN readRegister: RETURN 0xd0f8 evaluate: ENTRY sExpression: ret=1 eval: Requesting evaluation of expression: "ret=1" waitUntil: ENTRY com.ti.ccstudio.scripting.environment.ScriptingEnvironment@1d81730 timeout: 150000 (ms) waitUntil: RETURN com.ti.ccstudio.scripting.environment.ScriptingEnvironment@1d81730 waitUntil: ENTRY timeout: 150000 (ms) onEvent: Evaluated expression: ret=1 waitUntil: RETURN evaluate: RETURN 0x1 getAddress: ENTRY sSymbol: lable_incTXLong getAddress: Getting symbol package getAddress: Looking-up symbol getAddress: Getting address getAddress: RETURN 0xd720 add: ENTRY nAddress: 55072 add: Getting breakpoint manager add: Assigning address location createAtLocation: Creating new breakpoint addAndEnable: Adding breakpoint addAndEnable: Enabling breakpoint add: RETURN 21 run: ENTRY go: Requesting target execution waitUntil: ENTRY timeout: 150000 (ms) log: Target has halted at 0xD6D0 waitUntil: RETURN run: RETURN readRegister: ENTRY sRegister: PC readRegister: Getting register information getPageCount: ENTRY getPageCount: RETURN 1 readRegister: PC is a 16 bit core register eval: Requesting evaluation of expression: "PC" waitUntil: ENTRY com.ti.ccstudio.scripting.environment.ScriptingEnvironment@1d81730 timeout: 150000 (ms) waitUntil: RETURN com.ti.ccstudio.scripting.environment.ScriptingEnvironment@1d81730 waitUntil: ENTRY timeout: 150000 (ms) onEvent: Evaluated expression: PC waitUntil: RETURN readRegister: RETURN 0xd6d0 Test1 Failed!!54992 55072 writeData: ENTRY nPage: 0 nAddress: 0x100a nValues: 0x0 nTypeSize: 16 writeData: Validating page writeData: Validating start address writeData: Getting memory object from debug session writeData: Setting start address: 0x100a writeData: Setting buffer length: 2 writeData: Filling buffer writeData: Writing 1 value(s) to target writeData: Requesting memory write of 1 value(s) to target waitUntil: ENTRY timeout: 150000 (ms) onEvent: Memory request complete waitUntil: RETURN writeData: RETURN writeData: ENTRY nPage: 0 nAddress: 0x100c nValues: 0x460a nTypeSize: 16 writeData: Validating page writeData: Validating start address writeData: Getting memory object from debug session writeData: Setting start address: 0x100c writeData: Setting buffer length: 2 writeData: Filling buffer writeData: Writing 1 value(s) to target writeData: Requesting memory write of 1 value(s) to target waitUntil: ENTRY timeout: 150000 (ms) onEvent: Memory request complete waitUntil: RETURN writeData: RETURN writeData: ENTRY nPage: 0 nAddress: 0x100e nValues: 0x250 nTypeSize: 16 writeData: Validating page writeData: Validating start address writeData: Getting memory object from debug session writeData: Setting start address: 0x100e writeData: Setting buffer length: 2 writeData: Filling buffer writeData: Writing 1 value(s) to target writeData: Requesting memory write of 1 value(s) to target waitUntil: ENTRY timeout: 150000 (ms) onEvent: Memory request complete waitUntil: RETURN writeData: RETURN writeData: ENTRY nPage: 0 nAddress: 0x1010 nValues: 0x502 nTypeSize: 16 writeData: Validating page writeData: Validating start address writeData: Getting memory object from debug session writeData: Setting start address: 0x1010 writeData: Setting buffer length: 2 writeData: Filling buffer writeData: Writing 1 value(s) to target writeData: Requesting memory write of 1 value(s) to target waitUntil: ENTRY timeout: 150000 (ms) onEvent: Memory request complete waitUntil: RETURN writeData: RETURN writeData: ENTRY nPage: 0 nAddress: 0x1012 nValues: 0x258 nTypeSize: 16 writeData: Validating page writeData: Validating start address writeData: Getting memory object from debug session writeData: Setting start address: 0x1012 writeData: Setting buffer length: 2 writeData: Filling buffer writeData: Writing 1 value(s) to target writeData: Requesting memory write of 1 value(s) to target waitUntil: ENTRY timeout: 150000 (ms) onEvent: Memory request complete waitUntil: RETURN writeData: RETURN writeData: ENTRY nPage: 0 nAddress: 0x1014 nValues: 0x514 nTypeSize: 16 writeData: Validating page writeData: Validating start address writeData: Getting memory object from debug session writeData: Setting start address: 0x1014 writeData: Setting buffer length: 2 writeData: Filling buffer writeData: Writing 1 value(s) to target writeData: Requesting memory write of 1 value(s) to target waitUntil: ENTRY timeout: 150000 (ms) onEvent: Memory request complete waitUntil: RETURN writeData: RETURN writeData: ENTRY nPage: 0 nAddress: 0x1016 nValues: 0x43c nTypeSize: 16 writeData: Validating page writeData: Validating start address writeData: Getting memory object from debug session writeData: Setting start address: 0x1016 writeData: Setting buffer length: 2 writeData: Filling buffer writeData: Writing 1 value(s) to target writeData: Requesting memory write of 1 value(s) to target waitUntil: ENTRY timeout: 150000 (ms) onEvent: Memory request complete waitUntil: RETURN writeData: RETURN writeData: ENTRY nPage: 0 nAddress: 0x1018 nValues: 0xff08 nTypeSize: 16 writeData: Validating page writeData: Validating start address writeData: Getting memory object from debug session writeData: Setting start address: 0x1018 writeData: Setting buffer length: 2 writeData: Filling buffer writeData: Writing 1 value(s) to target writeData: Requesting memory write of 1 value(s) to target waitUntil: ENTRY timeout: 150000 (ms) onEvent: Memory request complete waitUntil: RETURN writeData: RETURN writeData: ENTRY nPage: 0 nAddress: 0x101a nValues: 0xffff nTypeSize: 16 writeData: Validating page writeData: Validating start address writeData: Getting memory object from debug session writeData: Setting start address: 0x101a writeData: Setting buffer length: 2 writeData: Filling buffer writeData: Writing 1 value(s) to target writeData: Requesting memory write of 1 value(s) to target waitUntil: ENTRY timeout: 150000 (ms) onEvent: Memory request complete waitUntil: RETURN writeData: RETURN writeData: ENTRY nPage: 0 nAddress: 0x101c nValues: 0x22ef nTypeSize: 16 writeData: Validating page writeData: Validating start address writeData: Getting memory object from debug session writeData: Setting start address: 0x101c writeData: Setting buffer length: 2 writeData: Filling buffer writeData: Writing 1 value(s) to target writeData: Requesting memory write of 1 value(s) to target waitUntil: ENTRY timeout: 150000 (ms) onEvent: Memory request complete waitUntil: RETURN writeData: RETURN writeData: ENTRY nPage: 0 nAddress: 0x101e nValues: 0x505 nTypeSize: 16 writeData: Validating page writeData: Validating start address writeData: Getting memory object from debug session writeData: Setting start address: 0x101e writeData: Setting buffer length: 2 writeData: Filling buffer writeData: Writing 1 value(s) to target writeData: Requesting memory write of 1 value(s) to target waitUntil: ENTRY timeout: 150000 (ms) onEvent: Memory request complete waitUntil: RETURN writeData: RETURN writeData: ENTRY nPage: 0 nAddress: 0x1020 nValues: 0x1404 nTypeSize: 16 writeData: Validating page writeData: Validating start address writeData: Getting memory object from debug session writeData: Setting start address: 0x1020 writeData: Setting buffer length: 2 writeData: Filling buffer writeData: Writing 1 value(s) to target writeData: Requesting memory write of 1 value(s) to target waitUntil: ENTRY timeout: 150000 (ms) onEvent: Memory request complete waitUntil: RETURN writeData: RETURN writeData: ENTRY nPage: 0 nAddress: 0x1022 nValues: 0xffff nTypeSize: 16 writeData: Validating page writeData: Validating start address writeData: Getting memory object from debug session writeData: Setting start address: 0x1022 writeData: Setting buffer length: 2 writeData: Filling buffer writeData: Writing 1 value(s) to target writeData: Requesting memory write of 1 value(s) to target waitUntil: ENTRY timeout: 150000 (ms) onEvent: Memory request complete waitUntil: RETURN writeData: RETURN writeData: ENTRY nPage: 0 nAddress: 0x1024 nValues: 0xffff nTypeSize: 16 writeData: Validating page writeData: Validating start address writeData: Getting memory object from debug session writeData: Setting start address: 0x1024 writeData: Setting buffer length: 2 writeData: Filling buffer writeData: Writing 1 value(s) to target writeData: Requesting memory write of 1 value(s) to target waitUntil: ENTRY timeout: 150000 (ms) onEvent: Memory request complete waitUntil: RETURN writeData: RETURN writeData: ENTRY nPage: 0 nAddress: 0x1026 nValues: 0xffff nTypeSize: 16 writeData: Validating page writeData: Validating start address writeData: Getting memory object from debug session writeData: Setting start address: 0x1026 writeData: Setting buffer length: 2 writeData: Filling buffer writeData: Writing 1 value(s) to target writeData: Requesting memory write of 1 value(s) to target waitUntil: ENTRY timeout: 150000 (ms) onEvent: Memory request complete waitUntil: RETURN writeData: RETURN writeData: ENTRY nPage: 0 nAddress: 0x1028 nValues: 0xffff nTypeSize: 16 writeData: Validating page writeData: Validating start address writeData: Getting memory object from debug session writeData: Setting start address: 0x1028 writeData: Setting buffer length: 2 writeData: Filling buffer writeData: Writing 1 value(s) to target writeData: Requesting memory write of 1 value(s) to target waitUntil: ENTRY timeout: 150000 (ms) onEvent: Memory request complete waitUntil: RETURN writeData: RETURN disconnect: ENTRY disconnect: Requesting target disconnect waitUntil: ENTRY timeout: 150000 (ms) onEvent: Target is now disconnected waitUntil: RETURN disconnect: RETURN stop: ENTRY stop: 1 Debug Session(s) still active. stop: Terminating DebugSession: TI MSP430 USB1/MSP430 terminate: ENTRY terminate: Firing: onSessionTerminating() terminate: Unregistering this session from the DebugServer terminate: Firing: onSessionTerminated() disposeAndUnload: Firing: onServerStopping() disposeAndUnload: Stopping DebugServer waitUntil: ENTRY com.ti.ccstudio.scripting.environment.ScriptingEnvironment@1d81730 timeout: 150000 (ms) terminate: ENTRY terminate: RETURN waitUntil: RETURN com.ti.ccstudio.scripting.environment.ScriptingEnvironment@1d81730 disposeAndUnload: Firing: onServerStopped() terminate: RETURN stop: RETURN traceEnd: ENTRY traceEnd: Flushing and closing file stream traceEnd: Removing handler java.util.logging.FileHandler@fe1a55 traceEnd: RETURN c:\ti\processor_sdk_rtos_c665x_5_01_00_11\bin>