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


Sun Oct 13 2019, 12:23 AM
Log in.. then post your code in the 8051 forum
Sat Oct 12 2019, 12:18 PM
Bhadra Sajikumar
i am doing a countdown timer with 8051 for my project, unfortunately our professor had to take a leave of absence before he could teach us most of it.. can someone explain the .asm code of it for me?
Mon Sep 23 2019, 09:37 AM
I am doing a project for my schools wireless security system with cameras,sensors and spot lights using 8051 micro controller, could you help me out with the design and its source code.
Wed Sep 18 2019, 10:48 PM
Caryn Kover
Thank you for your time,
Mon Aug 05 2019, 09:09 PM
@Ismail ..post in forum, give details
Mon Aug 05 2019, 06:33 PM
Ismail balghmi
Hello. Please I won't download
Wed Jul 24 2019, 02:47 AM
@BUSTER123 Please post in the forum
Tue Jul 23 2019, 08:13 PM
hello! newbie here. i am kind of a guy who hates using ready - made existing libraries, so this helped a lot as i was trying to control and write to a character lcd display. however, i can't figure out how to set the cursor position. for example, i want to set it to the 5th column in the first row, so position 5. so according to the table, i am sending 10000101 on the 8 data lines of the lcd (register select pulled low). the cursor does not move there however. and i cant move the cursor left or right too. is it something wrong that i am doing? thank you.
Thu Jul 11 2019, 09:55 PM
@ramos https://www.theengineeringprojects.com/2017/09/l298-motor-driver-library-proteus.html
Thu Jul 11 2019, 09:44 PM
@praveen123. Can you give a link to the project ?



Mon Nov 11 2019, 01:31 PM
Sun Nov 10 2019, 04:42 AM
Sat Nov 09 2019, 03:41 PM
Fri Nov 08 2019, 10:06 AM
Fri Nov 08 2019, 07:28 AM
Tue Oct 15 2019, 04:32 PM
Tue Oct 15 2019, 02:27 AM
Sat Oct 05 2019, 02:38 PM


Guests: 32, Members: 0 ...

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

Members: 38102
Newest member: DeepakBGattani
Forum Activity
Jeanbusatta Avatar
Posted By Jeanbusatta
Sun Nov 10 2019, 04:43 AM
ty, really needed it
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Oct 22 2019, 05:18 AM
wimac Avatar
Posted By wimac
Mon Oct 21 2019, 09:18 AM
I’ve been following this thread and looking at the...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sun Oct 20 2019, 03:09 PM
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sun Oct 20 2019, 03:02 PM
sir, when i on display ,sometime 3rd display is no...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sun Oct 20 2019, 02:53 PM
sir, when i on display ,sometime 3rd display is no...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sun Oct 20 2019, 12:21 AM
Your code seems okay on my simulationTry my code o...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sat Oct 19 2019, 07:13 PM
please find video attachment. 3rd & 4th displa...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sat Oct 19 2019, 07:05 PM
sir, 3rd and 4th dot matrix display flickering, ...
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Oct 18 2019, 09:18 PM
Hopefully you understand some of the program.Which...