Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/24/08 12:04
Read: times


 
#157015 - the art of reading other's comments :-)
Responding to: ???'s previous message
Sandeep Gupta said:
The same code is working on P89C52X2 & P89V52X2 but it is not working on 89V51Rx2,
Please find link for my sample program http://rapidshare.com/files/132070834/LED.zip


I said:
Write some very simple, rudimentary program such as blinking a LED...


If I say, SIMPLE, I mean it SIMPLE. There is a reason to keep things as simple as possible when you are trying something new - you don't want to be overwhelmed by the many new things of which quite a lot can go wrong - at the same time.

That your code worked on a different microcontroller is IRRELEVANT. You are dealing with the differences, and once there might be many, you need to stick to what is expected to be the same.

Look for example at http://www.8052.com/faqs.phtml?FAQ=120313 for something really SIMPLE.

I also said:
Just an example: the 'V51RD2 has an "internal-external" RAM which is enabled by default, so all MOVX below 0x2FF will go from/to that memory rather than any attached external memory or other memory-mapped device.

Sandeep somewhere deep in the code said:
#define  xbyte  ((unsigned char volatile xdata*)0)
#define ANODE_LATCH        xbyte[0X0000]

 

Confront.

JW

List of 10 messages in thread
TopicAuthorDate
NXP 89V51RD2 >> Basic Start Up >> FAQ            01/01/70 00:00      
   what is your test application?            01/01/70 00:00      
      89V51RD2 >> Application            01/01/70 00:00      
         it sounds good            01/01/70 00:00      
   Re: NXP 89V51RD2 >> Basic Start Up >> FAQ            01/01/70 00:00      
      Not a similar Divices >> P89V51Rx2 & 89c52X2            01/01/70 00:00      
         Two blocks of Flash for P89v51            01/01/70 00:00      
            Upload new boot loader            01/01/70 00:00      
            Sandeep is aware of that...            01/01/70 00:00      
         the art of reading other's comments :-)            01/01/70 00:00      

Back to Subject List