{"action":"created","issue":{"url":"https://api.github.com/repos/dlbeer/mspdebug/issues/10","repository_url":"https://api.github.com/repos/dlbeer/mspdebug","labels_url":"https://api.github.com/repos/dlbeer/mspdebug/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/dlbeer/mspdebug/issues/10/comments","events_url":"https://api.github.com/repos/dlbeer/mspdebug/issues/10/events","html_url":"https://github.com/dlbeer/mspdebug/issues/10","id":134546900,"number":10,"title":"strange register values","user":{"login":"voxspox","id":1503565,"avatar_url":"https://avatars.githubusercontent.com/u/1503565?v=3","gravatar_id":"","url":"https://api.github.com/users/voxspox","html_url":"https://github.com/voxspox","followers_url":"https://api.github.com/users/voxspox/followers","following_url":"https://api.github.com/users/voxspox/following{/other_user}","gists_url":"https://api.github.com/users/voxspox/gists{/gist_id}","starred_url":"https://api.github.com/users/voxspox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voxspox/subscriptions","organizations_url":"https://api.github.com/users/voxspox/orgs","repos_url":"https://api.github.com/users/voxspox/repos","events_url":"https://api.github.com/users/voxspox/events{/privacy}","received_events_url":"https://api.github.com/users/voxspox/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-18T11:00:58Z","updated_at":"2016-02-19T12:08:42Z","closed_at":null,"body":"We experience strange register values (>16bit) using mspdebug with a TI Programmer and  tilib on a MSP430F1611 device. The libmsp430.so was compiled from MSPDebugStack_OS_Package (revisions.txt: Rev 3.5.1.001) and mspdebug is from the Ubuntu repository.\r\n\r\nFor testing we used a simple led blink application. After programming the LED blinks :) `run` and `step` is ok, but the register dump shows strange values. Additionally, setting a break point is not effective.\r\n\r\n\r\n```\r\n$ mspdebug tilib\r\nMSPDebug version 0.23 - debugging tool for MSP430 MCUs\r\nCopyright (C) 2009-2015 Daniel Beer <dlbeer@gmail.com>\r\nThis is free software; see the source for copying conditions.  There is NO\r\nwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\r\nChip info database from MSP430.dll v3.3.1.4 Copyright (C) 2013 TI, Inc.\r\n\r\nMSP430_GetNumberOfUsbIfs\r\nMSP430_GetNameOfUsbIf\r\nFound FET: ttyACM0\r\nMSP430_Initialize: ttyACM0\r\nFirmware version is 30501001\r\nMSP430_VCC: 3000 mV\r\nMSP430_OpenDevice\r\nMSP430_GetFoundDevice\r\nDevice: MSP430F1611 (id = 0x0071)\r\n8 breakpoints available\r\nMSP430_EEM_Init\r\nChip ID data: f1 6c\r\n\r\nAvailable commands:\r\n*snip*\r\n\r\nType \"help <topic>\" for more information.\r\nUse the \"opt\" command (\"help opt\") to set options.\r\nPress Ctrl+D to quit.\r\n\r\n(mspdebug) prog bl.txt\r\nErasing...\r\nProgramming...\r\nWriting  204 bytes at 4000...\r\nWriting   32 bytes at ffe0...\r\nDone, 236 bytes total\r\n(mspdebug) run\r\nRunning. Press Ctrl+C to interrupt...\r\n^C\r\n    ( PC: 0408c)  ( R4: 0386a)  ( R8: 89f390)  (R12: 00002)\r\n    ( SP: 00001)  ( R5: 00000)  ( R9: 00001)  (R13: 00000)\r\n    ( SR: 038aa)  ( R6: 00000)  (R10: ebe1cea0)  (R14: 00000)\r\n    ( R3: 00086)  ( R7: 01118)  (R11: 41330f)  (R15: 6b3b9740)\r\n0x408c:\r\n    0408c: 81 93 00 00               TST     0x0000(SP)\r\n    04090: f5 27                     JZ      0x407c\r\n    04092: fa 3f                     JMP     0x4088\r\n    04094: 31 40 00 39               MOV     #0x3900, SP\r\n    04098: b0 12 c4 40               CALL    #0x40c4\r\n(mspdebug)\r\nMSP430_Run\r\nMSP430_Close\r\n```"},"comment":{"url":"https://api.github.com/repos/dlbeer/mspdebug/issues/comments/186190093","html_url":"https://github.com/dlbeer/mspdebug/issues/10#issuecomment-186190093","issue_url":"https://api.github.com/repos/dlbeer/mspdebug/issues/10","id":186190093,"user":{"login":"voxspox","id":1503565,"avatar_url":"https://avatars.githubusercontent.com/u/1503565?v=3","gravatar_id":"","url":"https://api.github.com/users/voxspox","html_url":"https://github.com/voxspox","followers_url":"https://api.github.com/users/voxspox/followers","following_url":"https://api.github.com/users/voxspox/following{/other_user}","gists_url":"https://api.github.com/users/voxspox/gists{/gist_id}","starred_url":"https://api.github.com/users/voxspox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voxspox/subscriptions","organizations_url":"https://api.github.com/users/voxspox/orgs","repos_url":"https://api.github.com/users/voxspox/repos","events_url":"https://api.github.com/users/voxspox/events{/privacy}","received_events_url":"https://api.github.com/users/voxspox/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T12:08:42Z","updated_at":"2016-02-19T12:08:42Z","body":"Yes, and yes this worked :)\r\nthx!"}}