HOME  |  NEWS  |  BLOGS  |  MESSAGES  |  FEATURES  |  VIDEOS  |  WEBINARS  |  INDUSTRIES  |  FOCUS ON FUNDAMENTALS
REGISTER   |   LOGIN   |   HELP
Comments
You must login to participate in this chat. Please login.

Hello from Gold River.

Iron

Excellent and very informative. Thank you Jon

Iron

Thank you for the informative session.  @Jon- do you have any particular user forums you recommend for beginner MCU programmers?  I'm just starting with Arduino...

Iron

thanks sir alex for your reminder and thanks alot with sir jon for giving us a well-informative presentation that will guide us so far..

thanks to all colleagues attending here and happy good day to all...

i will go now with the next part of this class...thanks...

sir jon is right, coordination among members are essential to develop and finsh the product...

thanks alot...

thanks once again with all the information and references sir jon...

excellent presentation, appreciated much!

terrific sir jon...appreciated alot.

i am now on slide 26

very interesting sir jon to go back again with the programs and coding tools that enhanced our abilities...

i am now on slide 20

i already forget the programs on how to execute the model based, because i am now focussing on building services, but it's good to know more and learn once again...

i am now on slide 12

very interesting, but i think those model shown are difficult on how to start with...

i am now on slide 9

i am now on slide 6 for the model based

yap, but i deleted those excess slides sir, no problem with that...

i am now about to start the lecture with introduction of sir alex...

i think this is the most difficult part about sofware design...let me see with sir jon...thanks again

good afternoon sir alex...

ok, i already downloaded and i will look at it first before going through with sir jon...

i am now downloading the educational material for this class series of part III...

happy lunch time! good day to all and to our sir jon!

today, i will go through again for part III as a continuation of the last two parts of this class...

Thanks for the QA section

The discussion on the simulation topics could be a course all by itself!  I for one would like to know more about simulation techniques.

Iron

Are there any third party coding tool that cover multiples microcontroller suppliers?

Iron

Are there any way to programm a microcontroller directly from MATLAB and Simulink?

Iron

@DaveWR: Thanks for the link.

Iron

thanks for this seminar!!!

Iron

Good presentation had forgotten Labview could be used for simulation.

Iron

For those interested in "The State Machine" Miro Samek et al: http://www.state-machine.com/downloads/index.php

Open Source Software available

Iron

Thank you Jon and Alex

Iron

good last slide, thanks

Iron

i think each of these tools has a library that you can export to any of the other two, so you can use the best features of each tool for your design

Iron

once i saw a video by maplesoft where they demo how a design would make a robot work, very neat!

Iron

Thanks Jon and Alex.

Iron

Love the comment about Wikipedia being down for the day!  Slight taste of where we are/were heading!

Iron

Big fan of the color coded compilers; really helps you keep track of things in longer programs.

Iron

I have had issues with files being saved to locations that I (rushing and not paying attention to) have had trouble finding again.  Minor hassle, but it does cost time.

Iron

Actually, (now that I am reading the whole thing) it goes from Red to Yellow to Green to Yellow and back to Red?

Iron

On Slide 15/16, why does the traffic light on Farm Road turn yellow before turning green?

Iron

It seems like there was very little communications in the old days of programming.

Iron

What is the opinion of the modeling tool scilab.com?, Thanks!

Iron

Excellent presentation of a very challenging subject!

Iron

Here is Simplicity Studio that Jon mentioned:

http://www.energymicro.com/software/simplicity-studio

Iron

Great series! Thanks!!!

Iron

What is the typical lifespan of programming tools in that MCU's seem to have shorter lifespans throught their respective manufacturers?

Iron

The idea with software development should always begin with "Hello world"...

Iron

It mainly depends on your budget and how well you do your research on the best IDE.

Iron

There are many more IDE's from other companies that you have to pay for that are better and more complete.

Iron

Usually the development IDE with the MCU is the easiest to use.

Iron

another fine presentation.

Iron

I currently use Win-AVR for my AVR development.  Would really like to see more tools aimed at Mac OS X though.  Seems many engineering companies are allowing engineers to switch.

Iron

good presentation. thanks, Jon!

Iron

End of the day.  I hope I answered most of the questions. Thanks for "tuning in." --Jon

Blogger

Q:  I have a question about third party and programmer tools (jtag programmers) . how can I make sure those tools work with third party development tools? I used link programmer ATMEL for AT9(ARM9) and didn't work with compiler (KEIL ) . how can we taker over this issues?

A:  The 3rd-party software suppliers want to control the hardware so they can update firmware and handle the PC-based drivers and JTAG connections.  That makes sense and simplifies any "he-said she-said" situations where one company blames another for problems: "It's your pod that's the problem. No, it's your tools that cause the problem, etc..."

As I noted in the seminar, avoid programming and debugging pods from Asia.  I have read posts that describe compatibility problems with many of those pods.  Do you want to stake your career on a few-hundred-dollar difference between a reputable vendor known in the industry and a cheap product from Asia you uncovered on ebay?

Also, JTAG is not always JTAG between manufacturers.  The IEEE 1149 JTAG standard uses signals for boundary-scan tests and in-circuit programming, but the MCU JTAG pods might not adhere to this standard.  Don't assume because a pod has a "JTAG" interface it will work with all other JTAG devices.

Blogger

Q:  Is  model creation in the Maplesoft easy? Should you decide algorithm when you create model?

 

A:  Maplesoft has some videos on its site that will answer your questions better than I can in a short answer at the end of a long day: http://www.maplesoft.com/products/maplesim/index.aspx.  Watch the short video.  If you're serious, request a live demonstration.

Blogger

Q:  Will model tools produce MISRA C code?

 

A:  I would bet they would because the auto industry makes use of these tools.

Blogger

@khan38 thanks. :) I guess autogenerated code would hardly be readable. This is not a nice thing.

franchzillaIRON

Wednesday January 18, 2012 2:15:53 PM

I guess this slide answers part of my question. But is the code generated good? Or does it lack performance?

franchzillaIRON

Wednesday January 18, 2012 2:15:50 PM

@franchzilla There is a way, I have done it once. but the code is almost undreadable.

 

A:  Contact The Mathworks, National Instruments, and Maplesoft and ask for the C code for the same simple function.  That will help you determine the "quality" of the code produced.

Blogger

Q:  Jon can you recommend a path/tool for the lone engineer working from a home lab?

 

A:  It depends on what you want to do, but to start, the Arduino Uno, Digilent chipKIT Uno32, ARM mbed, and Parallax BASIC Stamp provide good ways to get a quick start without the headaches of configuring compilers, worrying about libraries, and so on.  You can get a good start for under $150.  Note the Parallax BASIC Stamps use the BASIC language, but that shouldn't discourage you from taking that route.  Parallax has many good books, too.  I hope this helps.

Blogger

Q: @jon: C vs. ASM: Given that in both cases you're working close to the hardware, I wonder how reusable is embedded C across MCU families, say from MSP430 to PIC?

 

A:  Good question.  There's no compatibility between hardware functions, but if you have an algorithm that simply processes data, you can likely move the code between processors.  Lots of "gotcahs," though because, say one MCU has multiply hardware and the new target does not.  You have a line of code:

test = alpha * temperature;

 

The new compiler will handle this situationus but you'll end up with more code and a longer processing time without the multiply hardware.  It's not easy.

Blogger

Q:  Have you actually used UML? Big spec.

 

A:  I'm not sure whether you've asked me or the other "chatters" in general.  Anyway, no, I have not used UML because I never got involved with a project large enough to justify using or learning it.  See my answer below, too.

Blogger

Q:  Jon, in all fairness to all the different techniques and tools, isn't it fair to say that all this these different approches can and should be used at different phases of the project? 

 

A:  Good point!  It depends on the people you work with, company policies about project development, budget, and so on.   Some people will use model-based design only to tune algorithms and then create some C code they tune by hand.  For others, they have a project flow that uses state-machine notations and separate teams use a seat-of-the-pants method.  I just want people to know what's out there so they can investigate and find out what could work for them.

Blogger

Q:  Please inform the name of the book on flow code?

 

A:  Go to www.matrixmultimedia.com.

Blogger

Q:  Mrs. Z...  How reluctant of a beginner are you to get into C?  I think that the K&R is the best C book ever, since it is concise, but it is so concise that it can be hard for non-programers/non-engineers to devour.

 

A:  Try "Practical C Programming," by Steve Oualline, published by O'Reilly Media.

Blogger

Q: What learning tool, for us non-programmer (reluctant beginners) best addresses the differences and teaching of the MANY different addressing modes.  Decision and control, interupt and pin handling not so bad ... but the addressing mechanisms are terribly confusing.

 

A:  Addressing can get complicated in assembly language.  It gets easier in C with the uses of pointers and pointer addresses.  It's something you just have to experiment with and see the results.  Take a look at the book, "Mastering C Pointers," by Robert J. Traister.  It's available in a 2nd edition and I think you'll find it helpful.  I still have the 1st edition in my library.  You might find copies of the 1st edition available from second-hand book dealers on the Internet.

Blogger

Q:  If using PICs and assembly only - any advantage going to MPLAB-X over MPLAB-IDE?

 

A:  I haven't used all of the features of MPLAB X and no longer program in assembly language.  But MPLAB X provides a nicer interface because it uses a standard Netbeans framework, it will be easy to update and for developers to extend it.  Also, Microchip will not support new chips with older versions of MPLAB, so the "X" version is the way to go now so you're a step ahead.

Blogger

COMMENT:  I appreciate the "thank you's" from participants and have enjoyed creating this series. --Jon

Blogger

Q: which is better c or  assemble language?

 

A:  Better for what?  Each has a place.  Assembly language works with the hardware and gives you complete control over an MCU.  But it's easy to get into trouble and it has a steep learning curve.  If you want to move up a bit from the hardware and let C do a lot of the work, than go that route.  Years ago I programmed in assembly language and loved it because I could use any instruction and do anything I wanted with a processor.  But today I would not want to try assembly language on an ARM Cortex-M3 MCU.

Blogger

Jon, thank you very much for useful information.

Iron

Q:  Jon, I don't know you're planning to talk about his in the real-time module. Question is what doyou think of QNX Momentics to develop C/C+ code for even basic MCU software?

 

A:  I'm not familiar with the QNX Momentics software and the basic info doesn't explicitly say what ARM family the Momentics tools work with.  Perhaps someone else can offer more information.  Sorry I can't be of more help.

Blogger

Q: What source code control tools do you recommend?

 

A:  Someone mentioned Subversion.  Also look at GIT and Concurrent Version System (CVS)

 

http://git-scm.com/

 

http://cvs.nongnu.org/

Blogger

Q:  what is the tool in slide 23?

 

A:  That's GRACE from Texas Instruments for the MSP430 family of MCUs.

Blogger

Q: Jon, I'm in that problem now with PIC24... and MPLAB X appears to have no chip configuragion Wizard. 

 

A:  I talked with people at Microchip about a peripheral-device wizard and they said they do not have one.  That's a shame because it can take a while to become familiar with the registers and bits needed to control a device.  Microchip has good documentation and example code, but it's behind the times without a wizard.  Maybe customers can apply some pressure.

Blogger

Q:  Jon, what do the pods "emulate"?

 

A:  Years ago microprocessor manufacturers created special (expensive) bonded-out chips that brought out signals not present at pins on the normal, commercial processors.  The tool suppliers bought those chips and put them in pods that connected to a host computer and to the microprocessor socket on a board. The special chip would act like an MCU but also give the software tools extra information and control over the chip.  In essence, it would "emulate" the chip that would eventually go in the socket.  These days MCUs include debug capabilities, so emulator "pods" have disappeared.  Today's pods provide the debug connections for testing software and loading flash memory with code and data from a host PC.  The name "emulator" continues however, even though these pods no longer emulate a processor.  It's a case of an obsolete name sticking to a product.  Much like saying, "dial 212-555-0000."  There are no longer dials on phones.

Blogger

Q:  I worked for a while at an iOS development company, and the standard there was to eliminate comments...drove me crazy...never got a good reason why.

 

A:  Maybe next your old employer would have eliminated programmers. Go figure. Who knows why companies do things.

Blogger

Q:  Do most/all of the debug tools have a means to monitor MCU stack usage, stack overflows, max stack usage, etc.?

 

A:  Well, you get what you pay for.  The more-expensive tools include those types of capabilities, but don't expect them in every free or low-cost software package.  You'll have to check the specs for the tools you might consider to ensure they do what you want.  I doubt debuggers monitor the stack in real time, though.  

To estimate stack use, allocate a large amount of memory for the stack and fill it all with the same value, sau 0x55.  After you run your program, look at the stack area and determine the extent of changes from 0x55.  That will give you a first approximation of the amount of memory the stack used for that version of your code.  I would add quite a bit of memory, though, to be on the safe side.  I hope that helps.

Blogger

Q:  I am designing a microcontroller for a space application.  Can you suggest a reference on how to correct (SCRUB) memory to remove errors caused by radiation.

 

A:  You'll need radiation-hardened memories and a rad-hardened MCU.  Check with aerospace companies to find one that manufactures such devices.  They are expensive due to a limited market and special processing needed to harden them against radiation.  AMSAT has placed many small satellites into low-earth orbits, so you might find MCU-related info on the amsat.org site.

Blogger

Q:  Q: How would you use the model-based design approach in an embedded design that involves microcontroller ?

 

A:  Here are a few links to more information that will explain it in more detail:

http://www.kerhuel.eu/wiki/Simulink_-_Embedded_Target_for_PIC

http://www.mathworks.com/programs/ti-piccolo.html

Check the Mathworks site, too.  It's down for maintenance right now, so I could not use it to find anything for you.

Blogger

Q:  Can NI's Multisim simulate msp430?

 

A:  I don't know and the NI Web site is silent on this question.  I'd call a local NI sales office and ask someone.

Blogger

Q: How would you use the model-based design approach in an embedded design that involves microcontroller ?

Q: what is the benefit to use RTOS such as uC/OS II or III? Is it more complecate or overburden to make codes for small embedded applications? If so, what is the measure or reference to use or not an RTOS to develop an application? For e.g. code size or complexity or any other reasons to be developed application?

 

A:  The complexity of a project and the number of "threads" or processes you need to run determine whether or not to use an OS or an RTOS.  Ask Jack Gannsle this question in his sessions the week of January 29th.  He can add some insight into when to use an OS.  In the meantime, here's a good paper: http://www.netburner.com/downloads/embedded_projects/RtosVsInfiniteLoop.pdf.  I hope this helps.

Blogger

Q:  What are the chances that we burn the chips on dev boards becos of static in this winter season? Not everybody at home/hobbyists wear all the anti static gaurds.. right?

 

A:  Good question!  I always work on a static-dissipating mat on my lab bench and have a wrist strap with a solid ground connection.  My mat is bright green.  3M sells many desktop mats such as this one: TM2436L1BL-L.  You can find them from several suppliers.  I live in Utah and it gets very dry during the winter--lots of static sparks, so a mat is mandatory.  I recomment such a mat to everyone who works on electronic hardware.  Why risk killing a project? 

Blogger

Back from lunch...

 

Q:  Jon What are your thoughts on the Ti Grace software?

 

A:  I like it.  It's specific to the TI MSP430 family and doesn't cover all of the '430 chips, but I'd bet TI will extend it to other MCUs.  It just makes a lot of sense and it helps get programmers over the hurdle of setting up peripherals and I/O ports.  That's no small matter for some MCUs.

Blogger

thanks all you made  my day

Iron

See what you mean. VMs run in isolated level and nothing should just come out. I didn'thave any issues on this way but as you said you never know. Backups, backups ..

Iron

You're missing the point. Even if there were some solid ant-virus software for the Mac (maybe there is, maybe there isn't), what is really needed here is a comprehensive anti-virus solution that operates between both platforms, to make sure a virus can't get in on one side (in my example, the Mac side), and execute on the other.

i use antivirus SW on VMs as well. Then is the same as to have standalone PC .. virus can kill it too. But is quite easy to backup whole VM image and revert to one of old ones if something happens.

Iron

I intend to avoid exposing my computer to those problems.

Macs are immune to PC targeted viruses, but the second a Windows installation starts up, virus city.

tantilo, Jon is at lunch just now. Wait until he comes back. :)

The problem when you do that, though, is that if your Mac OS gets a virus, it can be executed on Windows. Which also may (likely will) contaminate your Mac installation. It's not really safe, gregorf.

Jon What are your thoughts on the Ti Grace software?

 

Iron

PC vs Mac .. workaround is to use VirtualBox or similar SW, install extra Win XP as VM, install needed IDE tools, bridge USB port over and things works. I used to evaluate some MSPs on this way on PC box but there should nto be any diff on Mac. There are just probably small drawbacks (performance, latency, ...) but is usefull to some level.

Iron

tantilo, you're asking yourself a question? XD

tantilo, What are your thoughts on the Ti Grace software?

Iron

Alaskaman66, I would generally avoid trying to detect hardware failure with software. Use hardware to detect a hardware failure, and have that communicate with the microcontroller.

Jon, thanks for the Q&A session too... looking forward for tomorrow's lecture.

Iron

Alaskaman66, the trickier part is isolating the potential short from the CPU so the CPU doesn't fail. You need to be able to safely detect the short. At that point, you probably want an interrupt to go off, to indicate that a short has occurred, and the circuit is no longer valid for execution.

That is OK.  I am just posting my experience and sharing it.  It may help someone.

Iron

Have a good lunch! And thank you for the lecture!

Iron

@Tenacious Techhunter - I went to the Clang site yesterday after someone (you?) mentioned it.  Looks attractive.  It will go onto my IDE DVD for future consideration.

Iron

What are the chances that we burn the chips on dev boards becos of static in this winter season? Not everybody at home/hobbyists wear all the anti static gaurds.. right?

Iron

How I would have done the HP job better is to use pulse width modulation to control the heating element. When the chip halts, the pulse width should stop, and so the heating element should turn off.

Taking a break for lunch.  Back later to answer other questions.  Thank you all.  On to Session 4 tomorrow.

Blogger

jsh, that's fine for a business, but lousy for individuals. I have no interest in this line of discussion.

Techhunter: here's another example I wish to try sometime..Build a glow plug controller for a diesel engine. The MCU will drive a solid state relay. If the relay fails shorted, could one devise a way to inform the driver with appropriate code and sensors?

Q: @Jon - worth a mention to remind folks to check mfg errata. it can happen that code can break due to a mfgr issue that might follow a particular die rev.

 

A:  Good point.  I know TI had some problems with the Code Composer Studio debug.  The breakpoints did not always stop at the proper place.  Since resolved, I think.

Blogger

For people interested in an all-in-one IDE, Clang is an LLVM based GCC replacement. It can support multiple chip architectures with the same "GCC", and thus, may become the basis of an all-encompassing IDE in the future.

Correction.  No Mac IDE we liked and wanted to use.

Iron

Now all of it is compiled on a PC.  

Iron

It was for us.  There was a chip we wanted, no Mac IDE, so we used a PC.

Iron

what is the benefit to use RTOS such as uC/OS II or III? Is it more complecate or overburden to make codes for small embedded applications? If so, what is the measure or reference to use or not an RTOS to develop an application? For e.g. code size or complexity or any other reasons to be developed application?

Iron

Q: @Jon - re: IDE's ... too bad some genius programmer hasn't produced an open source IDE that encompasses most of the major families, PIC, ARM, AVR, TI's chips.  

OTOH, I would guess setting it up would be as tedious as setting up Eclipse for GCC Arms.

 

A:  Yes, that's why I gave up on GCC a while ago.

Blogger

I'm not going to buy two computers my entire life just to get work done.

It isn't cheaper buying another computer. :P

Q: Hey guys - why not get Jon a color printer?  (Ha! Ha!)

A:  I have one, but it is sooooo slow.  Would you like my UPS shipping address? ;-)

Blogger

kenstan, use the most convenient language that suits your application on the chip you need to use. C will allow you a wider range of chips, but if you are only interested in big chips like ARM CPUs, you might as well use c plus plus, if you prefer it.

@Jon - re: IDE's ... too bad some genius programmer hasn't produced an open source IDE that encompasses most of the major families, PIC, ARM, AVR, TI's chips.  

OTOH, I would guess setting it up would be as tedious as setting up Eclipse for GCC Arms.

Iron

I'm not.  I had a similar problem.  It was cheaper and easier to buy a PC.

Iron

Techhunter: Constrain the output perhaps with a watchdog timer? Certainly I would include a thermal fuse in the design an an absolute backup, and write code to announce if it opened.

jsh, this isn't the place to start a flame war. Please take that outside.

c or c+ which is better?

 

Iron

Q: What would be the best *free* / really cheap software & hardware for me to gain some skills at home?  (I'm not a programmer type, trying to expand the horizons)

A:  There are some online C compilers so you can try some code and see what happens.

Blogger

I've been bitten by that before... >_<

Jon, that strategy doesn't work too well if you need a Mac IDE. :)

Q: how do we downlod the chat for later review

A:  The chat will become part of the archived materials.

Blogger

@Tenacious TechhunterMaybe the parts but not the circuit. Two pins could short out no matter what circuit you use.

Iron

Q: @Jon - Your specific recommendations for IDE's (by chip mfg & chip family)?  Is a place to see comparisons?  I have a DVD full of various free and eval copies of IDE's - in addition to the Visual Studio versions I use in the day job.

A:  I don't know of any comparison sites.  Usually people choose the MCU first and go with the tools available for it rather than vice versa.

Blogger

MPLAB X uses NetBeans for the IDE and is likely using GCC for the compilers, though I'm not certain.

Q: Can anyone recommend a good opensource IDE for PIC?

A:  If you mean the creator of the IDE used open-source, I believe the MPLAB X uses NetBeans, so you can easily create add-ons.  If you mean an IDE for open-source development tools for a PIC, visit: http://gputils.sourceforge.net/.

Blogger

But yeah, that is not necessarily an example of bad code, if the circuit itself clearly should have been better.

Clearly, it was not designed to fail safely at enough levels.

Deitel...can be longwinded, but that is my personal view...If you go to Amazon...read the reviews

Iron

Alaskaman66, it is better to safely constrain the output than to try and figure out all the inputs. Of course, the HP example may be more about the chip being shorted out, which means the board level design may be partly to blame. And if that was the case, the rest of the circuit should have cut the heating on account of no CPU response. I suspect that unit had more problems than just corroded keys!

I consider 430's user guide as a great resouce.. notice that user guide is different from data sheet.. it is free to d/l on ti.com

Iron

www.43oh.com is another great reference... 

 

Iron

There is alot of stuff out for the 430s.  Groups, wikis and communities on the net.  Search google and you will find alot.

Iron

Has anyone read any of the books by Deitel and what did you think of them?

Iron

MSP430 Microcontroller Basics

By John Davies & John H. Davies

is the best for you. 

Iron

msp430 also has a yahoo group with lot of activity.. see if you can join it..

Iron

Q: Question on software design: what about dealing with failure modes? I remember reading HP built a labware heater that could catch fire. Turned out the keypad had corroded so two keys were activated at once while the unit was in the heating mode. The progran simply halted.

A:  You strive to prevent that sort of action.  Always assume someone will do something wrong, press two keys at a time, not read a display message, etc.  You can't prevent every type of failure, though. Obviously the heater should have had a simple overheat sensor that would kill power if it ran "too hot" for a period of, say 1 minute.

Blogger

They are in stock now at ti.com.  But max order of 3 pcs.  They must be in demand.  At 4.30 I guess I can see why.

Iron

is there any difference b rt c and c+ in MCu programing?

 

Iron

cprogramming.com and text C+ Primer Plus (text)

Iron

John Davies for msp430 is not bad..good reference.

Iron

Q: john davis msp430 programming from amazon is one for msp430..any other resouce better than this?

A:  None I know of.  The David book got good reviews on Amazon.

Blogger

O'Reilly books get good reviews.

Can NI's Multisim simulate msp430?

Iron

A good tutorial for MSP430 is here: http://mspsci.blogspot.com/  This goes into many of the features of the MSP430s included with the Launchpad and is very thorough.

 

Iron

@jsh, TI was out of stock last time sop Iordered from mouser

Iron

My Grades show 0 even though I attended 3 sessions so far

 

Iron

check out:

http://thenewboston.org/tutorials.php

for several video tutorials on programming and other stuff

Iron

Alaskaman66, it depends on the simulator, and your settings for it, though I have little experience with them. Ultimately, you may be able to get your simulator to run in real time if you sacrifice some features. But more importantly is to be able to debug from the boards.

@DavidG Thanks! I didn't know that. 

@farebrog Order direct from ti.

Iron

Question on software design: what about dealing with failure modes? I remember reading HP built a labware heater that could catch fire. Turned out the keypad had corroded so two keys were activated at once while the unit was in the heating mode. The progran simply halted.

Q: It's been a LONG time since I had a C+ class... Any basic tutorials you would recommend?

A:  I'm not a C programmer, so I can't relate any experience,  I'd check C books on Amazon and find one that got good reviews.  Read the reviews, too.  Google has some courses of its own and I'd bet you can find other online courses, too.  Let me know how you make out.

Blogger

for a space application, shield, grounds, and short traces on the pcb are important.

Iron

the Launchpad from TI is a newer version than the distributors have in stock right now.

Iron

Grades or points in the course, are available on top of this page as My Grades hyperlink.

Iron

Alaskaman66, reentrant code means that, when that piece of code gets interrupted, it will resume correctly after the interrupt. You have to build your code very carefully to make that happen!

@dplmark Not that I can disclose.:P

Iron

But currently, I build my .hex files and write them using AS 5

Iron

dpimark, the best solution is to shield the board. :)

If you are learning about uC or you are evaluating get samples with different characteristics, perifrials(sp) ect.

Iron

Also, getting additional chips to use with the launchpad can allow use of different peripherals than are included in the kit.  (The new launchpads are shipping with 20 pin chips that are larger than the original 14s)

Iron

Thanks, Techhunter. I've been thinking that code emulators may not run a t real world speeds, especially if you have an older computer. Then the application fails to work properly in the real world.

Also, in XCode you can just setup the AVR toolchain...there are a few examples out there....it works pretty well.

Iron

I am designing a microcontroller for a space application.  Can you suggest a reference on how to correct (SCRUB) memory to remove errors caused by radiation.

Iron

register with TI and get free samples.

Iron

Thanks for the lead, kenm. You may also want to try out MPLAB X for PICs.

Q:  Jon, would you  consider an application that requires real time response in a fast changing environment to need more advanced software than some application that simply waits for an input and performs an output - like enabling a heater? Especially if the real time application could outpace the MCU?

A:  Yes, you might need a small scheduler to handle the tasks.  If the tasks outpace an MCU, you'll need a faster MCU or perhaps you can divide tasks between two MCUs and have a simple communication link (UART) transfer information between them.  There are some small operating systems available for MCUs, so if you need more info, a Google search should find more information for you.

Blogger

Yes it does come with 2 chips.  I used them and needed more.

Iron

launchpad is coming with 2 chips

Iron

How do we get the cerificates for the class?

Iron

Microchip also has free samples, but you do need to get a programmer. Pickkit2/3 are not bad, and relativly inexpensive

Iron

Use crosspack now..before XCode 4 there was a project file you could set in your project preferences...but check out crosspack.

Iron

when you get free ti samples for the launchpad, make sure you get the DIP chips to use with the launchpad.

 

Iron

It's been a LONG time since I had a C+ class... Any basic tutorials you would recommend?

@jsh - thanks for reminding us about free samples (from TI for the Launchpad).  Excellent suggestion.

Iron

Q:  there are a lot of good information in the chat session. Is there a way that we can access these chat session later? Are they made available along with the previous presentation?

A:  As far as I know, the chat session is part of the archived information, although I will not monitor it often.

Blogger

kenm, how are you programing AVR in XCode?

Youll have to register then request free samples. You will still need the lauchpad to program.

 

Iron

Most of the tools have some kind of trial/demo versions that work except for limitted code size/ or devices supported. That is a good way to see what is available.

Iron

@franchzilla: ti.com and then sample and buy up top

Iron

Alaskaman66, with that sort of real-time, your biggest problems may be how reentrant your code is... which is more a matter of how intelligently you built the code, than how advanced it is.

Sorry...meant program AVR in XCode

Iron

Migrating to AVR from PIC mainly because I can program PICs in XCode...all my stuff are iOS hardware accessories

Iron

@jsh do you have a link where I can see those free samples?

Mac tools for AVR are hard to install/compile. Same with ARM tools, though there is the occasional IDE that may suit your needs, like YAGARTO or mbed. I'm using MPLAB X at the moment.

@franchzilla  Yes get 2 but get some more free samples of chips the launch pad supports too.  Why not they are free?

Iron

Jon, would you  consider an application that requires real time response in a fast changing environment to need more advanced software than some application that simply waits for an input and performs an output - like enabling a heater? Especially if the real time application could outpace the MCU?

It looks like the StateCharts are best if you all ready have some code blocked out. Is that right?

Iron

Q: What kind of tools / softwares you recommend for GUI development forr Embedded systems?

A:  Some of the MCU development tools include a GUI package. It can be a challenge, though, because much depends on the display you use--size of the display, color or b/w, necessary graphics and fonts, etc.  You might take a look at the tools from Amulet that help you create a GUI on an LCD.  Good for prototypes and short runs.  Amulet has goof tools for GUI creation on its LCDs.

Blogger

Thank you for todays presentation

Iron

I'm migrating from PIC16 to AVR right now.

 

Iron

Can anyone recommend a good opensource IDE for PIC?

Iron

Has anyone worked with both AVR and some other family like PIC?  I'm curious what you think.

And if you do continue to more advanced things the code ports to higher MSP devices (but you have to buy a different programmer).  That is what I did and It was a great way to get my feet wet.

Iron

You are making me think seriously about buying LaunchPad. Five dollars won't hurt my wallet.

snandu13, if you want to do iPhone, XCode is free. If you want to do other things, and you can afford it, you want InflexionUI, by Mentor Graphics.

@Mrs. Launchpad is cheaper than a sandwich!

Iron

@Jon - Your specific recommendations for IDE's (by chip mfg & chip family)?  Is a place to see comparisons?  I have a DVD full of various free and eval copies of IDE's - in addition to the Visual Studio versions I use in the day job.

Iron

Most of my experience is with AVR.  If you're designing the hardware and software (e.g., breadboarding something at home), that's a good family to start with.  The development environment is free and the chips are as cheap and varied as others.

I prefer the Launchpad.

 

Iron

Q: Thanks Jon.

I would like to suggest the following changes to the course:

1) Position slide page numbers so that they can be seen.

2) Add hyperlinks to referenced web sites and vendors within the presentation.

3) Add any additional comments or correntions to the slides in the archive so that key points or errors found during the presentation can be corrected and we can download the updated presentation file.

Hope these comments help.

 

A:  Good ideas.  Thank you!

Blogger

Yes, Arduino for sure as an easy, relatively inexpensive introduction.  However, if you're going to do serious hardware design, you're going to need to go beyond Arduino

@Mrs. Z I don't knwo about hardware, because I used a dev kit made by my university. But we used Keil's uVision free version (code space limited) and it was quite nice and intuitive.

Mrs. Z: Arduino or MSP launchpad

Iron

@ebloohn, this questions was answered way earlier as follows:

send an email to dkcec@designnews.com and we will get that fixed. subj line: DKCEC Credits

Iron

What kind of tools / softwares you recommend for GUI development forr Embedded systems?

Iron

how do we downlod the chat for later review

Thanks for today's presentation, John.

Iron

What would be the best *free* / really cheap software & hardware for me to gain some skills at home?  (I'm not a programmer type, trying to expand the horizons)

Iron

Q: How can we choose IDE tools to work with third party development tools?

A:  The 3rd-party tools include the IDE, so not to worry.

Blogger

Thanks for the excellent presentation.

Iron

I second horriyatm question.

good presentation today, thanks

Iron

Any idea where we can direct question about the CEC grading?

Iron

Q: After regaining my composure, optimizers can change code such that it does not work as one would expect, especially writing internal debuggers.  Atmel IDE allows one to turn OFF the optimizer thus building code that I design, not the machine.

A:  That's true.  I recommend people first run their "unoptimized" code before they try to optimize it.  That's for raising that point.

Blogger

Great lecture..Thank you Jon

Iron

great session .. thanks

Iron

How can we choose IDE tools to work with third party development tools?

 

Iron

thanks alex and jon, great presentation. anxiously waiting for tomorrow.

Iron

so which is ur best advice for software

Iron

I think all of my doubts were answered. That's great. :)

After regaining my composure, optimizers can change code such that it does not work as one would expect, especially writing internal debuggers.  Atmel IDE allows one to turn OFF the optimizer thus building code that I design, not the machine.

 

Gold

Great presentation again Jon, thank you!

Iron

Thank you for today's session.

Iron

thanks for an interesting lecture

Iron

Excellent presentation, thanks Jon, Thanks for naming the reference books side by side

Iron

Thanks Jon, excellent lecture.

Iron

ANSI C is just a language specification.  you would need to find the appropriate compiler implementation for your chosen device

Iron

And if it doesn't, DON'T USE THAT.

THanks Jon - Excellent presentation

Thanks again, Jon. Excited for the debugging portion of this course!

kenstan, ANSI C works EVERYWHERE.

True, shenry, just making a point that you shouldn't limit yourself to it.

Excellent presentation, thanks

Iron

shenry thanks but would ANSI C,  fit in well for atmel mcu

Iron

Ten Techhunter, True about ANSI C, but if you learnt he very basics of the lang, you can apply it to everything.  :)

Iron


good Conference mr titus.

 

Thanks for all the info

 

Iron

ANSI C isn't necessarily that great, since it doesn't support Fixed Precision types.

thanks all, any economic option from Microchip?

Iron

@jsh - Yep!  Shipping included.

Iron

Great presentation John, thank you

 

Iron

goodPresentation (like);

Iron

Thanks Jon.

I would like to suggest the following changes to the course:

1) Position slide page numbers so that they can be seen.

2) Add hyperlinks to referenced web sites and vendors within the presentation.

3) Add any additional comments or correntions to the slides in the archive so that key points or errors found during the presentation can be corrected and we can download the updated presentation file.

Hope these comments help.

Iron

Very good.  Thanks again.

Iron

Do most/all of the debug tools have a means to monitor MCU stack usage, stack overflows, max stack usage, etc.?

Iron

Code developed on a lauchpad is portable to other MSP430s.

Iron

Jon:

thanks for your generousity in sharing your knowledge

marc

 

Iron

beautiful how you presented the different steps involved for overall projects

Great presentation. Thanks Jon!

Iron

@tcryat Was shipping included in the 4.30?

Iron

Jon, Great lecture. Thanks. 

 

Iron

kenstan, I hate to say this, but do a google search for tutorials on C.  I would focus on learning ANSI C, rather than a specialized version of C.  The PIC MCC18 C compiler is very close to ANSI C, which is why I prefer it over some of the duino style languages.  An easy way to start out with C and embedded devices is to get an embedded dev board that has some C example code.  I like this one: http://www.modtronix.com/product_info.php?cPath=1_36&products_id=149  because it has a network interface and doesn't require specialized programming hardware as the firmware can be compiled and the uploaded to the device.

 

Iron

thank's Jon ... very good references about book's

Iron

Great information, thank you for presenting

Iron

there are a lot of good information in the chat session. Is there a way that we can access these chat session later? Are they made available along with the previous presentation?

Thanks,

 

Iron

Good informative presentation

Iron

@LeoVargas- Sure Launchpad is a great place to start.. economic too.. but may be you have to move to advanced chip in a while...430 is a big family..can jump to anything higher.

Iron

Thank you for the presentation.

Yes the cheap makes it great.

Iron

Just ordered 3 Launchpad Kits from TI.  $4.30 each and they ship via FedEx !!

 

Iron

good presentation thank you

 

Iron

Launchpad is not bad and cheap

Iron

Very good presentation, thank you very much!

Iron

Thanks, Jon.  I appreciate it.

Iron

Launchpad is a great way to start.

Iron

Code exists to let humans communicate to machines as well, and the most efficient way is via assembly.  HLLs are more human readable and compact, but they suboptimize.

Will there be an embeded systems show in Chicago this year again?

Iron

@Jon - worth a mention to remind folks to check mfg errata. it can happen that code can break due to a mfgr issue that might follow a particular die rev

Iron

kenstan, get an Arduino. Great embedded board for learning C. You can get one at Microcenter for $20.

I worked for a while at an iOS development company, and the standard there was to eliminate comments...drove me crazy...never got a good reason why.

Iron

What about Launchpad from TI? is a good way to start?

Iron

Netrino has an excellent C coding standard as well.

Iron

@kenstan do you want to learn general C or specifically to embedded systems?

i have used it for mobile apps and found it difficult to code

 

Iron

Guys! CODE EXISTS FOR HUMAN BEINGS TO READ! If it was about communicating with the machine, we'd just use assembly!

john davis msp430 programming from amazon is one for msp430..any other resouce better than this?

Iron

shenry how can one  get started  in c

Iron

I like comments 

and simpler code also

 

any ideas on how to master eclipse

 

Iron

is there any access to ESC Conference papers through web?

Iron

Eclipse is just wayyyy too complicated.  It's a great, versatile environment for experienced users, but it's hard to get used to how it works.

Jon, what do the pods "emulate"?

Iron

tcryar, it is not enough for it to run on Linux. Linux software doesn't run verbatim on Mac, it needs to be ported. The executable format is not the same, for one.

grace also support msp430gxx, just saw it a few minutes ago.

Iron

I used Eclipse in the past and found the debugger excellent 

but would not recommend it for beginners. I found it a bit complicated

 

Re: IDE's for Mac -

TI's CCS "Code Composer Studio supports running on both Windows and Linux PCs."

Iron

Arduino is great for beginners and simple applications, but you will not get the best performance out of the chip.

Grace is limited to MSP430F2xx families. would be nice if TI opened Grace up to all 430 families

Iron

kensten, depends on what you want to do.  I use C with some assembly (for stuff C can't access) when I work on the PIC 18 series of chips.  I find C to be easier to read and faster to develop and debug.  I move between projects a lot and sometimes will come back to a project source code after a month or two.  By having the code in C, I can read it real easy and refamiliarize myself with it easier than assembly.  Plus, I use C & java on mac/windows/linux for other work so it makes the learning curve easier.

Iron

Eclipse uses GCC. GCC has no IDE, Eclipse just builds an IDE around GCC.

I have a question about third party and programmer tools (jtag programmers) . how can I make sure those tools work with third party development tools? I used link programmer ATMEL for AT9(ARM9) and didn't work with compiler (KEIL ) . how can we taker over this issues?

 

Iron

grace is already in ccs_v5 from TI

Iron

The Arduino IDE is outstanding for begginers.

Iron

Tenacious Techhunter:  Thanx - very good point!

Iron

@slk: yes, but some families are VERY large, like Atmel AVR.  They all use the same RISC instr set, but not all chips implement all instructions (like multiply).

Jon, I'm in that problem now with PIC24... and MPLAB X appears to have no chip configuragion Wizard. >_<

@JON, can you give us some points of view about Eclipse IDE and GCC ?.

We have been using subversion for source code management and its

popular and cheap

what is the tool in slide 23?

 

Iron

in asm you are tied to one part or fam of chips.

Iron

What source code control tools do you recommend?

Iron

Jon, I don't know you're planning to talk about his in the real-time module. Question is what doyou think of QNX Momentics to develop C/C+ code for even basic MCU software?

Iron

mdsmdsmd, you should also know that new chips will be supported in MPLAB X only, so you might as well get used to it.

Here is some sample working aurduino code

 

// initialize the library with the numbers of the interface pins

LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

 

void setup() {

  // set up the LCD's number of columns and rows: 

  lcd.begin(16, 2);

  // Print a message to the LCD.

  lcd.print("hello, world!");

}

 

void loop() {

  // set the cursor to column 0, line 1

  // (note: line 1 is the second row, since counting begins with 0):

  lcd.setCursor(0, 1);

  // print the number of seconds since reset:

  lcd.print(millis()/1000);

}

 

to see what it looks like

@kenstan: it depends upon your application.

Checkout SparkFun for a lot of Arduino stuff...they're a few miles from where I live and have lots of hands on courses

Iron

Also, don't bother using Wine or Wine Bottler, if the IDE uses .NET 2.0 libraries.

yes but you can do the changes much easier.     but i like asm.

Iron

which is better c or  assemble language?

 

Iron

It's true that there are a lot of gcc-based ports that MAY work, but the Mac ports can be very hit-or-miss, require a package manager such as MacPorts or Fink, and may not be well updated.

Also, you can program Atmel parts in XCode with CrossPack.

Iron

You'll likely find that C is not portable either, because you still have to program interrupt processing which varies across families (for example).

The MikroElectronica is great for low to mid level apps and is great for programming and has libraries but I have not done much for debbugging. (I simulate as I write)

Iron

You could start with Arduino using Atmel parts to get up to speed and prototype, then move to AVRStudio 5.

Iron

cnorton, here are your options so far (that I know of, but I've done my homework as much as possible):

Arduino

MPLAB X

The mBed board, which has a web-based IDE

That's a great idea - virtual machines

 

the only problem of asm language is the portability. 

Iron

I know of some people who do thier development inside virtual machines

providing a means to backup and save not only the source code but the current version of the IDE and

installed components, etc to provide this ability to open up the project 2 or 3 years down the road and ensure all the pieces are thier

 

I'm only PC-based so MAC-ability does nothing for me

Iron

Looking for imput from others on desired software for low to mid level applications that they feel offers the best all round modules such as ease of use and debugging  ect.

I think C is much easier than asm.  If you are learning then there probably isnt anything you need to do that you cant in C.

Iron

Suggestions for tools that run on a Mac as the host?  Do any of these tools have Mac version?

Iron

mdsmdsmd, you can run MPLAB X on a Mac. Therefore, MPLAB X is INFINITELY superior to any other MPLAB, which doesn't. :)

One disappointment I had when I went from asm programming to C programming is that C isn't THAT much easier than asm. And there were some things I could only do in asm.

If using PICs and assembly only - any advantage going to MPLAB-X over MPLAB-IDE?

Iron

Kate, MPLAB X doesn't have a wizard for configuring the chip, does it?

Agreed, in this respect, coding is a craft. Previous languages you already know?

Iron

@kketterer - try Tanenbaum

Iron

Assembly language is often necessary to get at chip-specific capabilities too.

Iron

I don't know.... I don't use the Pro version of HiTech C compiler

We use mikroElectronica and MPlab almost exclusively at work.  They work great.  MicroElectroinica has lots of libraries andI would recomend it for someone learning.  My supervisor taught himself that way.

 

Iron

@Mrs. Z: find a local community to which you can talk. Failing that, find some online community. Best way of learning by doing.

Iron

I agree that MPLAB X is better, only because there was no Mac version previously. ANY IDE is better than none. ;)

Does MPLAB X support HiTech C Pro yet?

Iron

What learning tool, for us non-programmer (reluctant beginners) best addresses the differences and teaching of the MANY different addressing modes.  Decision and control, interupt and pin handling not so bad ... but the addressing mechanisms are terribly confusing.

Iron

MPLAB X is much better than the old MPLAB IDE 

radio keeps announcing and blocking out speaker.  Is there a way to stop this?

Iron

Reluctant:  took minimum programming in eng school.  Really useful to know for my current job.  I want to play with software / hardware at home, expand the horizons.  I never had a good professor, never really caught on that well.

Iron

AVRStudio 5 for Atmel/AVr also.

Iron

Jalliac, K&R is good for learning C for anything, since C is a language available on so many platforms.  But again, the challenge for C newbies with the K&R is that it is extremely brief.

Iron

Mrs. Z...  How reluctant of a beginner are you to get into C?  I think that the K&R is the best C book ever, since it is concise, but it is so concise that it can be hard for non-programers/non-engineers to devour.

 

Iron

Please inform the name of the book on flow code?

Iron

K&R is the best start in C for any applications

Iron

Is K&R good for learning C for MCU applications?

 

Iron

The inefficiency stems from the machine not being able to take in the whole context of the application.  I'm sure the efficiency is highly variable, depending upon the problem.  The upside is that it's easier to maintain when changes are necessary.  Plus, the auto-generated code is likely higher quality (fewer bugs in the code itself).

I have heard that auto-generated code tends to work very well for the test cases for which it was built, but tends to be lousy for other cases.

Any tips out there for C programming texts, for a reluctant beginner??

Iron

or UMLet, very convenient for quick UML sketches

Iron

has free version too

Iron

Jon, in all fairness to all the different techniques and tools, isn't it fair to say that all this these different approches can and should be used at different phases of the project? 

Iron

Have you actually used UML?

Big spec.

Iron

I think no matter which tools you use

Modularizing your application with lots of smaller 

subroutines/methods/functions 

helps with code reuse and code readability

@caa028: that's my impression too; the code may work, but it may be woefully inefficient.

And autogenerated code can be very efficient for the pieces, but not the best overall.

Matlab also incorporates a state chart tool

Iron

@s.schmiedl I guess that some adaptation between families will always be necessary, since there will always be difference about registers.

tcryar, you probably want to track submission changes more explicitly. A Wiki tends to hide who submitted edits and why.

The tool(s)often depends upon the particular microcontroller family you plan to use

@jon: C vs. ASM: Given that in both cases you're working close to the hardware, I wonder how reusable is embedded C across MCU families, say from MSP430 to PIC?

Iron

@khan38 @caa028 Yes, I thought it would be this way. The model seems to be good to have a notion about what you want to do, but no to really do all the code.

Jon,

Can you evaluate using a Wiki for Project Team coordination?

 

Iron

Jon can you recommend a path/tool for the lone engineer working from a home lab

Iron

I would not worry about readability... (it may be well documented/structured/etc...) But the quality of autogenerated code will be questionable

 

Iron

@franchzilla I also noticed slowness in the extuction not that matlab was running it faster :p.. but because of all the layering

 

Iron

Does the model based design itself decide the C progrm flow?

Iron

@khan38 thanks. :) I guess autogenerated code would hardly be readable. This is not a nice thing.

I guess this slide answers part of my question. But is the code generated good? Or does it lack performance?

@franchzilla There is a way, I have done it once. but the code is almost undreadable.

 

 

Iron

Will model tools produce MISRA C code?

Iron

FranchZilla, I believe newer matlab versions will do that

Iron

For some reason I can't hear anything today...

 

Iron

Is  model creation in the Maplesoft easy? Should you decide algorithm when you create model?

Iron

Is there a way to convert a model done in MATLAB or Multisim directly to C code? The autogenerated code in this way would be any good?

Hey guys - why not get Jon a color printer?  (Ha! Ha!)

Iron

This is similar to matlab, can do the same things with simulink

 

Iron

The circular nodes correlate with the graphs below.

Iron

@krhohio refresh the page

Iron

Is anyone else getting constant buffering on the audio display and only hearing
"Blog Talk Radio" when refreshing the browser and/or pressing F5 using Chrome?

Iron

On Slide 9, are the circular nodes representing test points?

 

Iron

How many credits are we 'supposed' to receive ?

Iron

@KateEngenity same here.

Kate, send an email to dkcec@designnews.com and we will get that fixed. subj line: DKCEC Credits

Blogger

None of my credits have shown up even though I attended yesterday's and Monday's lectures

you will see credits for the courses you've taken show up on your profile

Blogger

In a small project, with 5 people at most, does it make sense to create "modules"? I.E. two people take care of hardware, other two of software... or is it better for everyone do a little of all parts?

They send the cert to you after classes are over via mail.  Don't  know that'll work for attending an archived class, if you get caught up in a meeting.

Iron

Thanks . After refreshing it works fine

Iron

check the site for your points and certification

Iron

As we got thru the PPT, please enter your technical questions, and I'll feed them to Jon at the end of the show during our discussion portion. Then he'll come online here to chat directly.

Blogger

Hi, Jon, glad to be back with you on the board.

 

Iron

Just a reminder...  Do anyone find out how to get certificates. etc. for these courses?  (i.e., for credits)

Iron

auido is good here as well

 

Iron

if no audio, try refreshing your browser.

Blogger

click 'Today's Slide Deck' under Special Educational Materials above to get the powerpoint

Blogger

there is no audio yet

Iron

@snandu13 audio's fine here.

Use the "Today's Slide Deck" link

Suddenly audio disappeared. Is it only for me?

 

Iron

i don't see the power point

 

Iron

Thought there was something wrong with this page... then the audio player showed-up

 

Iron

Audio is stating now

 

Iron

not much snow here, but -35 this morning

Iron

oooohhh.... do I get extra points for noticing? 8-D

Iron

there seems to be about 30 second delay between cl;icking "Post" and message appearing. Sorry for repeating info

Iron

Eight feet in front yard

@s.schmiedl haha... this is the same thing I get. Maybe they were testing the grade system with you earlier.

the audio hasn't started yet, it will start on 2pm eastern which is in 2mins

 

Iron

kwoklo, the player will show up in 2 minutes

 

Iron

audio player will appear in 3 minutes

Blogger

I can see the power point but I am unable find the audio player.

Iron

hehe ... and right now it says "no courses completed", as expected :-D

Iron

hi franchzilla, I have clicked on my grades in the red-grey cec-box up top

Iron

Greetings from Minnesota, home of Digi-Key!  :-D

hello alex and jon. I figured out why I wasn't see slides 2 thru end. I needed a newer power point. I was using a PPT 97 so had to get one of those PPT viewers and can seel everything now.

 

Iron

Be sure to click 'Today's Slide Deck' under Special Educational Materials above to follow along with Jon Titus.

Blogger

The streaming audio player will appear on this web page when the show starts at 2pm eastern today. Note however that some companies block live audio streams.

Blogger

It brings into question scope for program optimization; C vs Assembly Language?

Iron

@s.schmiedl Where can you see the grades? It still shows up 0 at My Grades, eventhough I heard the two previous lectures and participated in the first one.

Ok thanks, this should mesh well with the realtime segment and also testing and verification methods in performance evaluation

Iron

Todays MCUs are much faster as well as contain higher memory compared to say 10 years back...In regards to that I wonder does Assembly Language Programming still has any advantage over much simpler  C/C+ ? Why does anybody needs to choose ALP other than for having fun? 

Iron

Q: Ok I was wondering if manuals usually incorporate a rough calculation....such I have encountered with PLCs.

A:  You can look at the assembly-language listing produced by a compiler and use the MCU clock frequency and number-of-cycles-per instruction (it can vary from instruction to instruction) to calculate the time needed for a routine.  That's a tedious process.  Might be easier to put an output instruction at the start and change the state of the output at the end.  Use a storage scope to display the signal and determine the time that way.  I have used that technique.

Blogger

it will start at 19 gmt ?

Iron

Ok I was wondering if manuals usually incorporate a rough calculation....such I have encountered with PLCs

Iron

i am waiting.. thank you mister jon

Iron

Is there a method to evaluate controller cycle + instruction processing time? Time sharing between microcontrollers if I am using a network of controllers?

A:  I would bet some of the high-end software-development tools, or a third-party tool offers a form of timing analysis.  I suggest a Google search.

Blogger

No, I don't mention Parallax in Session 3.

Blogger

Is Parallax missing in the company list?

Iron

Is there a method to evaluate controller cycle + instruction processing time? Time sharing between microcontrollers if I am using a network of controllers?

Iron

Companies mentioned or shown on slides in Session 3, "Successful Software Development for MCU Applications:"

The Mathworks
National Instruments
Maplesoft
Pragmatic Programmers
IAR
Newnes-Elsevier
Microchip
Texas Instruments
Freescale
Renesas
Rabbit Semiconductor (Digi International)
Atollic
GreenHills Software
Hitex
IAR
Code-Red Technology
Keil (ARM)
Raisonance
Rowley
Custom Computer Services (CCS)
CodeSourcery (Mentor)
MikroElektronica
Atmel
Arduino Uno (www.arduino.cc)
Digilent
ARM mbed (www.mbed.org)
Matrix Multimedia (FlowCode software)
Energy Micro
Microcontroller Central (www.microcontrollercentral.com)

Blogger

Those are blank slides I mistakenly left in the deck as I prepared the presentation.  There are only 27 slides for Session 3.  My error--Jon

Blogger

The slide deck has an issue. The slides 28-36 are all templates and identical.

Iron

FYI,
Your IT department might need to unblock "blogtalkradio.com"
for you to get the streaming audio (and to even see the audio
player that appears just under the class description near the
top of the page).

Iron

Be sure to click 'Today's Slide Deck' under Special Educational Materials above to follow along with Jon Titus.

Blogger

The streaming audio player will appear on this web page when the show starts at 2pm eastern today. Note however that some companies block live audio streams.

Blogger

Be sure to click 'Today's Slide Deck' under Special Educational Materials above to follow along with Jon Titus

Blogger

hmmm... is there a bug in the point system? according to "how do i graduate?": "A total of ten points can be scored for each of the five lectures in a track". So how do I get 25 points before the third session even started?

Iron

@vagish archived classes are here:http://www.designnews.com/lecture-calendar.asp but problem with audio ...I have the same on this computer and I cannot solve it. It probably comes from firewalls or other Internet protection at browser

Iron

missing two previous ones but I will atend this

 

Iron

hi..i need help..i am from India.i missed previous lectures and though they are archieved i am not able to see audio player or something on those lecture's link..what should i do??my flash player is upgraded and acitive x is not blocked

Iron


Partner Zone
Latest Analysis
Eric Chesak created a sensor that can detect clouds, and it can also measure different sources of radiation.
Festo's BionicKangaroo combines pneumatic and electrical drive technology, plus very precise controls and condition monitoring. Like a real kangaroo, the BionicKangaroo robot harvests the kinetic energy of each takeoff and immediately uses it to power the next jump.
Practicing engineers have not heeded Yoda's words.
Design News and Digi-Key presents: Creating & Testing Your First RTOS Application Using MQX, a crash course that will look at defining a project, selecting a target processor, blocking code, defining tasks, completing code, and debugging.
Rockwell Automation recently unveiled a new safety relay that can be configured and integrated through existing software to program safety logic in devices.
More:Blogs|News
Design News Webinar Series
3/27/2014 11:00 a.m. California / 2:00 p.m. New York / 7:00 p.m. London
2/27/2014 11:00 a.m. California / 2:00 p.m. New York / 7:00 p.m. London
12/18/2013 Available On Demand
11/20/2013 Available On Demand
Quick Poll
The Continuing Education Center offers engineers an entirely new way to get the education they need to formulate next-generation solutions.
Apr 21 - 25, Creating & Testing Your First RTOS Application Using MQX
SEMESTERS: 1  |  2  |  3  |  4  |  5


Focus on Fundamentals consists of 45-minute on-line classes that cover a host of technologies. You learn without leaving the comfort of your desk. All classes are taught by subject-matter experts and all are archived. So if you can't attend live, attend at your convenience.
Next Class: April 29 - Day 1
Sponsored by maxon precision motors
Learn More   |   Login   |   Archived Classes
Twitter Feed
Design News Twitter Feed
Like Us on Facebook

Sponsored Content

Technology Marketplace

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)
Copyright © 2014 UBM Canon, A UBM company, All rights reserved. Privacy Policy | Terms of Service