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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/10/09 15:35
Read: times


 
#165990 - Itterations
Responding to: ???'s previous message
When u place them in a while loop shouldnt't each itteration preforms a write to the address?
So when u connect an oscilloscope you should see the transitions?

I've not reached this stage yet because each code containing "external ram features" just won't get flashed into the µc.
To make things even worse even the simplest code does not get into the µc.
for example

#include "t89c51cc01.h"
#include "compiler.h" //just atmel compiler header file



char dat;
unsigned char dat2;

int number;
unsigned int x;

main (void)
{
dat=0x00;
while (1)
{
x++;
switch (x)
	{
	case 10:
		P0=0x00;
		break;
	default: P0=0xff;
	}
if (x==150) x=0;
}
}
 
 


It just doesn't get in there... I don't see what i'm missing here.

I've been using the at89c51cc03 most of the time but the development board here is this t89c51cc01. But I doubt there is much difference in between them, especially for a simple program like this.

List of 19 messages in thread
TopicAuthorDate
AT89c51cc01 and External memory (keil/C51)            01/01/70 00:00      
   Cross posted            01/01/70 00:00      
   Is your problem with FLIP ?            01/01/70 00:00      
      No, think it's keil compiler            01/01/70 00:00      
         Sounds like an error in the data sheet            01/01/70 00:00      
         bible time            01/01/70 00:00      
            Itterations            01/01/70 00:00      
               just won't get flashed into the µc??            01/01/70 00:00      
               The compile will compile what you tell it            01/01/70 00:00      
                  RE: your example does not access any xdata at all            01/01/70 00:00      
         RE: Rob Stoffels said:I think there is something that needs            01/01/70 00:00      
            Going to try something different            01/01/70 00:00      
               Broken Boards?            01/01/70 00:00      
                  Memmory mapping question/ Bord fixed            01/01/70 00:00      
                     If I read this correctly            01/01/70 00:00      
                        Missunderstanding            01/01/70 00:00      
                           xdata will just be whatever EXTRAM says            01/01/70 00:00      
                           do you have any external RAM?            01/01/70 00:00      
   CC03 is working            01/01/70 00:00      

Back to Subject List