watch window implementation
Larry Martin
Posts: 101
I am thinking about implementing a Watch window for my Propeller based system. I have designed a custom realtime board for an industrial sensor based on Propeller, programmed in SPIN. It goes with a PC program that sets it up and logs results. As the system becomes more complex (it started as an SX52), I need to debug it in the field, without my 'scope and other crutches. I have tried ViewPort, but think I need something different. For example, my SPIN code has one master Long that is packed with bitflags, and I need those decoded into mnemonics.
So I want to create a Watch window in my PC application. On a click, the PC would send a request to dump memory, the Propeller system would dump memory to the PC, and the PC would display the memory per a symbol table. Since Propeller Tool does not generate symbol tables, I would have to write a separate program to generate symbols from my SPIN source.
Questions:
1. Does anyone know if something like this exists already?
2. Does DAT memory always start at offset 0x0000018C ?
3. Is the start of VAR memory always saved to offset 0000000A ?
Thanks,
Larry
So I want to create a Watch window in my PC application. On a click, the PC would send a request to dump memory, the Propeller system would dump memory to the PC, and the PC would display the memory per a symbol table. Since Propeller Tool does not generate symbol tables, I would have to write a separate program to generate symbols from my SPIN source.
Questions:
1. Does anyone know if something like this exists already?
2. Does DAT memory always start at offset 0x0000018C ?
3. Is the start of VAR memory always saved to offset 0000000A ?
Thanks,
Larry
Comments
This shows the address relative to the object base. Object addresses are also in there:
Larry