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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/24/10 11:36
Modified:
  03/24/10 11:57

Read: times


 
#174466 - Atmel 89C5131A-UM Internal memory programming
First of all, Just would like to point out that I am new with x51 Microprocessors (or Microprocessors in general) so please excuse my lack of in-depth knowledge and lack of experience.

I am trying to build a user "Database" using array, however I dont really understand how do I specify to the compiler to use the build in EPROM? I tried "idata" and just "data", but the compiler gave me an error. And I assume Xdata isnt going to work.

I use Keil uVision4 as compiler, 80C5131A-UM for Micro and C51 as programming language.

heres the code segment that giving me a hard time

unsigned char idata encrypted_password[7000] _at_ 0x0000;
unsigned char idata user_name[22400] _at_ 0x1B5A;
unsigned char idata user_level[1400] _at_ 0x72DB;

 


EDIT:

Also, I am not completely clear on Timers, how do I make a timer count 1milisecond as accurately as possible?

List of 15 messages in thread
TopicAuthorDate
Atmel 89C5131A-UM Internal memory programming            01/01/70 00:00      
   compiler specific            01/01/70 00:00      
      Reply            01/01/70 00:00      
         Sample code?            01/01/70 00:00      
   Timers            01/01/70 00:00      
      Timers Reply            01/01/70 00:00      
         Have you looked at the tutorials yet?            01/01/70 00:00      
         it's all for assembler - but that doesn't matter!            01/01/70 00:00      
   Huge amounts of data            01/01/70 00:00      
      disregard the large numbers            01/01/70 00:00      
         No compiler support for EEPROM            01/01/70 00:00      
            compiler handling the EEPROM transparently            01/01/70 00:00      
               I did not know Keil helper functions.            01/01/70 00:00      
                  It's part of the "xdata banking" support            01/01/70 00:00      
                     Previously, on 8052.com...            01/01/70 00:00      

Back to Subject List