Page 1 of 1

8051 ready board USB conncetion

Posted: 10 Aug 2015 01:33
by newbie8051
Hello,

I have the 8051 ready board:
http://www.mikroe.com/ready/8051/

I would like to program a simple blinking-lights program. Do I need the 8051prog2 to program the board? I connected a USB cable but the computer does not seem to acknowledge the board (althought I have installed all the required drivers and software as per MikroC Pro documentation) Do I need to power the board too?
Here is the simple program
void main() {
P0 = 0;
while(1){
P0 = ~P0;
Delay_ms(1000);
}
Thank you for your help

Re: 8051 ready board USB conncetion

Posted: 10 Aug 2015 12:06
by biljana.nedeljkovic
Hello,

which microcontroller do you use?

You will need a programmer to load the .hex file into your microcontroller to make it work.

You can power the board separately or supply it from the programmer.
Here is the link of our product, if you don't have any, but there are also the programmers of other manufacturers. As long as they use standard .hex file format, you can use our mikroC PRO for 8051 compiler with it.
http://www.mikroe.com/mikroprog/8051/

Best regards,
Biljana

Re: 8051 ready board USB conncetion

Posted: 10 Aug 2015 20:58
by newbie8051
I would like to use a Philips P87LPC764

I bought the programmer and will let you know how it goes when I get it.

Thank you,

Re: 8051 ready board USB conncetion

Posted: 16 Aug 2015 22:43
by newbie8051
Hello,

I got the programmer, I ran the code and I can see the boards's P0 pins voltage changing from 0-5v but no lights. Is there anything else that I have to do in the board for the lights to come on?

This is the program I am running:
void main() {
P0 = 0;
while(1){
P0 = ~P0;
Delay_ms(1000);
}

Very simple.
Thanks,

Re: 8051 ready board USB conncetion

Posted: 17 Aug 2015 15:00
by biljana.nedeljkovic
Hi,

take a look at the example code for Led blinking in the compiler. Pay attention that LED is activated by logical zero.

You can send the pictures so I can see how you connected the diodes on Ready for 8051.

I have tested your code on Easy8051 and it works fine.

Best regards,
Biljana

Re: 8051 ready board USB conncetion

Posted: 23 Aug 2015 20:26
by newbie8051
Hello,

I finally got it to work with the AT89 microcontroller but I am trying to use a Philips p87c51fb and the flash programmer does not support it :(
Do you know how can I program this Philips microcontroler using the 8051 ready board?

Thank you so much for you help

Re: 8051 ready board USB conncetion

Posted: 24 Aug 2015 11:30
by biljana.nedeljkovic
Hi,

unfortunately that microcontroller is not supported by our compiler, so I don't think you will be able to program P87C51FB.
And also, mikroProg programmer currently supports only Atmel AT89 family of microcontrollers.

Best regards,
Biljana