Discussion in "8051 Discussion Forum" started by    Amit Radha    Sep 30, 2007.
Mon Oct 08 2007, 04:43 AM
the tutorial is ready... visit the tutorial section...
and scroll to the end for Keil..

if you cannot find it.. then...
here is link

Learn to use Keil Microvision IDE for 8051 and ARM
Mon Oct 08 2007, 07:55 AM
hey ajay!!!
thanks a million for the tutorial! atleast i got started on doing something!!! ur r really great dude!!!
am still having a few doubts.
1. Am using MuVision2 (eval ver.) after doing build, it doesn show all the messages(in the o/p window) as in ur window.(i have attached a screenshot)
2. Now how can i do simulation of code along with external circuitry? is it possible to do in keil? For eg to do a blinking of an LED, can it be done on keil or i have to download it onto a chip n do physically only?
3. Wat next do i do now?
4. How good is MP Lab? I got it from my college as i was unable to install keil as full version.
Thanks a million once again ajay, the tutorial helped me alot as i was just wasting time unable to figure out wat to do!!!

Mon Oct 08 2007, 11:31 AM
never used mplab for 51...........
still u can use keil for simulation.....
1. click [options for target] on the right of build button...
2.select [output] tab
3. click right on [create hex] radio button
4. select [ok]
5. rebuild all files..
6. ctrl F5 start debug...
7.from menu bar (top most) select peripheral....
8.select ur io port
9. now frm debug menu select run....
there u are u will find ur pins blinking....
Mon Oct 08 2007, 12:15 PM
if you want to see the real working stuff then make a hardware for it... as i said.. if you cannot afford a programmer go for RD2. one of the best option for learners like you, cheap and easy...

MP Lab is mainly used for PIC microcontroller... and of course there might be little difference in the versions of keil.
you can download 2K working demo of keil Microvision 3 from www.keil.com
Tue Oct 09 2007, 04:40 AM
thanks shyam n ajay,
well for now am able to use keil thanks to ajay.
I was told by my senior that can use mplab for it. its similar to keil and after simulating the code for the 8051 we can also simulate it with external circuitry like leds lcds etc by using another tool called OCEANS.is that possible in keil also?
for now am planning to stick to doing simulations n in a month or 2 i can go in for the programmer also if am able to pull it out of my budget
Shyam i really couldn get the options u mentioned.
1. where does the [options for target] come?
2. where is the build button!
3. cant find the create hex opton either!!!
either am not lookin in the right place or something is seriously wrong with me!
Tue Oct 09 2007, 07:34 AM
no you cannot simulate with external circuit. I have not seen the OCEANS yet.. but i am sure you can use your hex file to simulate using that software..

in the work space.. you have
Target 1, right-click on it to go to options.. and then follow the shyam's step for creating hex file.. or i have to make another tutorial lol!
 Amit Radha like this.
Tue Oct 09 2007, 10:47 AM
Actually MPLAB is an IDE specially developed for Microchip ic's
so only with the help of mplab u cant even simulate codes we require an other software like HI-tech C compiler for compiling codes,and while starting the MPLAB the programe ask u to select the IC so if the IC is not in the list we can not use that cross-compiler for our project,similar is the case with KEIL.I hope it will be usefull.
 Amit Radha like this.
Tue Oct 09 2007, 12:52 PM
do u notice the notes in red the rest will be easy
 Amit Radha like this.
Thu Oct 11 2007, 01:55 AM
Thanks ajay, junied n shyam
My connection was not workin al of yesterday so couldn do anythin more.
sorry for being a dodo n not realizing where the button was!
Thnaks for the info on mplab juneid. wel thats the software we use in colege i was told for the 8051 lab (which we are yet to start).
hey ajay i was reading some posts about some led display someone had some doubts with some 4 bit data to the display n then u had also put some screenshots of the simulation u had done of the display. how did u do that?
Thu Oct 11 2007, 02:08 AM
you mean in keil?
that is LCD addon for Keil Microvision.. you can get this from the download section.. i think 8051 softwares...

Get Social


Powered by e107 Forum System


Wed May 20 2020, 03:59 AM
Does anyone have microcontroller programming software for STC15F104W (core 8051, 4 k, 128 byte, 6 I/O pin, UART ... DIL8), that works?
Sun May 03 2020, 01:08 AM
Tamu Gurung
Hi I am looking for a assembly language program for a digital decimal counter. Time counts max limit of 2 mins starting from 2.00 mins and ending at 0.00. time is to be displayed on 4 7-segment LED displays. Edsim51 simulator to be used. Thanks
Wed Mar 25 2020, 07:09 PM
Sir kindly send the code file i2c for 8051
Sat Mar 14 2020, 04:06 AM
@ Rohitnani,ABEBE..which project ?
Fri Mar 13 2020, 06:25 PM
how can get hadwere of this project
Sat Mar 07 2020, 09:41 PM
Sir, Could you please send me the zip file input password....
Wed Feb 26 2020, 09:28 PM
Peter Parker
Is it possible to send multiple messages using only 1 GSM module?
Sat Feb 01 2020, 02:42 PM
Pearl Olin
Wed Jan 22 2020, 10:46 PM
I m getting errors while simulation process during interfacing socket output and lcd... Can i get the report of ur project which is same as us.
Tue Jan 14 2020, 11:38 AM
shubham kharade
when i am trying to simulate the program in Proteus 8 professional, I am getting some errors as cannot find module file dhtxx.md can u help me



Thu May 21 2020, 08:44 AM
Wed May 20 2020, 09:28 PM
Wed May 20 2020, 03:05 PM
Wed May 20 2020, 07:52 AM
Wed May 20 2020, 03:15 AM
Tue May 19 2020, 06:08 PM
Tue May 19 2020, 02:22 PM
Mon May 18 2020, 09:50 PM


Guests: 41, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 01:37 AM

Members: 38211
Newest member: Davidthils
Forum Activity
xrxx Avatar
Posted By xrxx
Thu Apr 30 2020, 06:59 AM
BCD MULTIPLICATIONAssume that you have to 2 BCD nu...
liqian Avatar
Posted By liqian
Tue Apr 28 2020, 05:26 AM
I happened to see your post and I got many useful ...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Apr 28 2020, 04:21 AM
The code is hard to read.Please zip it and attach ...
rogermado Avatar
Posted By rogermado
Sun Apr 26 2020, 01:53 AM
@ExperimenterUK, thanks for your reply. You'll fin...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat Apr 25 2020, 05:42 PM
Some simulators handle displays better than others...
rogermado Avatar
Posted By rogermado
Sat Apr 25 2020, 03:59 PM
Hello everyone, sorry in advance if i'm not in the...
PHANTOM28 Avatar
Posted By PHANTOM28
Fri Feb 28 2020, 10:25 AM
Hi.I hope you all can help me. I am relatively ne...
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Feb 21 2020, 05:05 PM
ajay_bhargav Avatar
Posted By ajay_bhargav
Fri Feb 21 2020, 04:45 AM
Yes you can do that.1. Create a channel @Thingspea...
ananyagupta Avatar
Posted By ananyagupta
Thu Feb 20 2020, 03:58 AM
With regards to the particular characters sent to ...