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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/04/05 14:13
Read: times


 
#89098 - XA compatibility
Responding to: ???'s previous message
I said: "You end up modifying all to 16 bit (even with a 251)"

Jon said "Is this commentary based on experience with the 251 or is it based on another architecture that you feel is like a 251"


I think the question was answered before it was asked.

I had the experience of trying the same design on the 251, the XA and the Siemens 16x. This was a project where the "low cost versions" ran on a '51 and the "advanced varsions" ran on the 16 bit processor. My job was to write the layer that made the apps people "not know which processor their C ran on". Since 680.000 units were eventually made, the development budget was so that I had the "luxury" of trying it on all 3 processors and also evaluate many "compiler" packages. ("compiler" in quotes because such a package also include assembler .. linker ...) and Jon, had the 251 been chosen, the package would have been Keil.

If you want to convert the original 8051 code to 251 code, you can simply compile it with the 251 compiler, at least that's what you can do with the Keil tools--I think other tools work similarly.

I have done this with a large number of 8051 applications that we converted to 251. For binary mode compatibility, I didn't modify any of the OBJ files (except for the startup code--but even that was not required). For source mode compatibility, all that was required was a simple re-compile with the 251 compiler. Each of these requires only a few minutes.


The 251 suffer greatly from being binary compatible (A5 switch) which has forced some design decisions that affect 16 bit performance negatively.

The XA is "source code compatible" i.e. you can reassemble your '51 assembler source and it will run on the XA with a different binary.

Of course, C source compatibility is the same for both.

Erik


List of 93 messages in thread
TopicAuthorDate
Kitchen sink (wanted features)            01/01/70 00:00      
   The obvious answer            01/01/70 00:00      
      Increased ALU capacity?            01/01/70 00:00      
         atleast 16 bit ALU            01/01/70 00:00      
            addendum to obvious answer            01/01/70 00:00      
            quite useless            01/01/70 00:00      
               Dallas            01/01/70 00:00      
            16 bit ALU etc            01/01/70 00:00      
               Kitchen sinks around...            01/01/70 00:00      
                  nope            01/01/70 00:00      
                     Whichever...            01/01/70 00:00      
                     If Philips did it so can others            01/01/70 00:00      
               ARM            01/01/70 00:00      
      FPGA - panacea?            01/01/70 00:00      
         No panacea            01/01/70 00:00      
      All data locations are bit-addressable.            01/01/70 00:00      
   what I want            01/01/70 00:00      
      Already done!            01/01/70 00:00      
         next step...            01/01/70 00:00      
   I would say ...            01/01/70 00:00      
      Flash RAM?            01/01/70 00:00      
         NV RAM            01/01/70 00:00      
            back up power            01/01/70 00:00      
         some non volatile RAM            01/01/70 00:00      
         some non volatile RAM            01/01/70 00:00      
   reset            01/01/70 00:00      
      Did'nt you get anything for Christmas?            01/01/70 00:00      
      The LPC has these            01/01/70 00:00      
   I forgot to say...            01/01/70 00:00      
      Sorry I just did that            01/01/70 00:00      
   Want true 16-bit PWM Support            01/01/70 00:00      
   Additional memory support            01/01/70 00:00      
   Why didnt you say Michael??            01/01/70 00:00      
      Some usefull things.            01/01/70 00:00      
   Interrupts            01/01/70 00:00      
   what I have made external            01/01/70 00:00      
   expression            01/01/70 00:00      
   USB master,            01/01/70 00:00      
      because?            01/01/70 00:00      
         because...            01/01/70 00:00      
         the other because            01/01/70 00:00      
            Stack?            01/01/70 00:00      
               separate memory space for stack            01/01/70 00:00      
                  stack et al.            01/01/70 00:00      
                     stack and rest features            01/01/70 00:00      
                        stack and the manufacturers            01/01/70 00:00      
                           Morpheus            01/01/70 00:00      
                           makers and Ultra51 from Winedge            01/01/70 00:00      
                              There's the catch!            01/01/70 00:00      
                                 DEC DPTR            01/01/70 00:00      
                        Maybe not so useless            01/01/70 00:00      
                        not quite...            01/01/70 00:00      
                     My opinion            01/01/70 00:00      
                        16-bit SP and Ri            01/01/70 00:00      
                           if that's the goal            01/01/70 00:00      
                              Hardware and software relationship            01/01/70 00:00      
                                 re Hardware and software relationship            01/01/70 00:00      
                                    Compiler efficiency            01/01/70 00:00      
                              Much simpler            01/01/70 00:00      
                                 not6 KISS but KICI            01/01/70 00:00      
                                    16-bit Ri II            01/01/70 00:00      
                                       16 bits and pieces            01/01/70 00:00      
                                          16 bit Ri ad nauseam            01/01/70 00:00      
                                    16bit pointers: a different view            01/01/70 00:00      
                                       compiler compatibility            01/01/70 00:00      
                                          Yes, the compiler - here comes gcc            01/01/70 00:00      
                                             Oh boy            01/01/70 00:00      
                                                depends on people and perhaps motivation            01/01/70 00:00      
                                                   you are making my point            01/01/70 00:00      
                                                   Also            01/01/70 00:00      
                                                      no more gcc            01/01/70 00:00      
                                                         Open source '52 Pascal Compiler            01/01/70 00:00      
                                                compiler design            01/01/70 00:00      
                                                   absolutely            01/01/70 00:00      
                           New features            01/01/70 00:00      
                        what happens...            01/01/70 00:00      
                           bank selectors            01/01/70 00:00      
                              Hanging a bag on the 8051 will fail...            01/01/70 00:00      
                                 Bravo, but            01/01/70 00:00      
                                    XA vs 251            01/01/70 00:00      
                                       23-bit            01/01/70 00:00      
                                          42 bit...            01/01/70 00:00      
                                       never happens            01/01/70 00:00      
                                          No mods for my code...            01/01/70 00:00      
                                             XA compatibility            01/01/70 00:00      
      re: USB master            01/01/70 00:00      
   Features I want:            01/01/70 00:00      
      High Speed ADC and SRAM            01/01/70 00:00      
   I conclude            01/01/70 00:00      
   actually 23 bit does exist            01/01/70 00:00      
   Dreams come to product            01/01/70 00:00      
      Dreams come -they came            01/01/70 00:00      
         wide Vcc range            01/01/70 00:00      

Back to Subject List