P89V51RD2 can be programed using MikroC?

General discussion on mikroC.
Post Reply
Author
Message
vishaletm
Posts: 50
Joined: 26 Jan 2012 05:09
Contact:

P89V51RD2 can be programed using MikroC?

#1 Post by vishaletm » 10 Feb 2012 18:20

I have a P89V51RD2 chip, can i program it using MikroC? It is not listed in MikroC
http://microcontrollerprojects00.blogspot.com/
ARM, PIC , AVR, 8051 Projects/Tutorials (MikroC)
If you get, give. If you learn, teach.

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: P89V51RD2 can be programed using MikroC?

#2 Post by filip » 13 Feb 2012 10:35

Hi,

If it is not listed, then I'm afraid that it cannot be used.

Regards.
Filip.

octal
Posts: 534
Joined: 09 Feb 2005 14:15
Location: France
Contact:

Re: P89V51RD2 can be programed using MikroC?

#3 Post by octal » 13 Feb 2012 17:07

It's a 100% 8051 core, and MikroC generate 100% 8051 instructions. I cannot see why you cannot program it.
I think that if you make needed header file containing the mapping of the registers, you can program it using mikroC (I mean the compiler mikroC, I dont mean you can flash it from withing the IDE).

Regards
http://www.pocketmt.com

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: P89V51RD2 can be programed using MikroC?

#4 Post by filip » 14 Feb 2012 09:14

Hi,

Of course, if you write the definition file for this MCU (if it is 100% 8051 core as octal said) you should be able to use it,
but this would be a hard way if you are an inexperienced user.

Regards,
Filip.

vishaletm
Posts: 50
Joined: 26 Jan 2012 05:09
Contact:

Re: P89V51RD2 can be programed using MikroC?

#5 Post by vishaletm » 21 Feb 2012 17:36

I found 89c51RD2 in the list. Hope its Equivalent.
http://microcontrollerprojects00.blogspot.com/
ARM, PIC , AVR, 8051 Projects/Tutorials (MikroC)
If you get, give. If you learn, teach.

vishaletm
Posts: 50
Joined: 26 Jan 2012 05:09
Contact:

Re: P89V51RD2 can be programed using MikroC?

#6 Post by vishaletm » 20 Apr 2012 17:44

P89v51RD2 will work for simple LED blinking programs using mikroc. But it is not working with UART of mikroC, Not even getting some error values, even in proteus simulator. Is there any bug with the example?



Regards
_______________________________________
http://microcontrollerprojects00.blogspot.in/
http://microcontrollerprojects00.blogspot.com/
ARM, PIC , AVR, 8051 Projects/Tutorials (MikroC)
If you get, give. If you learn, teach.

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: P89V51RD2 can be programed using MikroC?

#7 Post by filip » 23 Apr 2012 12:37

Hi,

Well, if this MCU is not supported by the compiler and you have added it manually by writing your DEF file,
I'm afraid that I'm unable to help you much on this matter, as I haven't got the sample nor its DEF file and don't have experience in Philips 8051's chips.

Thank you for the understanding.

Regards,
Filip.

Post Reply

Return to “mikroC General”