Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/19/08 03:05
Read: times


 
#151093 - software choice
Responding to: ???'s previous message
Andy Neil said:

If you're happy with programming in VS, I can't see how an IDE like IAR's Embedded Workbech should be a problem?


It's not IAR itself that I can't figure out how to use, it's all the configuration and settings that are causing the problems. It's made to work with so many different 8051 compatible derivatives that I just don't know how to properly configure the software to generate code that my specific derivative chip can understand.

I've never set up a C library for a chip, nor have I programmed in C for an embedded application. I can't even get their example programs to compile without error after error about missing *.h files and library files that I just don't know how to deal with. I have dealt with stdio.h files, math.h files, etc. quite a bit in C++ but never had problems like I've had with the more complex, and likely much better, IAR software. Doing it in assembly with the software that came with my eval. board just seemed to make more sense to me given that fact that I can't even get IAR's sample programs to compile properly.

This is all easy for most of you reading this but I'm trying to learn all of this on my own and have started from scratch. I'm still not very far from "scratch" but I'm working on it. Not having to deal with library files, header files, etc. was just easier for me. Right or wrong, logical or not, it was my personal preference given my lack of experience. I could not even get a single program to compile or run on my board before I switched to the much simpler Aspire software included with my eval. board so I went with it.

Andy Neil said:

In fact, it's often the case that cheap, shoddy tools will make learning a craft harder - not easier!

The leap is in the content of your programs, surely - not the environment used to create them?


Other than the Aspire tool calling it "compile" instead of "assemble," what else makes it shoddy? When I bought the board, I also bought the full version of IAR Embedded Workbench using the very logic you listed above. Because I'm a graduate student, I paid 10% of the normal list price of around $3000 for the software but I have yet to use it for this project. Not because a Window's based environment is so foreign to me, but because I just have no clue what I'm doing with regards to programming for an embedded system.

I appreciate all your patience and advice but please take into consideration that I have no prior experience in this and just used what I could get to work at the time. :-)

Brian





List of 42 messages in thread
TopicAuthorDate
Initializing two timers            01/01/70 00:00      
   the infamous intel notation of hexadecimal numbers            01/01/70 00:00      
      thank you!            01/01/70 00:00      
   Aside: Assembler vs Compiler            01/01/70 00:00      
      compiler vs. assembler            01/01/70 00:00      
         Do yourself a favor ...            01/01/70 00:00      
            Symptomatic?            01/01/70 00:00      
            software            01/01/70 00:00      
               bad idea            01/01/70 00:00      
               Good tools make life easier            01/01/70 00:00      
                  software choice            01/01/70 00:00      
                     I see            01/01/70 00:00      
                        Apire            01/01/70 00:00      
         RE: All I know is that I hit the "Compile" button            01/01/70 00:00      
            terminology            01/01/70 00:00      
               sloppy            01/01/70 00:00      
   another question            01/01/70 00:00      
      Is it the priviledge of noobs...            01/01/70 00:00      
         follow up...            01/01/70 00:00      
            read the "bible" and FAQs            01/01/70 00:00      
               interfacing            01/01/70 00:00      
                  ME=mech.engineer is fine...            01/01/70 00:00      
                     ME            01/01/70 00:00      
                     if I was not clear, then            01/01/70 00:00      
                        but does it provide the same comfort...            01/01/70 00:00      
                           so what?            01/01/70 00:00      
                              Is it easy?            01/01/70 00:00      
                                 You answered the question yourself            01/01/70 00:00      
                                    isn't there some lock?            01/01/70 00:00      
                                       actually it is            01/01/70 00:00      
                     thank you everyone!            01/01/70 00:00      
         "not bit addressable" question            01/01/70 00:00      
            Value, not SFR address            01/01/70 00:00      
               perfect!            01/01/70 00:00      
                  yes            01/01/70 00:00      
            did you check "the bible"            01/01/70 00:00      
      PWM ....            01/01/70 00:00      
         I have not see it suggested in this thread            01/01/70 00:00      
         P89V51RD2 instead of AT89S52            01/01/70 00:00      
            P89V51RD2 instead of AT89S52            01/01/70 00:00      
   WHAT are you using            01/01/70 00:00      
      terminology            01/01/70 00:00      

Back to Subject List