|
From: Lukáš Z. <luk...@gm...> - 2012-03-20 20:51:07
|
Hi, I gave it a look and few minutes of stepping into it and found out that Registry view is created in the very strange fashion which practically disallow any add-ons while it is hardcoded and not loaded from contributions as one would expect from Eclipse Plugin. (My humble opinion after very short examination). But I checked how the register data and memory view data are gathered from the gdb interface and it shouldn't be too hard to use. I will probably hack the AVR Device Explorer view to reflect selected project MCU and add once column with value. It seems to be the easiest place to plug into because there already is a list of registers, its addresses. Special view can be created later which could cover general purpose register as well and it would be replacement of the current Registers view. If anyone has some idea please share. I am happy to create something what could be useful for the community but I don't have many opportunities to do so. I will enjoy this one :) Best Regards LZ Dne 20.3.2012 20:51, Jon Escombe napsal(a): > On 17/03/12 14:53, Lukáš Záruba wrote: > >> There is one more thing in my head: >> In the registers view in the debug perspective there is only one section >> "General Registers". I wonder if it is possible to show there >> (optionally perhaps) other important registers (not really registers but >> IO memory) as shown in AVR studio or VMLAB. It would be more than useful >> I guess. >> While I am much better in developing plugins for Eclipse than in AVR C >> development ;) I would like to offer my help creating this feature if >> possible. (Off the top of my head -> reuse backend of Memory window, use >> definitions for specific MCUs to search for addresses to read and to >> translate the loaded data into some human readable output possibly even >> with "translations" of applied values like "UART - 9,6k no parity, >> ....."). I like this feature in the VMLAB but there are obsolete >> definitions and it is simulation only. >> >> If you think this is something worth exploring, just let me know and I >> will try look into it. >> >> Thanks again >> >> Best regards >> >> Lukas Zaruba >> > > Hi Lukas, > > I think an IO / register view would be a great feature to add. I > looked into it myself once, but found the Eclipse plugin learning > curve too steep! > > Regards, > Jon |