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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Rob Stoffels
06/10/09 05:25
Read: 344 times
Westerlo
Belgium


 
#165976 - No, think it's keil compiler
Responding to: David Prentice's previous message
Flip is not the problem, cause when i replace the PA=0x55 part with P0=0x55 flip flashes the µc without any problem...


The AT89c51cc01 has onchip XRAM
datasheet said:

Bit 1:
Internal/External RAM (00h - FFh) access using MOVX @ Ri/@ DPTR
0 - Internal XRAM access using MOVX @ Ri/@ DPTR.
1 - External data memory access.

bit O:
Disable/Enable ALE)
0 - ALE is emitted at a constant rate of 1/6 the oscillator frequency (or 1/3 if X2
mode is used)
1 - ALE is active only during a MOVX or MOVC instruction.


I think there is something that needs to be configured in the keil linker, object or assembler file(s) to indicate the use of XDATA (XRAM, far).

Wiring and understanding how the communication between µc and external ram is clear.

List of 19 messages in thread
TopicAuthorDate
AT89c51cc01 and External memory (keil/C51)      Rob Stoffels      06/09/09 10:54      
   Cross posted      Rob Stoffels      06/10/09 04:24      
   Is your problem with FLIP ?      David Prentice      06/10/09 04:36      
      No, think it's keil compiler      Rob Stoffels      06/10/09 05:25      
         Sounds like an error in the data sheet      David Prentice      06/10/09 06:08      
         bible time      Erik Malund      06/10/09 07:18      
            Itterations      Rob Stoffels      06/10/09 10:35      
               just won't get flashed into the µc??      Andy Neil      06/10/09 11:18      
               The compile will compile what you tell it      David Prentice      06/10/09 11:21      
                  RE: your example does not access any xdata at all      Andy Neil      06/10/09 11:31      
         RE: Rob Stoffels said:I think there is something that needs      Andy Neil      06/10/09 11:33      
            Going to try something different      Rob Stoffels      06/10/09 12:46      
               Broken Boards?      Andy Neil      06/11/09 05:42      
                  Memmory mapping question/ Bord fixed      Rob Stoffels      06/15/09 08:32      
                     If I read this correctly      Erik Malund      06/15/09 09:04      
                        Missunderstanding      Rob Stoffels      06/15/09 09:49      
                           xdata will just be whatever EXTRAM says      David Prentice      06/15/09 10:18      
                           do you have any external RAM?      Erik Malund      06/15/09 12:27      
   CC03 is working      Rob Stoffels      06/11/09 04:56      

Back to Subject List