After spending 2 1/2 weeks solid at 40 + hours a week flowcharting a 3870 line
PIC 16C73 program, I am wandering if there are any automatic flowcharting
resources available?
This would make an interest project and I bet folks like me would purchase
them.
This sparks another of many great ideas to be entered into the
"I wish I had time to do that " list.
If you write the code first, then want a flowchart couldn't a
semi-intelligent
search routine go through the .ASM file and pick up the labels, goto, call
and decision
making opcodes and come back with some kinda program flow?
Sounds feasible?
And the reverse of this, flowchart first - program generated from flow
chart,
falls into the marketable product category.
> ----------
> From: spam_OUTPDRUNENTakeThisOuTAOL.COM[SMTP:.....PDRUNENKILLspam@spam@AOL.COM]
> Reply To: pic microcontroller discussion list
> Sent: Wednesday, February 03, 1999 2:08 PM
> To: PICLISTKILLspamMITVMA.MIT.EDU
> Subject: PIC FLOWCHARTING PROGRAM?
>
> Hi PIC LISTER,
>
> After spending 2 1/2 weeks solid at 40 + hours a week flowcharting a 3870
> line
> PIC 16C73 program, I am wandering if there are any automatic flowcharting
> resources available?
>
> This would make an interest project and I bet folks like me would purchase
> them.
>
> Paul
>
At 15:24 02/03/99 -0500, Lyons, Russell M. wrote:
>And the reverse of this, flowchart first - program generated from flow
>chart,
>falls into the marketable product category.
there are already some products out there which do this. probably none with
a configuration for the pic, but probably at least some of them are
configurable. i think visio can be configured to generate code from the
flowcharts, i'm not sure though.
At 15:24 02/03/99 -0500, Lyons, Russell M. wrote:
>And the reverse of this, flowchart first - program generated from flow
>chart,
>falls into the marketable product category.
there are already some products out there which do this. probably none with
a configuration for the pic, but probably at least some of them are
configurable. i think visio can be configured to generate code from the
flowcharts, i'm not sure though.
ge
PS on a second thought: in this case, why not use a compiler (c or other)?
if you really want to, you can use it as a flowchart type thing only, use
only branching and subroutine calling (and not all the various c
specialties) and write all your code as inline assembler. or write c
programs... :-) i've never seen the use for a flow chart with a reasonably
well designed (and written) c program.
oh wait....here we go. I am currently evaluating a program called STATECAD.
Its a flowchart type thing, and wouldn't ya know it, one of the output
formats is C !! I'm using it for verilog, but hey....maybe if its ansii C,
it can be preprocessed for targeting a PIC.
Its NOT a hobbyist type price ($1500 or so), but they do give an unlimited
30 day eval. Cool huh?
In a message dated 99-02-03 14:22:29 EST, you write:
<< I usually flow chart as I go...that way you can see potential bugs before
they bite
>>
Yep! That is the way I do it to. But most of the time as a consultant you
are
given an existing device, existing product specification and new improvements
or wish list as well as a hex file to work with (sometimes not too). No other
information is available because the other consultant did not give it to them.
he had been in the same boat.
When I was a student at WPI they had a flow charter program that would read
your FORTRAN source code and create a Flowchart on this idea. It was
somewhat stupid but you could then create a better flowchart and use that
output as a guide to be sure you got everything.
>Well,
>
>This sparks another of many great ideas to be entered into the
>"I wish I had time to do that " list.
>
>If you write the code first, then want a flowchart couldn't a
>semi-intelligent
>search routine go through the .ASM file and pick up the labels, goto, call
>and decision
>making opcodes and come back with some kinda program flow?
>Sounds feasible?
>
>And the reverse of this, flowchart first - program generated from flow
>chart,
>falls into the marketable product category.
>
>Russ L
>
>> ----------
>> From: .....PDRUNENKILLspam.....AOL.COM[SMTP:EraseMEPDRUNENspam_OUTTakeThisOuTAOL.COM]
>> Reply To: pic microcontroller discussion list
>> Sent: Wednesday, February 03, 1999 2:08 PM
>> To: PICLISTspam_OUTMITVMA.MIT.EDU
>> Subject: PIC FLOWCHARTING PROGRAM?
>>
>> Hi PIC LISTER,
>>
>> After spending 2 1/2 weeks solid at 40 + hours a week flowcharting a 3870
>> line
>> PIC 16C73 program, I am wandering if there are any automatic flowcharting
>> resources available?
>>
>> This would make an interest project and I bet folks like me would purchase
>> them.
>>
>> Paul
>>
>
>