Discussion in "8051 Discussion Forum" started by    Amit Radha    Sep 30, 2007.
Mon Oct 08 2007, 08: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, 11: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, 03:31 PM
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, 04: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, 08: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, 11: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, 02:47 PM
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, 04:52 PM
do u notice the notes in red the rest will be easy
 Amit Radha like this.
Thu Oct 11 2007, 05: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, 06: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


No messages yet.



Thu Jun 25 2020, 03:46 PM
Mon Jun 22 2020, 03:03 PM
Tue Jun 16 2020, 05:10 PM
Sat Jun 13 2020, 09:43 PM
Thu May 21 2020, 12:44 PM
Thu May 21 2020, 01:28 AM
Wed May 20 2020, 07:05 PM
Wed May 20 2020, 11:52 AM


Guests: 94, Members: 0 ...

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

Members: 38215
Newest member: Mirza123