We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I have this design for a controller but i dont know the program for it?
Where can I find the code for it? I tried google coding but cannot find it. I normally write Pascal(Delphi) but this needs to be in Keil C for a 8051.
I need to get it working quickly. Who will help?
Although the mechanical design of Perpetual motion machine is a "bit" complicate, the code is very simple (I write this every day ;-) : Pascal:
while True do begin {The code here will run forever. Isn't it?} end;
So, the translation to C for any MCU is very easy and not demand any tool:
while (1) { //The code here will run forever. Isn't it? }
Moshka, I Like The Code And It Looks As If It Has Been Written To Comply With Very High Standards But Can You Provide Evidence Of Any Certificates Of Conformance?
Hi Jerman Hoop,
Although I could provide you some certification, it better you rely on my word because I already tested it some times in the past on my perpatual motion machine and this code was ran forever! If you insist to get the certification, I'll send you soon as this code will finish to run this time..
Moske, Do You Do Regression Testing On Each Build?
Ms Jereman Hoopek, 13 Lucky Street, Nudge Nudge, FA.
A full life cycle test must of course be done.
But ... but ... that'll require a supercomputer! Only supercomputers can finish endless loops in ten minutes.
Yes, it takes great power to fold the space-time continuum.
it is surprising that Cpt. Vince loves Windows so much.
John Linq,
UNIX/Linux
Using Linux is fine, but I have seen too many code-monkeys boasting their Linux systems as ever-so superior than Windows, etc. If they're using the OS as a development platform for a cross compiler then it is JUST A TOOL. Otherwise they better be writing something that runs on the Linux system itself.
Be it Linux/Unix/PC or otherwise, some code-monkeys are using it as a mechanism to become more geekafied. Embedded Linux is fine. But with any major OS vendor, if you are doing High Reliability applications there is a the reliance on so many non-certified drivers and services. All sources of failure.
Many of these code-monkeys are using the Linux alternative because it makes them feel like they are 'true computer geeks' while I view it as the only contemporary way to experience the OS's of old. Where we were 'the geeks' and that was definitely not a 'cool' thing: those heady days of social ostracization. In those days, the UNIX system usually wasn't found in your basement lab, or your bedroom. Businesses had them with expensive computers.
I was only poking fun at those type of 'wannabe' geeks. Linux is fine, and getting better. I was one of the last guys on the block to use a 'mouse' instead of the command line because I was ever-so proficient at the keyboard and the OS.
It is amazing how much partisanship there is on the 3 or 4 dominant operating systems. (Windows, "MAC", Linux, and true UNIX). Again, unless you are writing code that runs on the same OS, then picking the right tool for the job shouldn't be because of its "coolness factor." The PC has the most engineering tools that run on it. How many FPGA development systems, or EDAs, IDEs, or CAD packages run on [PC-based] Linux? (I know its not zero, but there are only a few worth using).
Unless you run with the big-boys like Solaris [running a qualified OS (UNIX)], Windows is the OS that offers the best choice of tools. Using Linux where Windows would best apply is going down that whole retro-OS dinking-around and a myriad of frustrations that look like you're a savvy computer guy. Fine, it might work with the stupified, but don't think that dropping the L-word is going to impress me.
I'm not going to tell my mother-in-law to buy that---super superior 'better than windows' and cooler than a MAC---Linux Box so she can browse the web, get email, and write letters. The best tool for that job is most likely in the MAC world. The best tool for doing an 8051, or C166, or ARM, or whatever is Keil's IDE running on a PC. (It is a Keil forum after all).
It is not out of 'love of Windows', but the 'love' of the right tool for the job... even if it isn't a perfect tool.
--Cpt. Vince Foster 2nd Cannon Place Fort Marcy Park, VA (NOTE: New posts should be at the bottom, in chronological order... we all know how to scroll up)
<snip>
To summarise:
You need Windows to use Keil tools.
(NOTE: New posts should be at the bottom, in chronological order... we all know how to scroll up)
Yes sir right away sir!
Well,
I learnt that Vince's wife is not a good flyer.
Regarding his posts ...
Usefullness score: 0% Readability score: 5% Ramble score: 95% Confusion score: 75% Soporific score: 100%
That said, this forum would be missing something without his input.
Hey meat-head,
I'm glad to know that this forum would 'be missing something' without me. But I must say, that those scores you gave me were really painful to see. Knowing your extensive background on all issues embedded, I'm now having a problem with my self-confidence and wonder if I'll ever make it in this industry.
Its good to know that I scored well on the Ramble, Confusion, and Soporific sections of the Limp Sausage Standard metrics.
Puleeze enlighten me on your own scores in this regard.
--Cpt. Vince Foster 2nd Cannon Place Fort Marcy Park, VA
Poor summary, but I'm sure it scored well on Limp Sausage Standard.
I would summarize it more as "get the best tools for the job"
"Yes sir right away sir!"
At ease soldier.
Keil IDE runs under Wine...so NO, you don't need windows!
But while I love Linux machines for a number of reasons, I can only note that Wine sounds like a workaround. The direct approach - using a Windows machine - do sound like a more natural way.
But please expand on this. Runs under Wine as in being able to run the IDE or being able to compile or also able to use USB with the ULink to download and debug? A lot of Win32 development tools can run the IDE and compile under Wine but fails to access programming adapters.
"Knowing your extensive background on all issues embedded..."
It's nice to see that my reputation is becoming known ;) Even though I suspect that it is not really appreciated.
Vince,
Your scores were low for readability and usefullness purely because I was unable to read the complete post. It's a possibility that I've got attention deficit disorder, but I think it may be to do with the amount you write. How do you find the time to type so much???
As for my scores, well ... I'll leave it to you to judge.
Why do people keep using my name around here?
Sorry, Mr Monkey.
/code chimp walks away in shame