Commit Graph

940 Commits

Author SHA1 Message Date
Nav
42e2730408 Fixed AVR8 activation bug, where a hardcoded break statement was causing issues with reading data from the target, post activation 2022-05-03 19:58:44 +01:00
Nav
680f85bf50 Improved logging in InsightWorker 2022-05-02 18:56:31 +01:00
Nav
fad9ac3e5a Ignore TargetReset event in Insight, if target execution has resumed since the event was triggered 2022-05-02 18:56:17 +01:00
Nav
9b2537553d Added section on TC suspension, in TC documentation 2022-05-02 17:29:32 +01:00
Nav
d0ca05f9e9 Tidying 2022-05-02 13:38:03 +01:00
Nav
6e8abaeeb7 Updated project documentation 2022-05-02 13:19:03 +01:00
Nav
886f61f8a8 Referenced new TC documentation in DebugServer docs 2022-05-02 13:18:36 +01:00
Nav
a7a6f7df1c Initial draft of TC documentation 2022-05-02 13:17:32 +01:00
Nav
15f7aca952 Mentioned OCDEN fuse bit in AVR8 failure error message 2022-05-01 21:18:20 +01:00
Nav
f5170fd9f0 Handled errors in TargetReset event handler (in the InsightWorker) 2022-05-01 21:17:55 +01:00
Nav
07de0931b3 More tidying 2022-05-01 19:45:56 +01:00
Nav
2c58103208 Used new TargetControllerConsole::getProgramCounter() member function to retrieve the PC upon a TargetReset event being fired (as opposed to just hard-coding the PC) 2022-05-01 19:40:50 +01:00
Nav
554d4607c5 Removed correlationId from events - no longer used or needed 2022-05-01 19:33:22 +01:00
Nav
17daa5fbb9 Tidied TargetControllerComponent class 2022-05-01 19:29:32 +01:00
Nav
64de134a28 More tidying 2022-05-01 19:02:04 +01:00
Nav
e6cd1faef1 Removed EventManager and EventListener dependency from TargetControllerConsole class 2022-05-01 18:57:45 +01:00
Nav
fe846e0d7c Renamed SetProgramCounter TC command to SetTargetProgramCounter 2022-05-01 18:47:57 +01:00
Nav
4209d9eb20 New GetTargetProgramCounter TC command 2022-05-01 18:46:57 +01:00
Nav
96cae9d1e4 Replaced ExtractTargetDescriptor event with TC command 2022-05-01 18:32:54 +01:00
Nav
d8af8fe1ee Replaced RetrieveStackPointerFromTarget event with TC command 2022-05-01 18:06:21 +01:00
Nav
75d8ca68fb Tidying 2022-05-01 17:48:56 +01:00
Nav
1072534809 Replaced SetTargetPinState event with TC command 2022-05-01 17:33:09 +01:00
Nav
870c4ba3d7 Replaced RetrieveTargetPinStates event with TC command 2022-05-01 00:07:12 +01:00
Nav
7c4e39dd03 Replaced SetProgramCounterOnTarget event with TC command 2022-04-30 23:10:07 +01:00
Nav
acc96fd6d1 Replaced RemoveBreakpointOnTarget event with TC command 2022-04-30 22:45:46 +01:00
Nav
f7619f475b Replaced SetBreakpointOnTarget event with TC command 2022-04-30 22:03:28 +01:00
Nav
226b663aea Moved responsibility of stopping and resetting the target at the beginning of the debug session to the DebugServer. 2022-04-30 16:22:51 +01:00
Nav
8fa8cf48d9 Made the TargetController refuse commands that require the target to be stopped, when the target is running 2022-04-30 15:53:36 +01:00
Nav
29cc4bf60b Fixed bug with TargetController not being notified of new events 2022-04-30 15:51:47 +01:00
Nav
e98f37bfeb Changed GPIO pin direction label positioning, in QFP target package widget 2022-04-30 13:24:49 +01:00
Nav
75d18b45fb Adjusted QFP pin body widget size 2022-04-30 13:24:24 +01:00
Nav
2f80690d27 Changed my mind RE pin direction label text 2022-04-30 12:39:16 +01:00
Nav
1c1c00190f Changed pin direction label positioning and text, for DIP target widgets 2022-04-30 02:38:38 +01:00
Nav
e113ce296b Tweak to Registers tool button margins 2022-04-30 02:38:08 +01:00
Nav
6f576fb48d Tidying 2022-04-30 01:45:49 +01:00
Nav
01bc53ffce Added memory type, start address and size members to the MemoryWrittenToTarget event 2022-04-30 01:37:00 +01:00
Nav
ffc27a567b Replaced WriteMemoryToTarget event with TC command 2022-04-30 01:30:57 +01:00
Nav
63dc84aba0 Moved CMake installation rules into separate CMake file. Plus some other tidying 2022-04-29 22:12:47 +01:00
Nav
76e189162e Replaced StepTargetExecution event with TC command 2022-04-29 22:12:09 +01:00
Nav
3fc558f3e8 Added requiresStoppedTargetState() member function to TargetController command classes.
The TargetController will use this to determine whether to stop the target before handling a given command.
2022-04-29 22:06:05 +01:00
Nav
80405057f6 Tidying 2022-04-28 21:21:59 +01:00
Nav
178df2d9e0 Fixed that very annoying label bug, where the 'g' in the Registers label (in the Target Registers tool button) was being clipped. 2022-04-28 21:08:31 +01:00
Nav
fa037a81b1 Replaced nasty onInsightStateChangedEvent event handler in TargetController with new GetTargetState command 2022-04-28 21:06:57 +01:00
Nav
5a8aa3d657 New GetTargetState TargetController command 2022-04-28 21:05:53 +01:00
Nav
4b19db5505 Fixed bug with GDB debug server not allowing any time for the TargetController to wake up. 2022-04-27 22:08:14 +01:00
Nav
687e28718c Replaced ReportTargetControllerState event with TC command and renamed TargetControllerStateReported event 2022-04-27 22:07:14 +01:00
Nav
f42abe1342 Tidying 2022-04-24 23:24:58 +01:00
Nav
417a716e10 Removed unused TargetControllerConsole function 2022-04-24 18:59:55 +01:00
Nav
391b742d8b Replaced RetrieveMemoryFromTarget event with TC command 2022-04-24 18:55:19 +01:00
Nav
6e4364b43a Corrected unnecessary reloading of target pin states upon writing to a pin register (via Insight) 2022-04-24 17:46:35 +01:00