Prev: PC104 to QVGA TFT LCD via SPI
Next: Does anyone have current contact details for Jerry D. Harthcock?
From: Cesar Rabak on 15 Oct 2009 17:27 nobody escreveu: > Cesar Rabak wrote: >> Rich Webb escreveu: >> >>> On Thu, 15 Oct 2009 19:53:35 +1100, "Marc Hillman" >>> <7owsx1j02(a)sneakemail.com> wrote: >>> >>>> I'm looking for a Statechart (Harel) tool that supports C code >>>> generation, and is free (not trial copies). Any suggestions? >>> >>> >>> Rule #3: Always check http://sourceforge.net >>> >>> Searching on "state machine" returns several results, including >>> http://smc.sourceforge.net/ >>> >> It seems SMC does not generate Harel (hierarchical) state charts. >> > > In my experience (several years of professional OO work), if you need > hierarchical state charts, your class model is incorrect. > > http://knol.google.com/k/leon-starr/how-to-build-articulate-uml-class-models/2hnjef6cmm97l/4 I think you experience does not apply here. It is possible to do the design using only state machines and turning them in code without need to resort to OO (be it analysis or design). OTOH, since Harel (hierarchical) cope well with the expansion of states that "flat" state machines have when working in real life projects. -- Cesar Rabak GNU/Linux User 52247. Get counted: http://counter.li.org/
From: vinnie on 16 Oct 2009 08:21 >I'm actually looking for a software tool. I have an extremely good >understanding of statecharts having used iLogix Statemate for many years. >I'm looking for a free tool that hopefully targets C/PIC processors. I wish >to draw my statecharts and then autogenerate code. The book recommended is a >methodology, not really the type of tool I'm looking for. > The book and website actually contains a really vast amount of reference code that runs on dozens of embedded platforms. What this would give you is a framework to create your own application with or without a premptive RTOS component. The framework gives you active objects, event queues, multiple simultaneous statemachines and other services. check out the ports here: www.state-machine.com It isn't going to generate code for you, but coding of the state machines is a breeze if you create the appropriate diagrams in Visio (or other drawing package). Filling in the actual "application code" is what takes time, and I don't know of many tools that can generate that for you. ;-) --------------------------------------- This message was sent using the comp.arch.embedded web interface on http://www.EmbeddedRelated.com
From: vinnie on 16 Oct 2009 09:12 >nobody escreveu: >> In my experience (several years of professional OO work), if you need >> hierarchical state charts, your class model is incorrect. >> >> http://knol.google.com/k/leon-starr/how-to-build-articulate-uml-class-models/2hnjef6cmm97l/4 > >I think you experience does not apply here. It is possible to do the >design using only state machines and turning them in code without need >to resort to OO (be it analysis or design). OTOH, since Harel >(hierarchical) cope well with the expansion of states that "flat" state >machines have when working in real life projects. > I'm confused... UML 2.0 is very broad and includes multiple tools for high level software design. OO would be a subset of that, right? Anyway, the hierarchical state charts are one tool that I've found particularly useful in the past. It has worked for me when using C on embedded chips. I don't see how that would automatically mean I'm engaged in bad OO design... --CG --------------------------------------- This message was sent using the comp.arch.embedded web interface on http://www.EmbeddedRelated.com
From: Cesar Rabak on 16 Oct 2009 10:01 vinnie escreveu: >> nobody escreveu: >>> In my experience (several years of professional OO work), if you need >>> hierarchical state charts, your class model is incorrect. >>> >>> > http://knol.google.com/k/leon-starr/how-to-build-articulate-uml-class-models/2hnjef6cmm97l/4 > >> I think you experience does not apply here. It is possible to do the >> design using only state machines and turning them in code without need >> to resort to OO (be it analysis or design). OTOH, since Harel >> (hierarchical) cope well with the expansion of states that "flat" state >> machines have when working in real life projects. >> > I'm not sure if your comments are addressing my post or nobody's one, so. . . > I'm confused... UML 2.0 is very broad and includes multiple tools for high > level software design. OO would be a subset of that, right? UML is a 'modeling language' so is not a tool nor includes any tool at all. I will take you're using 'tool' here as figure of speech. > > Anyway, the hierarchical state charts are one tool that I've found > particularly useful in the past. It has worked for me when using C on > embedded chips. Yes, that's why I made my comment above. > > I don't see how that would automatically mean I'm engaged in bad OO > design... Me either. -- Cesar Rabak GNU/Linux User 52247. Get counted: http://counter.li.org/
From: Cesar Rabak on 23 Oct 2009 15:52
Dan Henry escreveu: > On Thu, 15 Oct 2009 19:53:35 +1100, "Marc Hillman" > <7owsx1j02(a)sneakemail.com> wrote: > >> I'm looking for a Statechart (Harel) tool that supports C code generation, >> and is free (not trial copies). Any suggestions? > > IAR's visualSTATE http://www.iar.com/vs > But it is not free, is it? -- Cesar Rabak GNU/Linux User 52247. Get counted: http://counter.li.org/ |