Closed drobinson55 closed 1 year ago
It appears you have multiple SVD (Peripheral) views, coming from various other extensions. The one "CORTEX REGISTERS" was from this extension. Others belong to other extensions and are potentially obsolete. The one where you are seeing all F's is from another developer and is probably now obsolete.
Please make your extensions current and remove obsolete ones. Not a good idea to have multiple views either as it affects debug performance.
Even our own is now obsolete has moved to another repo.
When you install the pre-release of this extension, we now rely on 'XPERIPERALS' for SVD from the above repo and don't have owr own anymore.
If the issue still persists, then please update this extension to the latest pre-release in VSCode manager and try again.
Hi Haneef,
Thanks for the quick response. I switched to the Preview and it is not listed as Venus's Cortex-Debug. Is this correct?
I was wondering about a conflict between different extensions. I couldn't find the canonical list of extensions required. I don't know how to get rid of the CORTEX PERIPERALS window. I disabled an extension that dropped the XPERIPHERALS window.
[cid:d2732120-e3d9-4242-a0f0-6913886a78c0]
Do you have a canonical list of the required extensions?
I think this is a great tool, thanks for your efforts!
--Daniel
Daniel G. Robinson
Senior Firmware Engineer
@.***
Voice: 425-251-8777
Fax: 425-251-0536
[cid:27b37ebe-447f-4120-9891-30d8d14d925e]
Tri-Tec Manufacturing, LLC
6915 S 234th St
Kent, WA 98032
[cid:109d0b92-e885-48a7-9dbe-150ca98a9a1b]
CUI
CONFIDENTIALITY NOTICE: This electronic message and its attachments may contain confidential information of Tri-Tec Manufacturing LLC and/or its vendors and clients. If you are not the intended recipient, you may not read, disclose, print, copy, distribute or otherwise use in any way the information. If you have received this electronic transmission in error, please notify the sender immediately and delete the electronic transmission.
From: Haneef Mohammed @.> Sent: Monday, May 22, 2023 9:44 AM To: Marus/cortex-debug @.> Cc: Daniel Robinson @.>; Author @.> Subject: Re: [Marus/cortex-debug] Peripheral register access not working right (Issue #883)
It appears you have multiple SVD (Peripheral) views, coming from various other extensions. The one "CORTEX REGISTERS" was from this extension. Others belong to other extensions and are potentially obsolete. The one where you are seeing all F's is from another developer and is probably now obsolete.
Please make your extensions current and remove obsolete ones. Not a good idea to have multiple views either as it affects debug performance.
Even our own is now obsolete has moved to another repohttps://usg02.safelinks.protection.office365.us/?url=https%3A%2F%2Fgithub.com%2Fmcu-debug%2Fperipheral-viewer&data=05%7C01%7Cdrobinson%40tritecmfg.com%7Cf57a8b5ccaf84f24872908db5ae3c69f%7C7ccabc122e2a4a618b94097458df88e8%7C0%7C0%7C638203706569900478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=KfDn7R4NpczV4voucW5cbVATFwrAJ0pMOJo37qMbCWU%3D&reserved=0.
When you install the pre-release of this extension, we now rely on 'XPERIPERALS' for SVD from the above repo and don't have owr own anymore.
If the issue still persists, then please update this extension to the latest pre-release in VSCode manager and try again.
— Reply to this email directly, view it on GitHubhttps://usg02.safelinks.protection.office365.us/?url=https%3A%2F%2Fgithub.com%2FMarus%2Fcortex-debug%2Fissues%2F883%23issuecomment-1557556545&data=05%7C01%7Cdrobinson%40tritecmfg.com%7Cf57a8b5ccaf84f24872908db5ae3c69f%7C7ccabc122e2a4a618b94097458df88e8%7C0%7C0%7C638203706569900478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=8%2B%2Bn0ZX%2FRgZSW4qIBQo9Iul%2BfGC7JAoFzI7tlmTPbTI%3D&reserved=0, or unsubscribehttps://usg02.safelinks.protection.office365.us/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FBAAWQV2ITROHCEPKFXTS6ATXHOJV3ANCNFSM6AAAAAAYKV6E3Q&data=05%7C01%7Cdrobinson%40tritecmfg.com%7Cf57a8b5ccaf84f24872908db5ae3c69f%7C7ccabc122e2a4a618b94097458df88e8%7C0%7C0%7C638203706569900478%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=TPxiRfykR6evZyue1xT93N5ewe9hk34LCgQ9NGYenO4%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>
I have no clue who/what Venus's Cortex-Debug
is. Our extension id is marus25.cortex-debug
https://marketplace.visualstudio.com/items?itemName=marus25.cortex-debug
When you install this, it will install any related extension it needs. We are open source and we cannot prevent people from forking and making copies. Please be careful what you install. Always visit their repos to see who is owning these extensions.
Hi Haneef,
I have no clue who/what Venus's Cortex-Debug is. Our extension id is marus25.cortex-debug
LOL
I got that when I selected the preview version of Cortex-Debug. I uninstalled it, and re-installed from the link you provided.
I think there are some other problems. When I run arm-none-eabi-gdb from a command line, x/10xw 0x40054000, the address of the USART0 register block comes back with
(gdb) x/10xw 0x40064000 0x40064000: Cannot access memory at address 0x40064000 (gdb) p pBase $1 = (volatile USART_Type ) 0x40064000 (gdb) p pBase Cannot access memory at address 0x40064000
The tracing I have in place leads me to believe that the M0+ core can complete write and read cycles to those addresses, but GDB seems to not be able to.
I don't think that's your problem.
Thanks for your help,
Daniel
Daniel G. Robinson
Senior Firmware Engineer
@.***
Voice: 425-251-8777
Fax: 425-251-0536
[cid:ea28064e-495f-45e0-b9f9-ce6475d40e1a]
Tri-Tec Manufacturing, LLC
6915 S 234th St
Kent, WA 98032
[cid:adfefbbe-821e-4a2d-83f4-0ab0964baa0a]
CUI
CONFIDENTIALITY NOTICE: This electronic message and its attachments may contain confidential information of Tri-Tec Manufacturing LLC and/or its vendors and clients. If you are not the intended recipient, you may not read, disclose, print, copy, distribute or otherwise use in any way the information. If you have received this electronic transmission in error, please notify the sender immediately and delete the electronic transmission.
From: Haneef Mohammed @.> Sent: Monday, May 22, 2023 10:29 AM To: Marus/cortex-debug @.> Cc: Daniel Robinson @.>; Author @.> Subject: Re: [Marus/cortex-debug] Peripheral register access not working right (Issue #883)
I have no clue who/what Venus's Cortex-Debug is. Our extension id is marus25.cortex-debug
https://marketplace.visualstudio.com/items?itemName=marus25.cortex-debughttps://usg02.safelinks.protection.office365.us/?url=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmarus25.cortex-debug&data=05%7C01%7Cdrobinson%40tritecmfg.com%7Ccc79a75704c948e2ffe308db5aea0b8d%7C7ccabc122e2a4a618b94097458df88e8%7C0%7C0%7C638203733483062887%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=mNWdTNECzS9tt0ImGzXjoLkHcsqT0MsqEYI9UA4nrjg%3D&reserved=0
When you install this, it will install any related extension it needs. We are open source and we cannot prevent people from forking and making copies. Please be careful what you install. Always visit their repos to see who is owning these extensions.
— Reply to this email directly, view it on GitHubhttps://usg02.safelinks.protection.office365.us/?url=https%3A%2F%2Fgithub.com%2FMarus%2Fcortex-debug%2Fissues%2F883%23issuecomment-1557619901&data=05%7C01%7Cdrobinson%40tritecmfg.com%7Ccc79a75704c948e2ffe308db5aea0b8d%7C7ccabc122e2a4a618b94097458df88e8%7C0%7C0%7C638203733483062887%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=yX4eh2EaiKYjG0%2B2Bs86HM0k5anWGfeeazVcIuBKBGY%3D&reserved=0, or unsubscribehttps://usg02.safelinks.protection.office365.us/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FBAAWQVYQLFP5NSLT6Z7W4ULXHOO6DANCNFSM6AAAAAAYKV6E3Q&data=05%7C01%7Cdrobinson%40tritecmfg.com%7Ccc79a75704c948e2ffe308db5aea0b8d%7C7ccabc122e2a4a618b94097458df88e8%7C0%7C0%7C638203733483062887%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=kb5Vx8QmNxltYFURxan%2FS7e7xQtawBL42%2Bos4KhcCGU%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>
Please make you search through our existing issues (both open and closed)
Describe the bug I have the SVD file set up, and two windows with which to view the registers of an LPC845 (Cortex m0+). One window shows 0xffffffff for every register, one window shows 0x0. If I go to the command line and type x/10xw 0x40064000, the address of USART0 for that chip, I see Cannot Access memory at address 0x40064000. I have some logging in the code where I go out and read the register from the peripheral and the correct value seems to be there.
When I look at the registers, the value 245 is in r0, having been read from the peripheral CFG register at 0x40064000.
To Reproduce Steps to reproduce the behavior:
Expected behavior
I can seem to read and write the register at 0x40064000, which is the CFG register of USART0 on an LPC845. I expect to be able to read those registers back via the debugger.
Screenshots
[comment]: <> If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
[comment]: <> Whenever possible, please make sure you are using the latest versions of VSCode and our extension
Please include
launch.json
Note: We are unlikely to look at the issue if you do not supply this
{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "cwd": "${workspaceRoot}", "executable": "./build/lpc845.elf", "name": "Debug with OpenOCD", "request": "launch", "type": "cortex-debug", "servertype": "external", "gdbTarget": "localhost:3333", "serverpath": "${env:BUILD_TOOLS_ROOT}/openocd/bin/openocd.exe",
"configFiles": [ "${env:BUILD_TOOLS_ROOT}/openocd/share/openocd/scripts/board/nxp_lpcxpresso845max.cfg"],
}
Attach text from
Debug Console
Please enable debug output in your launch.json (
"showDevDebugOutput": "raw"
). It this is too large, please attach it as a fileReading symbols from C:/Users/Daniel/tools/gcc/bin/arm-none-eabi-objdump.exe --syms -C -h -w C:/Users/Daniel/work/blinky_lpc845/build/lpc845.elf Reading symbols from c:/users/daniel/tools/gcc/bin/arm-none-eabi-nm.exe --defined-only -S -l -C -p C:/Users/Daniel/work/blinky_lpc845/build/lpc845.elf Launching GDB: "C:\Users\Daniel\tools\gcc\bin\arm-none-eabi-gdb.exe" -q --interpreter=mi2 1-gdb-version Finished reading symbols from objdump: Time: 32 ms Finished reading symbols from nm: Time: 33 ms -> =thread-group-added,id="i1" -> ~"GNU gdb (Arm GNU Toolchain 12.2.MPACBTI-Rel1 (Build arm-12-mpacbti.34)) 13.1.90.20230307-git\n" -> ~"Copyright (C) 2023 Free Software Foundation, Inc.\n" -> ~"License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law." -> ~"\nType \"show copying\" and \"show warranty\" for details.\n" -> ~"This GDB was configured as \"--host=i686-w64-mingw32 --target=arm-none-eabi\".\n" -> ~"Type \"show configuration\" for configuration details.\n" -> ~"For bug reporting instructions, please see:\n" -> ~"https://bugs.linaro.org/.\n" -> ~"Find the GDB manual and other documentation resources online at:\n <" -> ~"http://www.gnu.org/software/gdb/documentation/>.\n\n" -> ~"For help, type \"help\".\n" -> ~"Type \"apropos word\" to search for commands related to \"word\".\n" -> 1^done 2-gdb-set mi-async on -> 2^done 3-interpreter-exec console "set print demangle on" -> 3^done 4-interpreter-exec console "set print asm-demangle on" -> =cmd-param-changed,param="print asm-demangle",value="on" -> 4^done 5-enable-pretty-printing -> 5^done 6-interpreter-exec console "source c:/Users/Daniel/.vscode/extensions/marus25.cortex-debug-1.10.0/support/gdbsupport.init" -> 6^done 7-interpreter-exec console "source c:/Users/Daniel/.vscode/extensions/marus25.cortex-debug-1.10.0/support/gdb-swo.init" -> =cmd-param-changed,param="language",value="c" -> =cmd-param-changed,param="language",value="auto" -> 7^done 8-file-exec-and-symbols "C:/Users/Daniel/work/blinky_lpc845/build/lpc845.elf" -> 8^done 9-target-select extended-remote localhost:3333 -> =thread-group-started,id="i1",pid="42000" -> =thread-created,id="1",group-id="i1" -> ~"0x0f0000a4 in ?? ()\n" 0x0f0000a4 in ?? () -> *stopped,frame={addr="0x0f0000a4",func="??",args=[],arch="armv6s-m"},thread-id="1",stopped-threads="all" mi2.status = stopped Program stopped, probably due to a reset and/or halt issued by debugger -> 9^connected 10-interpreter-exec console "monitor reset halt" -> @"Failed to reset to initial execution state - Ec(06). No image address available for soft reset.\n" Failed to reset to initial execution state - Ec(06). No image address available for soft reset. -> 10^done 11-target-download -> 11+download,{section=".text",section-size="7132",total-size="98285"} -> 11+download,{section=".text",section-sent="7132",section-size="7132",total-sent="7132",total-size="98285"} -> 11+download,{section=".init",section-size="4",total-size="98285"} -> 11+download,{section=".fini",section-size="4",total-size="98285"} -> 11+download,{section=".after_vectors.init_data",section-size="66",total-size="98285"} -> 11+download,{section=".after_vectors.init_bss",section-size="54",total-size="98285"} -> 11+download,{section=".after_vectors.reset",section-size="108",total-size="98285"} -> 11+download,{section=".after_vectors",section-size="496",total-size="98285"} -> 11+download,{section=".data",section-size="268",total-size="98285"} -> 11^done,address="0x00001c5c",load-size="8132",transfer-rate="138712",write-rate="1016" 12-interpreter-exec console "monitor reset halt" -> @"Processor connection reset\n" Processor connection reset -> 12^done 13-break-insert "c:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c:38" -> ~"Note: automatically using hardware breakpoints for read-only addresses.\n" Note: automatically using hardware breakpoints for read-only addresses. -> 13^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00000e80",func="_HalUsartEnableUsartClock",file="C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c",line="38",thread-groups=["i1"],times="0",original-location="c:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c:38"} 14-break-insert "c:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c:136" -> 14^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x0000104c",func="HalUsartInitUsart",file="C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c",line="136",thread-groups=["i1"],times="0",original-location="c:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c:136"}
Returning dummy thread-id to workaround VSCode issue with pause button not working 15-data-read-memory-bytes "0x40064000" 48 Returning dummy stack frame to workaround VSCode issue with pause button not working: {"threadId":1,"levels":1,"startFrame":0} -> 15^error,msg="Unable to read memory." 16-data-list-register-names Failed to update peripheral USART0: Read memory error: Unable to read memory. (from data-read-memory-bytes "0x40064000" 48) -> 16^done,register-names=["r0","r1","r2","r3","r4","r5","r6","r7","r8","r9","r10","r11","r12","sp","lr","pc","","","","","","","","","","xpsr","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","msp","psp","control","primask","cycles"] 17-break-insert -t --function main -> &"warning: could not convert 'main' from the host encoding (CP1252) to UTF-32.\nThis normally should not happen, please file a bug report." warning: could not convert 'main' from the host encoding (CP1252) to UTF-32. This normally should not happen, please file a bug report. -> &"\n"
-> 17^done,bkpt={number="3",type="breakpoint",disp="del",enabled="y",addr="0x00000346",func="main",file="C:/Users/Daniel/work/blinky_lpc845/L1-Ccl/CclMain.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L1-Ccl\CclMain.c",line="49",thread-groups=["i1"],times="0",original-location="-function main"} 18-stack-info-depth --thread 1 1000 -> 18^done,depth="1" 19-var-update --thread 1 --frame 0 --all-values undefined_57671eae1c04a1651b3c8069e9e72d2475467713ecb6d22efc0b44ea6aa0b4d2 -> 19^error,msg="Variable object not found" 20-data-list-register-values N Info: Received evaluate request while busy. {"expression":"_tx_thread_created_ptr","frameId":256} Info: Received readMemory request while busy. {"memoryReference":"0x40064000","count":48} Failed to update peripheral USART0: Error: peripheral-viewer: readMemory failed @ 0x40064000 for 48 bytes: CodeExpectedError: Busy, session=0f5fa2bf-d7d2-42d5-8309-8309db1ce664 Internal error: Failed to update peripheral USART0 after memory reads Info: Received evaluate request while busy. {"expression":"pxReadyTasksLists","frameId":256} Info: Received evaluate request while busy. {"expression":"_kernel_thread_info_offsets","frameId":256} Info: Received evaluate request while busy. {"expression":"_track_list_k_mutex","frameId":256} -> 20^done,register-values=[{number="0",value="4294967295"},{number="1",value="4294967295"},{number="2",value="4294967295"},{number="3",value="4294967295"},{number="4",value="4294967295"},{number="5",value="4294967295"},{number="6",value="4294967295"},{number="7",value="4294967295"},{number="8",value="4294967295"},{number="9",value="4294967295"},{number="10",value="4294967295"},{number="11",value="4294967295"},{number="12",value="4294967295"},{number="13",value="0x10000ffc"},{number="14",value="0xffffffff"},{number="15",value="0x1c5c"},{number="25",value="4043309056"},{number="91",value="268439548"},{number="92",value="4294967292"},{number="93",value="0"},{number="94",value="0"},{number="95",value="0"}]
21-stack-info-depth --thread 1 1000
-> 21^done,depth="1"
22-exec-continue --all
-> 22^running
-> *running,thread-id="all"
mi2.status = running
23-stack-list-frames --thread 1 0 0
-> 23^error,msg="Selected thread is running."
24-stack-list-frames --thread 1 0 0
-> 24^error,msg="Selected thread is running."
-> =breakpoint-modified,bkpt={number="3",type="breakpoint",disp="del",enabled="y",addr="0x00000346",func="main",file="C:/Users/Daniel/work/blinky_lpc845/L1-Ccl/CclMain.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L1-Ccl\CclMain.c",line="49",thread-groups=["i1"],times="1",original-location="-function main"}
-> ~"\n"
-> ~"Temporary breakpoint 3, main () at C:/Users/Daniel/work/blinky_lpc845/L1-Ccl/CclMain.c:49\n" Temporary breakpoint 3, main () at C:/Users/Daniel/work/blinky_lpc845/L1-Ccl/CclMain.c:49 -> ~"49\t PlatStatus_t platStatus = ePLAT_STATUS_INVALID_ARG;\n" 49 PlatStatus_t platStatus = ePLAT_STATUS_INVALID_ARG; -> stopped,reason="breakpoint-hit",disp="del",bkptno="3",frame={addr="0x00000346",func="main",args=[],file="C:/Users/Daniel/work/blinky_lpc845/L1-Ccl/CclMain.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L1-Ccl\CclMain.c",line="49",arch="armv6s-m"},thread-id="1",stopped-threads="all" mi2.status = stopped -> =breakpoint-deleted,id="3" 25-thread-list-ids -> 25^done,thread-ids={thread-id="1"},current-thread-id="1",number-of-threads="1" 26-thread-list-ids -> 26^done,thread-ids={thread-id="1"},current-thread-id="1",number-of-threads="1" 27-data-read-memory-bytes "0x40064000" 48 -> 27^error,msg="Unable to read memory." 28-data-list-register-values N Failed to update peripheral USART0: Read memory error: Unable to read memory. (from data-read-memory-bytes "0x40064000" 48) -> 28^done,register-values=[{number="0",value="268451808"},{number="1",value="0"},{number="2",value="0"},{number="3",value="808"},{number="4",value="808"},{number="5",value="268451808"},{number="6",value="0"},{number="7",value="268451792"},{number="8",value="7864"},{number="9",value="4294967295"},{number="10",value="4294967295"},{number="11",value="4294967295"},{number="12",value="4294967295"},{number="13",value="0x10003fd0"},{number="14",value="0x1cb3 <ResetISR+86>"},{number="15",value="0x346 <main+6>"},{number="25",value="1627389952"},{number="91",value="268451792"},{number="92",value="4294967292"},{number="93",value="0"},{number="94",value="0"},{number="95",value="0"}] 29-thread-info 1 -> 29^done,threads=[{id="1",target-id="Thread 1",details=" ",frame={level="0",addr="0x00000346",func="main",args=[],file="C:/Users/Daniel/work/blinky_lpc845/L1-Ccl/CclMain.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L1-Ccl\CclMain.c",line="49",arch="armv6s-m"},state="stopped"}] 30-thread-info 1 -> 30^done,threads=[{id="1",target-id="Thread 1",details=" ",frame={level="0",addr="0x00000346",func="main",args=[],file="C:/Users/Daniel/work/blinky_lpc845/L1-Ccl/CclMain.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L1-Ccl\CclMain.c",line="49",arch="armv6s-m"},state="stopped"}] 31-data-read-memory-bytes "0x40064000" 48 -> 31^error,msg="Unable to read memory." 32-stack-info-depth --thread 1 1000 Failed to update peripheral USART0: Error: peripheral-viewer: readMemory failed @ 0x40064000 for 48 bytes: CodeExpectedError: Read memory error: Unable to read memory. (from data-read-memory-bytes "0x40064000" 48), session=0f5fa2bf-d7d2-42d5-8309-8309db1ce664 Internal error: Failed to update peripheral USART0 after memory reads -> 32^done,depth="1" 33-stack-info-depth --thread 1 1000 -> 33^done,depth="1" 34-stack-list-frames --thread 1 0 0 -> 34^done,stack=[frame={level="0",addr="0x00000346",func="main",file="C:/Users/Daniel/work/blinky_lpc845/L1-Ccl/CclMain.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L1-Ccl\CclMain.c",line="49",arch="armv6s-m"}] 35-stack-list-frames --thread 1 0 0 -> 35^done,stack=[frame={level="0",addr="0x00000346",func="main",file="C:/Users/Daniel/work/blinky_lpc845/L1-Ccl/CclMain.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L1-Ccl\CclMain.c",line="49",arch="armv6s-m"}] 36-stack-info-depth --thread 1 1000 -> 36^done,depth="1" 37-stack-list-frames --thread 1 0 0 -> 37^done,stack=[frame={level="0",addr="0x00000346",func="main",file="C:/Users/Daniel/work/blinky_lpc845/L1-Ccl/CclMain.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L1-Ccl\CclMain.c",line="49",arch="armv6s-m"}] 38-var-update --thread 1 --frame 0 --all-values undefined_57671eae1c04a1651b3c8069e9e72d2475467713ecb6d22efc0b44ea6aa0b4d2 -> 38^error,msg="Variable object not found" 39-var-create --thread 1 --frame 0 undefined_57671eae1c04a1651b3c8069e9e72d2475467713ecb6d22efc0b44ea6aa0b4d2 "_tx_thread_created_ptr" -> 39^error,msg="-var-create: unable to create variable object" undefined -var-create: unable to create variable object (from var-create --thread 1 --frame 0 undefined_57671eae1c04a1651b3c8069e9e72d2475467713ecb6d22efc0b44ea6aa0b4d2 "_tx_thread_created_ptr")40-var-update --thread 1 --frame 0 --all-values undefined_c94481adaea4ef65c72e1e8d1bb7dfdd3a7c97dfad36adc0e694b8026d37a09f -> 40^error,msg="Variable object not found" 41-var-create --thread 1 --frame 0 undefined_c94481adaea4ef65c72e1e8d1bb7dfdd3a7c97dfad36adc0e694b8026d37a09f "pxReadyTasksLists" -> 41^error,msg="-var-create: unable to create variable object" undefined -var-create: unable to create variable object (from var-create --thread 1 --frame 0 undefined_c94481adaea4ef65c72e1e8d1bb7dfdd3a7c97dfad36adc0e694b8026d37a09f "pxReadyTasksLists")42-var-update --thread 1 --frame 0 --all-values undefined_5e0c067643e216edacb586fb651891530718e7c644a121886d01aebb41c29362 -> 42^error,msg="Variable object not found" 43-var-create --thread 1 --frame 0 undefined_5e0c067643e216edacb586fb651891530718e7c644a121886d01aebb41c29362 "_kernel_thread_info_offsets" -> 43^error,msg="-var-create: unable to create variable object" undefined -var-create: unable to create variable object (from var-create --thread 1 --frame 0 undefined_5e0c067643e216edacb586fb651891530718e7c644a121886d01aebb41c29362 "_kernel_thread_info_offsets")44-var-update --thread 1 --frame 0 --all-values undefined_6ef43a260eab87240c7916427d4fbe5dbe871dc760b9ad8899bca3567c3bc096 -> 44^error,msg="Variable object not found" 45-var-create --thread 1 --frame 0 undefined_6ef43a260eab87240c7916427d4fbe5dbe871dc760b9ad8899bca3567c3bc096 "_track_list_k_mutex" -> 45^error,msg="-var-create: unable to create variable object" undefined -var-create: unable to create variable object (from var-create --thread 1 --frame 0 undefined_6ef43a260eab87240c7916427d4fbe5dbe871dc760b9ad8899bca3567c3bc096 "_track_list_k_mutex")46-stack-select-frame --thread 1 0 -> 46^done 47-stack-list-variables --thread 1 --frame 0 --simple-values -> &"warning: (Error: pc 0x0 in address map, but not in symtab.)\n" warning: (Error: pc 0x0 in address map, but not in symtab.) -> 47^done,variables=[{name="platStatus",type="PlatStatus_t",value="268451808"},{name="pConsoleCtxt",type="SvcConsoleContext_t ",value="0x0"}]
48-var-update --thread 1 --frame 0 --all-values var_platStatus_256
-> 48^error,msg="Variable object not found"
49-var-create --thread 1 --frame 0 var_platStatus_256 "platStatus"
-> 49^done,name="var_platStatus_256",numchild="0",value="268451808",type="PlatStatus_t",thread-id="1",has_more="0"
50-var-update --thread 1 --frame 0 --all-values var_pConsoleCtxt_256
-> 50^error,msg="Variable object not found"
51-var-create --thread 1 --frame 0 var_pConsoleCtxt_256 "pConsoleCtxt"
-> &"warning: (Internal error: pc 0x0 in read in CU, but not in symtab.)\n"
warning: (Internal error: pc 0x0 in read in CU, but not in symtab.)
-> &"warning: (Error: pc 0x0 in address map, but not in symtab.)\n"
warning: (Error: pc 0x0 in address map, but not in symtab.)
-> 51^done,name="var_pConsoleCtxt_256",numchild="6",value="0x0 ",type="SvcConsoleContext_t ",has_more="0"
52-exec-continue --thread 1
-> 52^running
-> running,thread-id="all"
mi2.status = running
-> =breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00000e80",func="_HalUsartEnableUsartClock",file="C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c",line="38",thread-groups=["i1"],times="1",original-location="c:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c:38"}
-> ~"\n"
-> ~"Breakpoint 1, _HalUsartEnableUsartClock (instanceId=0 '\000') at C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c:38\n" Breakpoint 1, _HalUsartEnableUsartClock (instanceId=0 '\000') at C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c:38 -> ~"38\t CLOCK_EnableClock(usartClocks[instanceId]);\n" 38 CLOCK_EnableClock(usartClocks[instanceId]); -> stopped,reason="breakpoint-hit",disp="keep",bkptno="1",frame={addr="0x00000e80",func="_HalUsartEnableUsartClock",args=[{name="instanceId",value="0 '\000'"}],file="C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c",line="38",arch="armv6s-m"},thread-id="1",stopped-threads="all" mi2.status = stopped 53-thread-list-ids -> 53^done,thread-ids={thread-id="1"},current-thread-id="1",number-of-threads="1" 54-thread-list-ids -> 54^done,thread-ids={thread-id="1"},current-thread-id="1",number-of-threads="1" 55-data-read-memory-bytes "0x40064000" 48 -> 55^error,msg="Unable to read memory." 56-data-list-register-values N 56-data-list-register-values N Failed to update peripheral USART0: Read memory error: Unable to read memory. (from data-read-memory-bytes "0x40064000" 48) -> 56^done,register-values=[{number="0",value="0"},{number="1",value="268435480"},{number="2",value="0"},{number="3",value="268451703"},{number="4",value="808"},{number="5",value="268451808"},{number="6",value="0"},{number="7",value="268451696"},{number="8",value="7864"},{number="9",value="4294967295"},{number="10",value="4294967295"},{number="11",value="4294967295"},{number="12",value="2048"},{number="13",value="0x10003f70"},{number="14",value="0x104d <HalUsartInitUsart+36>"},{number="15",value="0xe80 <_HalUsartEnableUsartClock+12>"},{number="25",value="16777216"},{number="91",value="268451696"},{number="92",value="4294967292"},{number="93",value="0"},{number="94",value="0"},{number="95",value="0"}] 57-thread-info 1 -> 57^done,threads=[{id="1",target-id="Thread 1",details=" ",frame={level="0",addr="0x00000e80",func="_HalUsartEnableUsartClock",args=[{name="instanceId",value="0 '\000'"}],file="C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c",line="38",arch="armv6s-m"},state="stopped"}] 58-thread-info 1 -> 58^done,threads=[{id="1",target-id="Thread 1",details=" ",frame={level="0",addr="0x00000e80",func="_HalUsartEnableUsartClock",args=[{name="instanceId",value="0 '\000'"}],file="C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c",line="38",arch="armv6s-m"},state="stopped"}] 59-data-read-memory-bytes "0x40064000" 48 -> 59^error,msg="Unable to read memory." 60-stack-info-depth --thread 1 1000 Failed to update peripheral USART0: Error: peripheral-viewer: readMemory failed @ 0x40064000 for 48 bytes: CodeExpectedError: Read memory error: Unable to read memory. (from data-read-memory-bytes "0x40064000" 48), session=0f5fa2bf-d7d2-42d5-8309-8309db1ce664 Internal error: Failed to update peripheral USART0 after memory reads -> 60^done,depth="5" 61-stack-info-depth --thread 1 1000 -> 61^done,depth="5" 62-stack-list-frames --thread 1 0 0 -> 62^done,stack=[frame={level="0",addr="0x00000e80",func="_HalUsartEnableUsartClock",file="C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c",line="38",arch="armv6s-m"}] 63-stack-list-frames --thread 1 0 4 -> 63^done,stack=[frame={level="0",addr="0x00000e80",func="_HalUsartEnableUsartClock",file="C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c",line="38",arch="armv6s-m"},frame={level="1",addr="0x0000104c",func="HalUsartInitUsart",file="C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c",line="135",arch="armv6s-m"},frame={level="2",addr="0x00000390",func="_CclPlatformInitializeUsarts",file="C:/Users/Daniel/work/blinky_lpc845/L1-Ccl/CclPlatform/src/CclPlatformSetup.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L1-Ccl\CclPlatform\src\CclPlatformSetup.c",line="257",arch="armv6s-m"},frame={level="3",addr="0x00000450",func="CclPlatformInitializePlatform",file="C:/Users/Daniel/work/blinky_lpc845/L1-Ccl/CclPlatform/src/CclPlatformSetup.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L1-Ccl\CclPlatform\src\CclPlatformSetup.c",line="306",arch="armv6s-m"},frame={level="4",addr="0x00000352",func="main",file="C:/Users/Daniel/work/blinky_lpc845/L1-Ccl/CclMain.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L1-Ccl\CclMain.c",line="56",arch="armv6s-m"}] 64-stack-info-depth --thread 1 1000 -> 64^done,depth="5" 65-stack-list-frames --thread 1 0 4 -> 65^done,stack=[frame={level="0",addr="0x00000e80",func="_HalUsartEnableUsartClock",file="C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c",line="38",arch="armv6s-m"},frame={level="1",addr="0x0000104c",func="HalUsartInitUsart",file="C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c",line="135",arch="armv6s-m"},frame={level="2",addr="0x00000390",func="_CclPlatformInitializeUsarts",file="C:/Users/Daniel/work/blinky_lpc845/L1-Ccl/CclPlatform/src/CclPlatformSetup.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L1-Ccl\CclPlatform\src\CclPlatformSetup.c",line="257",arch="armv6s-m"},frame={level="3",addr="0x00000450",func="CclPlatformInitializePlatform",file="C:/Users/Daniel/work/blinky_lpc845/L1-Ccl/CclPlatform/src/CclPlatformSetup.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L1-Ccl\CclPlatform\src\CclPlatformSetup.c",line="306",arch="armv6s-m"},frame={level="4",addr="0x00000352",func="main",file="C:/Users/Daniel/work/blinky_lpc845/L1-Ccl/CclMain.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L1-Ccl\CclMain.c",line="56",arch="armv6s-m"}] 66-var-update --thread 1 --frame 0 --all-values undefined_57671eae1c04a1651b3c8069e9e72d2475467713ecb6d22efc0b44ea6aa0b4d2 -> 66^error,msg="Variable object not found" 67-var-create --thread 1 --frame 0 undefined_57671eae1c04a1651b3c8069e9e72d2475467713ecb6d22efc0b44ea6aa0b4d2 "_tx_thread_created_ptr" -> 67^error,msg="-var-create: unable to create variable object" undefined -var-create: unable to create variable object (from var-create --thread 1 --frame 0 undefined_57671eae1c04a1651b3c8069e9e72d2475467713ecb6d22efc0b44ea6aa0b4d2 "_tx_thread_created_ptr")68-var-update --thread 1 --frame 0 --all-values undefined_c94481adaea4ef65c72e1e8d1bb7dfdd3a7c97dfad36adc0e694b8026d37a09f -> 68^error,msg="Variable object not found" 69-var-create --thread 1 --frame 0 undefined_c94481adaea4ef65c72e1e8d1bb7dfdd3a7c97dfad36adc0e694b8026d37a09f "pxReadyTasksLists" -> 69^error,msg="-var-create: unable to create variable object" undefined -var-create: unable to create variable object (from var-create --thread 1 --frame 0 undefined_c94481adaea4ef65c72e1e8d1bb7dfdd3a7c97dfad36adc0e694b8026d37a09f "pxReadyTasksLists")70-var-update --thread 1 --frame 0 --all-values undefined_5e0c067643e216edacb586fb651891530718e7c644a121886d01aebb41c29362 -> 70^error,msg="Variable object not found" 71-var-create --thread 1 --frame 0 undefined_5e0c067643e216edacb586fb651891530718e7c644a121886d01aebb41c29362 "_kernel_thread_info_offsets" -> 71^error,msg="-var-create: unable to create variable object" undefined -var-create: unable to create variable object (from var-create --thread 1 --frame 0 undefined_5e0c067643e216edacb586fb651891530718e7c644a121886d01aebb41c29362 "_kernel_thread_info_offsets")72-var-update --thread 1 --frame 0 --all-values undefined_6ef43a260eab87240c7916427d4fbe5dbe871dc760b9ad8899bca3567c3bc096 -> 72^error,msg="Variable object not found" 73-var-create --thread 1 --frame 0 undefined_6ef43a260eab87240c7916427d4fbe5dbe871dc760b9ad8899bca3567c3bc096 "_track_list_k_mutex" -> 73^error,msg="-var-create: unable to create variable object" undefined -var-create: unable to create variable object (from var-create --thread 1 --frame 0 undefined_6ef43a260eab87240c7916427d4fbe5dbe871dc760b9ad8899bca3567c3bc096 "_track_list_k_mutex")74-stack-select-frame --thread 1 0 -> 74^done 75-stack-list-variables --thread 1 --frame 0 --simple-values -> 75^done,variables=[{name="instanceId",arg="1",type="uint8_t",value="0 '\000'"}] 76-var-update --thread 1 --frame 0 --all-values var_instanceId_256 -> 76^error,msg="Variable object not found" 77-var-create --thread 1 --frame 0 var_instanceId_256 "instanceId" -> 77^done,name="var_instanceId_256",numchild="0",value="0 '\000'",type="uint8_t",thread-id="1",has_more="0" 78-var-update --thread 1 --frame 0 --all-values hover_c7b769477896ee3436fdeb6976a06ae9b8c66ba4fc7d0a840fd32d4d3ebf0e60 -> 78^error,msg="Variable object not found" 79-var-create --thread 1 --frame 0 hover_c7b769477896ee3436fdeb6976a06ae9b8c66ba4fc7d0a840fd32d4d3ebf0e60 "&baudRateSetting" -> 79^error,msg="-var-create: unable to create variable object" hover -var-create: unable to create variable object (from var-create --thread 1 --frame 0 hover_c7b769477896ee3436fdeb6976a06ae9b8c66ba4fc7d0a840fd32d4d3ebf0e60 "&baudRateSetting")80-break-delete 1 2 -> 80^done 81-break-insert "c:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c:38" -> 81^done,bkpt={number="4",type="breakpoint",disp="keep",enabled="y",addr="0x00000e80",func="_HalUsartEnableUsartClock",file="C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c",line="38",thread-groups=["i1"],times="0",original-location="c:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c:38"} 82-break-insert "c:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c:136"o 82-break-insert "c:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c:136" -> 82^done,bkpt={number="5",type="breakpoint",disp="keep",enabled="y",addr="0x0000104c",func="HalUsartInitUsart",file="C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c",line="136",thread-groups=["i1"],times="0",original-location="c:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c:136"} 83-break-insert "c:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c:156" -> 83^done,bkpt={number="6",type="breakpoint",disp="keep",enabled="y",addr="0x000010d8",func="HalUsartInitUsart",file="C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c",line="156",thread-groups=["i1"],times="0",original-location="c:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c:156"} 84-exec-continue --thread 1 -> 84^running -> *running,thread-id="all" mi2.status = running -> =breakpoint-modified,bkpt={number="5",type="breakpoint",disp="keep",enabled="y",addr="0x0000104c",func="HalUsartInitUsart",file="C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c",line="136",thread-groups=["i1"],times="1",original-location="c:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c:136"} -> ~"\n"
-> ~"Breakpoint 5, HalUsartInitUsart (pConfigCtxt=0x1930, pDataCtxt=0x10000018 ) at C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c:136\n"
Breakpoint 5, HalUsartInitUsart (pConfigCtxt=0x1930 , pDataCtxt=0x10000018 ) at C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c:136
-> ~"136\t _HalUsartResetUsart(pConfigCtxt->instanceId);\n"
136 _HalUsartResetUsart(pConfigCtxt->instanceId);
-> stopped,reason="breakpoint-hit",disp="keep",bkptno="5",frame={addr="0x0000104c",func="HalUsartInitUsart",args=[{name="pConfigCtxt",value="0x1930 "},{name="pDataCtxt",value="0x10000018 "}],file="C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c",line="136",arch="armv6s-m"},thread-id="1",stopped-threads="all"
mi2.status = stopped
85-thread-list-ids
-> 85^done,thread-ids={thread-id="1"},current-thread-id="1",number-of-threads="1"
86-thread-list-ids
-> 86^done,thread-ids={thread-id="1"},current-thread-id="1",number-of-threads="1"
87-data-read-memory-bytes "0x40064000" 48
-> 87^error,msg="Unable to read memory."
88-data-list-register-values N
Failed to update peripheral USART0: Read memory error: Unable to read memory. (from data-read-memory-bytes "0x40064000" 48)
-> 88^done,register-values=[{number="0",value="1074036864"},{number="1",value="1310807"},{number="2",value="1327191"},{number="3",value="1074036864"},{number="4",value="808"},{number="5",value="268451808"},{number="6",value="0"},{number="7",value="268451712"},{number="8",value="7864"},{number="9",value="4294967295"},{number="10",value="4294967295"},{number="11",value="4294967295"},{number="12",value="1074036864"},{number="13",value="0x10003f80"},{number="14",value="0xe93 <_HalUsartEnableUsartClock+30>"},{number="15",value="0x104c <HalUsartInitUsart+36>"},{number="25",value="16777216"},{number="91",value="268451712"},{number="92",value="4294967292"},{number="93",value="0"},{number="94",value="0"},{number="95",value="0"}]
89-thread-info 1
-> 89^done,threads=[{id="1",target-id="Thread 1",details=" ",frame={level="0",addr="0x0000104c",func="HalUsartInitUsart",args=[{name="pConfigCtxt",value="0x1930 "},{name="pDataCtxt",value="0x10000018 "}],file="C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c",line="136",arch="armv6s-m"},state="stopped"}]
90-thread-info 1
-> 90^done,threads=[{id="1",target-id="Thread 1",details=" ",frame={level="0",addr="0x0000104c",func="HalUsartInitUsart",args=[{name="pConfigCtxt",value="0x1930 "},{name="pDataCtxt",value="0x10000018 "}],file="C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c",line="136",arch="armv6s-m"},state="stopped"}]
91-data-read-memory-bytes "0x40064000" 48
-> 91^error,msg="Unable to read memory."
92-stack-info-depth --thread 1 1000
Failed to update peripheral USART0: Error: peripheral-viewer: readMemory failed @ 0x40064000 for 48 bytes: CodeExpectedError: Read memory error: Unable to read memory. (from data-read-memory-bytes "0x40064000" 48), session=0f5fa2bf-d7d2-42d5-8309-8309db1ce664
Internal error: Failed to update peripheral USART0 after memory reads
-> 92^done,depth="4"
93-stack-info-depth --thread 1 1000
-> 93^done,depth="4"
94-stack-list-frames --thread 1 0 0
-> 94^done,stack=[frame={level="0",addr="0x0000104c",func="HalUsartInitUsart",file="C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c",line="136",arch="armv6s-m"}]
95-stack-list-frames --thread 1 0 3
-> 95^done,stack=[frame={level="0",addr="0x0000104c",func="HalUsartInitUsart",file="C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c",line="136",arch="armv6s-m"},frame={level="1",addr="0x00000390",func="_CclPlatformInitializeUsarts",file="C:/Users/Daniel/work/blinky_lpc845/L1-Ccl/CclPlatform/src/CclPlatformSetup.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L1-Ccl\CclPlatform\src\CclPlatformSetup.c",line="257",arch="armv6s-m"},frame={level="2",addr="0x00000450",func="CclPlatformInitializePlatform",file="C:/Users/Daniel/work/blinky_lpc845/L1-Ccl/CclPlatform/src/CclPlatformSetup.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L1-Ccl\CclPlatform\src\CclPlatformSetup.c",line="306",arch="armv6s-m"},frame={level="3",addr="0x00000352",func="main",file="C:/Users/Daniel/work/blinky_lpc845/L1-Ccl/CclMain.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L1-Ccl\CclMain.c",line="56",arch="armv6s-m"}]
96-stack-info-depth --thread 1 1000
-> 96^done,depth="4"
97-var-update --thread 1 --frame 0 --all-values undefined_57671eae1c04a1651b3c8069e9e72d2475467713ecb6d22efc0b44ea6aa0b4d2
-> 97^error,msg="Variable object not found"
98-stack-list-frames --thread 1 0 3
-> 98^done,stack=[frame={level="0",addr="0x0000104c",func="HalUsartInitUsart",file="C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c",line="136",arch="armv6s-m"},frame={level="1",addr="0x00000390",func="_CclPlatformInitializeUsarts",file="C:/Users/Daniel/work/blinky_lpc845/L1-Ccl/CclPlatform/src/CclPlatformSetup.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L1-Ccl\CclPlatform\src\CclPlatformSetup.c",line="257",arch="armv6s-m"},frame={level="2",addr="0x00000450",func="CclPlatformInitializePlatform",file="C:/Users/Daniel/work/blinky_lpc845/L1-Ccl/CclPlatform/src/CclPlatformSetup.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L1-Ccl\CclPlatform\src\CclPlatformSetup.c",line="306",arch="armv6s-m"},frame={level="3",addr="0x00000352",func="main",file="C:/Users/Daniel/work/blinky_lpc845/L1-Ccl/CclMain.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L1-Ccl\CclMain.c",line="56",arch="armv6s-m"}]
99-var-create --thread 1 --frame 0 undefined_57671eae1c04a1651b3c8069e9e72d2475467713ecb6d22efc0b44ea6aa0b4d2 "_tx_thread_created_ptr"
-> 99^error,msg="-var-create: unable to create variable object"
undefined -var-create: unable to create variable object (from var-create --thread 1 --frame 0 undefined_57671eae1c04a1651b3c8069e9e72d2475467713ecb6d22efc0b44ea6aa0b4d2 "_tx_thread_created_ptr")100-var-update --thread 1 --frame 0 --all-values undefined_c94481adaea4ef65c72e1e8d1bb7dfdd3a7c97dfad36adc0e694b8026d37a09f
-> 100^error,msg="Variable object not found"
101-var-create --thread 1 --frame 0 undefined_c94481adaea4ef65c72e1e8d1bb7dfdd3a7c97dfad36adc0e694b8026d37a09f "pxReadyTasksLists"
-> 101^error,msg="-var-create: unable to create variable object"
undefined -var-create: unable to create variable object (from var-create --thread 1 --frame 0 undefined_c94481adaea4ef65c72e1e8d1bb7dfdd3a7c97dfad36adc0e694b8026d37a09f "pxReadyTasksLists")102-var-update --thread 1 --frame 0 --all-values undefined_5e0c067643e216edacb586fb651891530718e7c644a121886d01aebb41c29362
-> 102^error,msg="Variable object not found"
103-var-create --thread 1 --frame 0 undefined_5e0c067643e216edacb586fb651891530718e7c644a121886d01aebb41c29362 "_kernel_thread_info_offsets"
-> 103^error,msg="-var-create: unable to create variable object"
undefined -var-create: unable to create variable object (from var-create --thread 1 --frame 0 undefined_5e0c067643e216edacb586fb651891530718e7c644a121886d01aebb41c29362 "_kernel_thread_info_offsets")104-var-update --thread 1 --frame 0 --all-values undefined_6ef43a260eab87240c7916427d4fbe5dbe871dc760b9ad8899bca3567c3bc096
-> 104^error,msg="Variable object not found"
105-var-create --thread 1 --frame 0 undefined_6ef43a260eab87240c7916427d4fbe5dbe871dc760b9ad8899bca3567c3bc096 "_track_list_k_mutex"
-> 105^error,msg="-var-create: unable to create variable object"
undefined -var-create: unable to create variable object (from var-create --thread 1 --frame 0 undefined_6ef43a260eab87240c7916427d4fbe5dbe871dc760b9ad8899bca3567c3bc096 "_track_list_k_mutex")106-stack-select-frame --thread 1 0
-> 106^done
107-stack-list-variables --thread 1 --frame 0 --simple-values
-> 107^done,variables=[{name="cfgRegVal",type="uint32_t",value="268451752"},{name="stopBitsMask",type="uint32_t",value="1"},{name="dataBitsMask",type="uint32_t",value="15"},{name="parityMask",type="uint32_t",value="176"},{name="baudRateSetting",type="uint32_t",value="40"},{name="pConfigCtxt",arg="1",type="const HalUsartConfigContext_t ",value="0x1930 "},{name="pDataCtxt",arg="1",type="HalUsartDataContext_t ",value="0x10000018 "},{name="platStatus",type="PlatStatus_t",value="ePLAT_STATUS_INVALID_ARG"}]
108-var-update --thread 1 --frame 0 --all-values var_cfgRegVal_256
-> 108^error,msg="Variable object not found"
109-var-create --thread 1 --frame 0 var_cfgRegVal_256 "cfgRegVal"
-> 109^done,name="var_cfgRegVal_256",numchild="0",value="268451752",type="uint32_t",thread-id="1",has_more="0"
110-var-update --thread 1 --frame 0 --all-values var_stopBitsMask_256
-> 110^error,msg="Variable object not found"
111-var-create --thread 1 --frame 0 var_stopBitsMask_256 "stopBitsMask"
-> 111^done,name="var_stopBitsMask_256",numchild="0",value="1",type="uint32_t",thread-id="1",has_more="0"
112-var-update --thread 1 --frame 0 --all-values var_dataBitsMask_256
-> 112^error,msg="Variable object not found"
113-var-create --thread 1 --frame 0 var_dataBitsMask_256 "dataBitsMask"
-> 113^done,name="var_dataBitsMask_256",numchild="0",value="15",type="uint32_t",thread-id="1",has_more="0"
114-var-update --thread 1 --frame 0 --all-values var_parityMask_256
-> 114^error,msg="Variable object not found"
115-var-create --thread 1 --frame 0 var_parityMask_256 "parityMask"
-> 115^done,name="var_parityMask_256",numchild="0",value="176",type="uint32_t",thread-id="1",has_more="0"
116-var-update --thread 1 --frame 0 --all-values var_baudRateSetting_256
-> 116^error,msg="Variable object not found"
117-var-create --thread 1 --frame 0 var_baudRateSetting_256 "baudRateSetting"
-> 117^done,name="var_baudRateSetting_256",numchild="0",value="40",type="uint32_t",thread-id="1",has_more="0"
118-var-update --thread 1 --frame 0 --all-values var_pConfigCtxt_256
-> 118^error,msg="Variable object not found"
119-var-create --thread 1 --frame 0 var_pConfigCtxt_256 "pConfigCtxt"
-> 119^done,name="var_pConfigCtxt_256",numchild="11",value="0x1930 ",type="const HalUsartConfigContext_t ",thread-id="1",has_more="0"
120-var-update --thread 1 --frame 0 --all-values var_pDataCtxt_256
-> 120^error,msg="Variable object not found"
121-var-create --thread 1 --frame 0 var_pDataCtxt_256 "pDataCtxt"
-> 121^done,name="var_pDataCtxt_256",numchild="6",value="0x10000018 ",type="HalUsartDataContext_t ",thread-id="1",has_more="0"
122-var-update --thread 1 --frame 0 --all-values var_platStatus_256
-> 122^done,changelist=[{name="var_platStatus_256",value="ePLAT_STATUS_INVALID_ARG",in_scope="true",type_changed="false",has_more="0"}]
123-exec-continue --thread 1
-> 123^running
-> *running,thread-id="all"
mi2.status = running
-> =breakpoint-modified,bkpt={number="6",type="breakpoint",disp="keep",enabled="y",addr="0x000010d8",func="HalUsartInitUsart",file="C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c",line="156",thread-groups=["i1"],times="1",original-location="c:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c:156"}
-> ~"\n"
-> ~"Breakpoint 6, HalUsartInitUsart (pConfigCtxt=0x1930, pDataCtxt=0x10000018 ) at C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c:156\n"
Breakpoint 6, HalUsartInitUsart (pConfigCtxt=0x1930 , pDataCtxt=0x10000018 ) at C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c:156
-> ~"156\t HalSysDataLog(pBase->CFG);\n"
156 HalSysDataLog(pBase->CFG);
-> stopped,reason="breakpoint-hit",disp="keep",bkptno="6",frame={addr="0x000010d8",func="HalUsartInitUsart",args=[{name="pConfigCtxt",value="0x1930 "},{name="pDataCtxt",value="0x10000018 "}],file="C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c",line="156",arch="armv6s-m"},thread-id="1",stopped-threads="all"
mi2.status = stopped
124-thread-list-ids
-> 124^done,thread-ids={thread-id="1"},current-thread-id="1",number-of-threads="1"
125-thread-list-ids
-> 125^done,thread-ids={thread-id="1"},current-thread-id="1",number-of-threads="1"
126-data-read-memory-bytes "0x40064000" 48
-> 126^error,msg="Unable to read memory."
127-data-list-register-values N
Failed to update peripheral USART0: Read memory error: Unable to read memory. (from data-read-memory-bytes "0x40064000" 48)
-> 127^done,register-values=[{number="0",value="1"},{number="1",value="31800"},{number="2",value="245"},{number="3",value="1074151424"},{number="4",value="808"},{number="5",value="268451808"},{number="6",value="0"},{number="7",value="268451712"},{number="8",value="7864"},{number="9",value="4294967295"},{number="10",value="4294967295"},{number="11",value="4294967295"},{number="12",value="1074036864"},{number="13",value="0x10003f80"},{number="14",value="0xfed <_HalUsartValidateBaudrate+24>"},{number="15",value="0x10d8 <HalUsartInitUsart+176>"},{number="25",value="553648128"},{number="91",value="268451712"},{number="92",value="4294967292"},{number="93",value="0"},{number="94",value="0"},{number="95",value="0"}]
128-thread-info 1
-> 128^done,threads=[{id="1",target-id="Thread 1",details=" ",frame={level="0",addr="0x000010d8",func="HalUsartInitUsart",args=[{name="pConfigCtxt",value="0x1930 "},{name="pDataCtxt",value="0x10000018 "}],file="C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c",line="156",arch="armv6s-m"},state="stopped"}]
129-thread-info 1
-> 129^done,threads=[{id="1",target-id="Thread 1",details=" ",frame={level="0",addr="0x000010d8",func="HalUsartInitUsart",args=[{name="pConfigCtxt",value="0x1930 "},{name="pDataCtxt",value="0x10000018 "}],file="C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c",line="156",arch="armv6s-m"},state="stopped"}]
130-data-read-memory-bytes "0x40064000" 48
-> 130^error,msg="Unable to read memory."
131-stack-info-depth --thread 1 1000
Failed to update peripheral USART0: Error: peripheral-viewer: readMemory failed @ 0x40064000 for 48 bytes: CodeExpectedError: Read memory error: Unable to read memory. (from data-read-memory-bytes "0x40064000" 48), session=0f5fa2bf-d7d2-42d5-8309-8309db1ce664
Internal error: Failed to update peripheral USART0 after memory reads
-> 131^done,depth="4"
132-stack-info-depth --thread 1 1000
-> 132^done,depth="4"
133-stack-list-frames --thread 1 0 0
-> 133^done,stack=[frame={level="0",addr="0x000010d8",func="HalUsartInitUsart",file="C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c",line="156",arch="armv6s-m"}]
134-stack-list-frames --thread 1 0 3
-> 134^done,stack=[frame={level="0",addr="0x000010d8",func="HalUsartInitUsart",file="C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c",line="156",arch="armv6s-m"},frame={level="1",addr="0x00000390",func="_CclPlatformInitializeUsarts",file="C:/Users/Daniel/work/blinky_lpc845/L1-Ccl/CclPlatform/src/CclPlatformSetup.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L1-Ccl\CclPlatform\src\CclPlatformSetup.c",line="257",arch="armv6s-m"},frame={level="2",addr="0x00000450",func="CclPlatformInitializePlatform",file="C:/Users/Daniel/work/blinky_lpc845/L1-Ccl/CclPlatform/src/CclPlatformSetup.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L1-Ccl\CclPlatform\src\CclPlatformSetup.c",line="306",arch="armv6s-m"},frame={level="3",addr="0x00000352",func="main",file="C:/Users/Daniel/work/blinky_lpc845/L1-Ccl/CclMain.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L1-Ccl\CclMain.c",line="56",arch="armv6s-m"}]
135-stack-info-depth --thread 1 1000
-> 135^done,depth="4"
136-var-update --thread 1 --frame 0 --all-values undefined_57671eae1c04a1651b3c8069e9e72d2475467713ecb6d22efc0b44ea6aa0b4d2
-> 136^error,msg="Variable object not found"
137-stack-list-frames --thread 1 0 3
-> 137^done,stack=[frame={level="0",addr="0x000010d8",func="HalUsartInitUsart",file="C:/Users/Daniel/work/blinky_lpc845/L4-Hal/lpc845/src/HalUsart.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L4-Hal\lpc845\src\HalUsart.c",line="156",arch="armv6s-m"},frame={level="1",addr="0x00000390",func="_CclPlatformInitializeUsarts",file="C:/Users/Daniel/work/blinky_lpc845/L1-Ccl/CclPlatform/src/CclPlatformSetup.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L1-Ccl\CclPlatform\src\CclPlatformSetup.c",line="257",arch="armv6s-m"},frame={level="2",addr="0x00000450",func="CclPlatformInitializePlatform",file="C:/Users/Daniel/work/blinky_lpc845/L1-Ccl/CclPlatform/src/CclPlatformSetup.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L1-Ccl\CclPlatform\src\CclPlatformSetup.c",line="306",arch="armv6s-m"},frame={level="3",addr="0x00000352",func="main",file="C:/Users/Daniel/work/blinky_lpc845/L1-Ccl/CclMain.c",fullname="C:\Users\Daniel\work\blinky_lpc845\L1-Ccl\CclMain.c",line="56",arch="armv6s-m"}]
138-var-create --thread 1 --frame 0 undefined_57671eae1c04a1651b3c8069e9e72d2475467713ecb6d22efc0b44ea6aa0b4d2 "_tx_thread_created_ptr"
-> 138^error,msg="-var-create: unable to create variable object"
undefined -var-create: unable to create variable object (from var-create --thread 1 --frame 0 undefined_57671eae1c04a1651b3c8069e9e72d2475467713ecb6d22efc0b44ea6aa0b4d2 "_tx_thread_created_ptr")139-var-update --thread 1 --frame 0 --all-values undefined_c94481adaea4ef65c72e1e8d1bb7dfdd3a7c97dfad36adc0e694b8026d37a09f
-> 139^error,msg="Variable object not found"
140-var-create --thread 1 --frame 0 undefined_c94481adaea4ef65c72e1e8d1bb7dfdd3a7c97dfad36adc0e694b8026d37a09f "pxReadyTasksLists"
-> 140^error,msg="-var-create: unable to create variable object"
undefined -var-create: unable to create variable object (from var-create --thread 1 --frame 0 undefined_c94481adaea4ef65c72e1e8d1bb7dfdd3a7c97dfad36adc0e694b8026d37a09f "pxReadyTasksLists")141-var-update --thread 1 --frame 0 --all-values undefined_5e0c067643e216edacb586fb651891530718e7c644a121886d01aebb41c29362
-> 141^error,msg="Variable object not found"
142-var-create --thread 1 --frame 0 undefined_5e0c067643e216edacb586fb651891530718e7c644a121886d01aebb41c29362 "_kernel_thread_info_offsets"
-> 142^error,msg="-var-create: unable to create variable object"
undefined -var-create: unable to create variable object (from var-create --thread 1 --frame 0 undefined_5e0c067643e216edacb586fb651891530718e7c644a121886d01aebb41c29362 "_kernel_thread_info_offsets")143-var-update --thread 1 --frame 0 --all-values undefined_6ef43a260eab87240c7916427d4fbe5dbe871dc760b9ad8899bca3567c3bc096
-> 143^error,msg="Variable object not found"
144-var-create --thread 1 --frame 0 undefined_6ef43a260eab87240c7916427d4fbe5dbe871dc760b9ad8899bca3567c3bc096 "_track_list_k_mutex"
-> 144^error,msg="-var-create: unable to create variable object"
undefined -var-create: unable to create variable object (from var-create --thread 1 --frame 0 undefined_6ef43a260eab87240c7916427d4fbe5dbe871dc760b9ad8899bca3567c3bc096 "_track_list_k_mutex")145-stack-select-frame --thread 1 0
-> 145^done
146-stack-list-variables --thread 1 --frame 0 --simple-values
-> 146^done,variables=[{name="pBase",type="volatile USART_Type ",value="0x40064000"},{name="cfgRegVal",type="uint32_t",value="245"},{name="stopBitsMask",type="uint32_t",value="64"},{name="dataBitsMask",type="uint32_t",value="4"},{name="parityMask",type="uint32_t",value="176"},{name="baudRateSetting",type="uint32_t",value="16"},{name="pConfigCtxt",arg="1",type="const HalUsartConfigContext_t ",value="0x1930 "},{name="pDataCtxt",arg="1",type="HalUsartDataContext_t ",value="0x10000018 "},{name="platStatus",type="PlatStatus_t",value="ePLAT_STATUS_INVALID_ARG"}]
147-var-update --thread 1 --frame 0 --all-values var_pBase_256
-> 147^error,msg="Variable object not found"
148-var-create --thread 1 --frame 0 var_pBase_256 "pBase"
-> 148^done,name="var_pBase_256",numchild="12",value="0x40064000",type="volatile USART_Type ",thread-id="1",has_more="0"
149-var-update --thread 1 --frame 0 --all-values var_cfgRegVal_256
-> 149^done,changelist=[{name="var_cfgRegVal_256",value="245",in_scope="true",type_changed="false",has_more="0"}]
150-var-update --thread 1 --frame 0 --all-values var_stopBitsMask_256
-> 150^done,changelist=[{name="var_stopBitsMask_256",value="64",in_scope="true",type_changed="false",has_more="0"}]
151-var-update --thread 1 --frame 0 --all-values var_dataBitsMask_256
-> 151^done,changelist=[{name="var_dataBitsMask_256",value="4",in_scope="true",type_changed="false",has_more="0"}]
152-var-update --thread 1 --frame 0 --all-values var_parityMask_256
-> 152^done,changelist=[]
153-var-update --thread 1 --frame 0 --all-values var_baudRateSetting_256
-> 153^done,changelist=[{name="var_baudRateSetting_256",value="16",in_scope="true",type_changed="false",has_more="0"}]
154-var-update --thread 1 --frame 0 --all-values var_pConfigCtxt_256
-> 154^done,changelist=[]
155-var-update --thread 1 --frame 0 --all-values var_pDataCtxt_256
-> 155^done,changelist=[]
156-var-update --thread 1 --frame 0 --all-values var_platStatus_256
-> 156^done,changelist=[]
Additional context Add any other context about the problem here.