bloombloombloom / Bloom

A debug interface for AVR-based embedded systems development on GNU/Linux.
https://bloom.oscillate.io/
Other
65 stars 4 forks source link

View and manipulate target registers from the Insight window #5

Closed navnavnav closed 3 years ago

navnavnav commented 3 years ago

With all of the data we possess in target description files, we should be able to obtain a description of every register on the target. With this data, we can present the user with a means to view & manipulate register values from the Insight window.

The registers should appear in a panel to the left of the Insight window. From there, it should list the registers by their name and their value (in hexadecimal format). Double clicking on the register should open a new window, from which the user should be able to input a new value for the register.

Those are just my first thoughts. More to follow.

navnavnav commented 3 years ago

Quick update on this: Have made some progress with extracting target register information from TDFs.

Also, I've made a start on the GUI changes: image

Development is a bit slow ATM, as I'm a bit tight for time right now. Will post further updates as and when I can.

navnavnav commented 3 years ago

Quick update on this: have made good progress with the target registers side pane widget. Still have a fair bit of functionality to implement. As mentioned in a previous comment, development is quite slow ATM.

Bloom_021

I've also made some tweaks to the colour palette to use colours that are softer on the eyes and IMO look nicer.

navnavnav commented 3 years ago

Quick update:

Bloom_024

✅ Expand all & collapse all buttons ✅ Search ✅ Resizing of left panel ✅ Loading of registers values and displaying them inline ✅ Individual refreshing of register values (triggered via context menu action) ✅ Refresh all register values via refresh button in header tool bar ✅ Dramatically improved speed of register value loading, to accommodate Insight's eager loading

Almost there! Register manipulation is next.

Screenshot of register searching:

Bloom_025

navnavnav commented 3 years ago

Quick update:

Small tweaks to inline register value display (we now include the decimal and, if applicable, the ASCII value. Also, values that have changed since the last read are highlighted):

Bloom_026

I've made some progress on the register inspection window:

Inspect Register_027

The inspection window still needs some work.

navnavnav commented 3 years ago

Quick update:

Register inspector window almost finished: Inspect Register_035

Not much to do now. Hoping to close the release some time next week and begin testing.

navnavnav commented 3 years ago

Quick update:

Register inspection window is complete for this release:

Inspect Register_036

Release v0.4.0 is now closed to any new features.

I have already begun testing and will continue to do so for the rest of the week. If all goes well, I'm looking to publish the release early next week. Maybe Monday or Tuesday. This release will also include changes to the website.

navnavnav commented 3 years ago

Bloom v0.4.0 has just been released with these changes. Closing this issue.