Code analysis/documentation tools?
Posted: Sat Dec 12, 2009 8:42 am
For my 1-wire toolkit implementation (see projects), I need a simple binary oscilloscope with a resolution of about 3 microseconds. I'm away from my normal office and have nothing to hand, so I'm considering making a software scope running on an XC-2. I'll use as a basis the XC-2 firmware web-server, with an extension that reads a buffer from a thread that samples a port for a certain duration at at a certain frequency. I think this would be generally useful, so I'll probably open another project, to see what interest there is.
Anyway.... As I work through the web server code, which is pretty complex, IMHO, I would love to have a circles-and-arcs style of diagram, with channels labelled, and possibly with protocol annotations. If those circles could be drawn within a representation of their allocated cores, and annotated with module names, so much the better. If this were implemented in SVG, there could be active links to more detailed diagrams, and perhaps to source code. The results could also be rendered to PDF for project documentation.
Has anyone done anything like this? This would be a great addition to the toolkit, and is about the right size for a student project.
If I hear of nothing in the next few days, then take this as a project proposal, and I'll make a project outline.
Anyway.... As I work through the web server code, which is pretty complex, IMHO, I would love to have a circles-and-arcs style of diagram, with channels labelled, and possibly with protocol annotations. If those circles could be drawn within a representation of their allocated cores, and annotated with module names, so much the better. If this were implemented in SVG, there could be active links to more detailed diagrams, and perhaps to source code. The results could also be rendered to PDF for project documentation.
Has anyone done anything like this? This would be a great addition to the toolkit, and is about the right size for a student project.
If I hear of nothing in the next few days, then take this as a project proposal, and I'll make a project outline.