Jump to content

  • Log In with Google      Sign In   
  • Create Account

blewisjr

Member Since 11 Apr 2006
Offline Last Active Yesterday, 02:20 PM
-----

Posts I've Made

In Topic: I Want To Write Embedded Software etc

18 June 2013 - 12:57 PM

I am looking for some advice from any embedded software engineers and/or mainframe programmers out there.  Where should someone looking to develop real time systems really begin?  I am turning 20 in August, figured I would really try and buckle down on something and this is it.  I haven't gone to university at all because I still need to get my GED so until then specialized schooling is not an option.  Since leaving high school I managed to pick up Perl, C, Lua, x86 (to some extent) and 6502 assembly but I'm not exactly interested in programming for video games anymore despite finding some small successes there.  I find engine development and optimization on microprocessors to be much more fulfilling despite the mundane aspects of such tasks.  The real question is, is there anything else I sould be doing to try and accomplish this?  Are there any excersises I should be trying or particular languages (like learning to write ARM asembly?) I should highlight? Any other tips would be greatly appreciated, thanks!

Ah this really depends on where you want to go with embedded software.  Do you want to develop for an embedded device like a phone or are you looking to develop your own systems from the ground up.  When I got involved in embedded as a hobby I wanted to go ground up.

 

Some people suggested Arduino and in all honesty it is a great platform but it is exactly that a bloated platform that will hinder your growth at some point.  It is great for just getting started but you will want to move away from it quickly.

 

In the current perspective assembler is not really needed C can do just fine but I prefer the assembler for 8 bit chips because there are quite a few gotchas you that will bite you at some point with C.  For instance real time systems including video and time keeping are not really something C does well in the embedded process.  One such example was my alarm clock built with a 8 bit PIC micro controller.  I started with C and all was good but the C actually caused some issues when dealing with timing.  C is not a 1 to 1 instruction setup and the actual generated assembler was throwing of my clock by quite a bit and with all the optimization I could possibly do it just was not accurate enough so I converted the important code to assembler to solve the timing issues.

 

As for Assembler every chip has it's own Assembler suite and non of them are identical.  PIC is different then AVR which is different then ARM.  From a assembly perspective PIC is much easier to learn and the chips are quite a bit cheaper as well.

 

This is of course assuming you want the ground up approach that I took.  In which case you need to learn some electronics theory for circuit design, as well as programming a particular micro controller.

 

My recommendation would be AVR or PIC 8 bit chips to start.  My opinion stands strong that Arduino is a waste of time if you really want to learn it is just wrappers on top of wrappers and bloat.  The only advantage is rapid prototyping.  I disliked it so much I pulled the chip and erased it and through the board away and kept the chip for a different project.  But to each his own it might be what you want so don't rule it out because I said it is bad.

 

Embedded is a deep hole to swim in if you have no clue the direction you want to go but there are tons of people that can help you out.  My suggestion is to get an account over at www.eevblog.com watch some of Dave's videos on youtube.  Ask every question you can even if it is stupid you will get tons of valuable information.  Just don't ask about ASM vs C because it is about as heated at C++ vs <insert language here> gets on these forums.  Actually it is even worse just pick one and go for it don't worry about what others say.


In Topic: Book Recommendations for UDK

18 June 2013 - 09:12 AM

Well it really does not matter if UDK 4 is going to remove UnrealScript because no one even knows yet when UDK 4 is going to be released to the public that I have seen yet.  I am not particularly looking for a book on UnrealScript.  That will be easy to pick up on just from the docs as I have been programing for 15 years now.  What I am looking for is more a book on how to use the actual pipeline UDK provides which will carry over to a point to UDK 4 at some point anyway.  I need to know how the various tools work together and how you string them together to get to a complete product.  It is a complex beast but in reality learning it will still take less time then developing my own pipeline and engine.


In Topic: Goodbye Start button?

24 March 2013 - 05:57 AM

I am currently running windows 8.  I have no start button but I find I do not really miss it.  This is probably because I have heavily used linux with the new gnome desktop environment.  After a while you just get into the groove of hitting the windows key type the application name and hit enter.  It is very fast if you know the name of the application you want.  My most used applications are as shortcuts right on the desktop so I can access them quicker.  Over all it is a very solid OS with very few issues.  The only time I see that metro start screen is when I need the odd ball application and when the computer boots up.  As for Linux I really wish I could make it my primary OS I have tried several times but so many things I do run better on windows or only on windows.  One such case is AVR micro controllers.  The IDE with all the awesome memory view features is built on Visual Studio 10 issolated shell.  On linux you are stuck with avr-gcc/gdb/avrdude.  Not that this is bad but I don't think avr-gdb gives you the ability to see the values the registers are holding.  PIC has full linux support but I am using both chips at the moment.  Then there is the new MSOffice 2013 totally amazing this time around.  Really well done set of software.  Then there is my Oscilloscope that has software for windows/mac only.


In Topic: Moving a variable in a equation question

15 March 2013 - 10:17 AM

Doh stupid mistake on my part thanks a bunch!


In Topic: Ages of Darkness

11 March 2013 - 03:26 AM

Any Language can work it does not matter what so ever as long as you have access to graphics libraries.  SDL is probably not the best choice for 2.5D.  If you want to use C++ you would have much better luck doing 2.5D with SFML because it is a full hardware accelerated library with easier bindings into OpenGL if you find you need to use it later on.


PARTNERS