Hi, I am really new to programming using keil. I wanted to create a windows form kind of application which takes some parameters from a user and then runs the C code present in the file based on the inputs.
I have the C code files with me, but i am not able to set up a user interface (the form).
Can anyone please help me.
Thanks and Regards, Siddharth Gupta
MinGW = Minimalistic GNU Windows. I tcontains a number of tools ported from the Unix environment, including a complete tool chain to develop Windows applications.
By the way - might the friend have shown you some code to create an add-on to the Keil debugger/simulator. There are a number of such extensions, for example allowing a simulation of an embedded program to display text on a simulated LCD on the PC. Anyway - what you need is a real GUI for talking with a real embedded hardware, so you need separate tools for creating the PC program. The Keil tools are for creating programs running in the 8051.
Thanks - I had wondered about the origin of that name!
"... CodeGear (formerly Borland) C++/Delphi/etc"
Should now read something like:
"... Embarcadero (formerly CodeGear (formerly Borland)) C++/Delphi/etc"
They are still using the "CodeGear" name - so it's actually more like "CodeGear from Embarcadero (formerly Borland)"
But you knew what I meant...!
;-)
"Borland Software" is now owned by Micro Focus: www.microfocus.com/.../PressRelease.asp
It's all rather confusing, really!
Borland died as developer of tools for developers the day the ties took over _all_ decision making. Their R&D department wasn't allowed to acknowledge bugs because such actions would damage the perceived value of the company. A developer who does not see any feedback at all when reporting - or questioning about - a problem with a tool will quickly look for an alternative supplier.
There tools were much better than MS I still use BCB 5 (think year 2000 ) as a functional tool. The biggest issue I've had with Codegear 'stuff' is that the help is next to dung. Namely because they used MS help data which was excruciatingly poor to begin with, and expunged all the help information regarding the VCL (I don't use .NET because it's a waste of time).
I think the 'yes' only people are hopefully unemployed from the business world. They created all the economic woe we all suffer from today. No negative feedback makes anything unstable.
It might be that the guy needs the 8051 to run the menu system through an RS232 (a serial port), and have Windows running Hyperterminal. If that is the case, then his friend might be right, and the OP can indeed use Keil.
--Cpt. Vince Foster 2nd Cannon Place Fort Marcy Park, VA
"It might be that the guy needs the 8051 to run the menu system through an RS232 (a serial port), and have Windows running Hyperterminal"
Well, what he actually said was,
"My aim here is to build a software which sends commands to the 8051 controller"
and
"i want to create a form which can be used to change some parameters before i send commands to the device"
(my emphases)
And he called it "Windows forms" - which is a type of windows application.
But you are right, the 8051 could be used to generate a crude form using escape-sequences to program a terminal - like we used to do on VT100-style terminals before the days of real GUIs...
Maybe he wants that "retro" look...?
More likely he wanted to interface a PC into the 8051 device and hadn't considered the physical interface (IE to him that's trivial), being focused on the ginger bread (the UI instead of how to get data to the device).
Having done the serial UI before one can do a fair bit with it, but alas that uses up lots of code space in the device. I tend to use some sort of protocol that facilitates proper information exchange.
This is however all speculation at the moment.
Stephen
can Tamir help plz>?
Nobody knows what the question is
Erik
PS did you just change your name?
What can I do for you, dear Jameel? I would do almost anything except become your code monkey!!!
"What can I do for you, dear Jameel? I would do almost anything except become your code monkey!!!"
Message from Jameel: switch to your birthday suit and take a picture, and upload to Flickr, Picasa, SmugMug, ... and post a link.
Tamir,
I have a few picture that are 'cool' and even some videos that are also 'cool'... So is it an easy endeavor to post some of those pics or not? (I only use a PC for cross-compiling, so I am a bit naive about "The Tool's Platform." Any non-real time OS is something I don't bother with. Hence my ignorance of Microsoft 'form' tools.
erik rightfully points out that we don't know the OP's position/question. ",Nobody knows what the question is"
Thank you in advance, and I need the info immediately because we're supposed to hand in our exam papers within the next fifteen minutes !
Hi Friends. Thanks a lot for all the comments.. Let me explain my requirement and then please let me know what is the best way i can go about developing a solution.
1) I have a board which has a 8051 MicroController. 2) I have a USB based connection from this board to my system. 3) I need to develop a software that has a windows form in which a user will feed some values. 4) depending upon these values i want to send some commands to the MicroController.
I can design the form in C#. But now the problem arises how do i generate 8051 commands and send those commands to the 8051 controller using C#.
So someone can please tell me how can i generate commands for 8051 using C# from application. Pointers to some examples will also help.
Additionally i have to send commands over USB and receive data from the device.
If in case anyone has an alternative way of implmenting my program. Please Please guide me.
thanks and Regards, Siddharth Gupta