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 10:25
Read: times


 
#165976 - No, think it's keil compiler
Responding to: ???'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)            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