Commit Graph

1291 Commits

Author SHA1 Message Date
Nav
7a74a5ec93 Stop needlessly refreshing target registers 2023-02-27 01:38:49 +00:00
Nav
858287a7d0 Refactored hex viewer in preparation for snapshot viewer and diffs.
Before this refactor, the hex viewer was consuming far too much RAM and wasn't
scaling very well. It can now handle data inspection up to 5MB (way more than we need), comfortably
2023-02-27 00:15:46 +00:00
Nav
f37f8f301a Corrected bad rebase 2023-02-27 00:08:01 +00:00
Nav
80035cadae Corrected regression from previous refactor where the data type and endianness of focused memory regions were not being persisted through debug sessions 2023-02-20 21:55:55 +00:00
Nav
7aa1639df2 Tidying 2023-02-20 21:55:55 +00:00
Nav
f41e60d0af Removed pointless container in HexViewerWidget and tidied QSS styles 2023-02-20 21:55:55 +00:00
Nav
b2e20b8c1d Enable snapshot capturing when there's no data loaded in the memory inspection pane, if the 'Capture directly from target' option has been selected. 2023-02-20 21:55:55 +00:00
Nav
f5de0cdb61 Added CaptureMemorySnapshot insight worker task to USES_TARGET_CONTROLLER group, to prevent simultaneous runs with other tasks. 2023-02-20 21:55:55 +00:00
Nav
b8ca1fbc41 Tidying 2023-02-20 21:55:55 +00:00
Nav
0a15ce8a84 Moved DateTime helper functions to service class 2023-02-20 21:55:55 +00:00
Nav
90ef72f686 Moved String helper functions to service class 2023-02-20 21:55:55 +00:00
Nav
8fa7e82c56 Moved Paths helper functions to service class 2023-02-20 21:55:55 +00:00
Nav
4c25c85c36 Moved Process helper functions to service class 2023-02-20 21:55:55 +00:00
Nav
d353b55f9b Renamed TargetControllerConsole to TargetControllerService 2023-02-20 21:55:55 +00:00
Nav
de97e8d4e0 Tidying 2023-02-20 21:55:55 +00:00
Nav
a0a7693d03 Added social link to about window 2023-02-20 21:55:55 +00:00
Nav
21c2658c43 Memory snapshot management via memory inspection pane 2023-02-20 21:55:55 +00:00
Nav
1091966f72 RetrieveMemorySnapshots insight worker task 2023-02-20 21:55:55 +00:00
Nav
be5127feda CaptureMemorySnapshot insight worker task 2023-02-20 21:55:55 +00:00
Nav
59776f1a0e Memory snapshot data structure 2023-02-20 21:55:55 +00:00
Nav
fe6e5379ff Tidying 2023-02-20 21:55:55 +00:00
Nav
47b9c53033 Created custom PushButton widget and added custom styleName property for styling primary buttons 2023-02-20 21:55:55 +00:00
Nav
fc883d5d1e Moved memory region JSON conversion to individual constructors/member functions 2023-02-20 21:55:55 +00:00
Nav
c2201548e9 Fixed nested PanelWidget bug where parent widgets were being affected by PanelWidget::updateVisibility() 2023-02-20 21:55:55 +00:00
Nav
7f96e5fb70 Moved memory inspection pane styles to separate file 2023-02-20 21:55:55 +00:00
Nav
462bf0ff67 Refactored resizing code for PanelWidgets and added support for right-sided panels 2023-02-20 21:55:55 +00:00
Nav
2b5756c5e2 Tidying 2023-02-20 21:54:28 +00:00
Nav
05832839f0 Output EDBG parameter values in debug logs 2023-01-21 13:54:40 +00:00
Nav
b5dfa4a842 Tidying GDB packet class 2023-01-21 13:40:39 +00:00
Nav
6b4d3ecb26 Moved toHex functions to String helper class 2023-01-21 13:37:56 +00:00
Nav
693abced8e Replaced overloaded casting of CMSIS-DAP Command with rawCommand member function 2023-01-20 22:53:04 +00:00
Nav
d6cd5da1b8 Binned udev rule check in TargetController 2023-01-18 00:41:23 +00:00
Nav
46592e4323 Corrected distributed font paths 2023-01-18 00:35:23 +00:00
Nav
0b19de8afa Moved distributed files to build/distributed and stop placing the binary in build/bin (have binned that directory).
Also updated installation rules
2023-01-15 21:20:09 +00:00
Nav
c35565bcd0 Register std::map<Targets::TargetMemoryAddress, Widgets::ByteItem*> meta type 2023-01-14 12:53:57 +00:00
Nav
7e08da1122 Corrected bug with hex viewer in memory inspection pane remaining disabled upon activation 2023-01-14 03:06:21 +00:00
Nav
e6f53b1afd Tidying 2023-01-14 03:03:22 +00:00
Nav
dfaac9e30f Extract HID report size for EDBG debug tools via HID endpoint descriptor.
Removed hidapi bodge (where we were mimicking the hid_device_ struct, to
obtain the report size via `(hid_device_*)->input_ep_max_packet_size`).
2023-01-14 03:03:10 +00:00
Nav
e3e37ace4b Ignore erase requests for debugWire targets 2022-12-18 21:35:10 +00:00
Nav
5854b43816 Tidying 2022-12-18 19:28:57 +00:00
Nav
09fc5b73f2 Restricted the size of all memory access commands to ensure that no more than two packets are sent to and from EDBG debug tools 2022-12-18 19:25:40 +00:00
Nav
f64a14b04a Corrected memory type used for memory writes with the JTAG config variant, in the EDBG AVR8 driver 2022-12-18 19:23:58 +00:00
Nav
5fe50b1997 Increase CMSIS response timeout for EDBG debug tools 2022-12-18 19:22:47 +00:00
Nav
0a6951865c Fixed regression which was causing a deadlock when de-registering event handlers from an event handler 2022-12-18 17:56:21 +00:00
Nav
262c50ec3d Changed format of memory capacity string in the TargetMemoryInspectionPane widget (to include commas in the capacity (i.e "2,048" instead of "2048")) 2022-12-18 15:48:06 +00:00
Nav
ad06cdcc75 Removed the requirement of the max memory access limit being greater than the target's flash page size.
It's no longer needed as we've stopped enforcing the limit for memory types that require page alignment.
2022-12-17 18:31:05 +00:00
Nav
92860e87de Commented out external SRAM memory segments from AVR8 TDFs - Bloom doesn't currently support accessing external SRAM 2022-12-17 18:12:00 +00:00
Nav
3b137aa539 Removed max memory access check during address alignment (it's not needed). 2022-12-17 18:10:51 +00:00
Nav
529438b9e4 Tidying 2022-12-17 14:46:08 +00:00
Nav
9097e37375 When splitting a memory read into numerous reads (in the ReadTargetMemory Insight worker task), use the page size if it's available and not less than 256 bytes. 2022-12-17 14:45:54 +00:00