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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/30/04 18:07
Read: times


 
#63710 - Completely the Wrong MCU!
Responding to: ???'s previous message
Azhar Ali Chohan said:
i wanted to have,
char LargeArray[1000][6];
Now this huge array is taking up my most of code memory.

So that's 6000 bytes of strings.

Azhar Ali Chohan said:
I have 89C2051, But i ran out of code space

Well of course you did - that part has only 2K of Flash!
Just your strings take up 300% of the code space!

Azhar Ali Chohan said:
so, i turn to 89C4051,

Only 4K - still no use!

Azhar Ali Chohan said:
at this time my program grows upto 3701 Byte

So it would never have fitted in the 89C2051 anyway!
and you still want to fit more functionality, all the strings and some more code to do the decompression into the remaining 395 bytes?!?!

Face it, This cannot work!

Why on earth are you messing about with these chips which are so obviously far too small for your application?!

As Erik said, There are plenty of variants available with plenty of flash: use one!

List of 42 messages in thread
TopicAuthorDate
String Compression Algorthim...            01/01/70 00:00      
   RE: String Compression Algorthim...            01/01/70 00:00      
      RE: String Compression Algorthim...            01/01/70 00:00      
      A more excellent way            01/01/70 00:00      
      creativity or...rehashing an old idea            01/01/70 00:00      
   Alternative approach with Keil            01/01/70 00:00      
      RE: Alternative approach with Keil            01/01/70 00:00      
         RE: Clarification - Alternative approach            01/01/70 00:00      
   RE: String Compression Algorthim...            01/01/70 00:00      
      ROM/RAM; CODE/XDATA            01/01/70 00:00      
         RE: ROM/RAM; CODE/XDATA            01/01/70 00:00      
      RE: String Compression Algorthim...            01/01/70 00:00      
         What MCU?            01/01/70 00:00      
            RE: What MCU?            01/01/70 00:00      
               RE: What MCU?            01/01/70 00:00      
               RE: What MCU?            01/01/70 00:00      
                  RE: What MCU?            01/01/70 00:00      
                     RE: What MCU?            01/01/70 00:00      
               Completely the Wrong MCU!            01/01/70 00:00      
                  RE: Completely the Wrong MCU!            01/01/70 00:00      
                     RE: Completely the Wrong MCU!            01/01/70 00:00      
   RE: String Compression Algorthim...            01/01/70 00:00      
      RE: String Compression Algorthim...            01/01/70 00:00      
         RE: String Compression Algorthim...            01/01/70 00:00      
   RE: String Compression Algorthim...            01/01/70 00:00      
      RE: String Compression Algorthim...            01/01/70 00:00      
         RE: String Compression Algorthim...            01/01/70 00:00      
   Radix-50?            01/01/70 00:00      
      RE: Radix-50?            01/01/70 00:00      
         RE: Radix-50?            01/01/70 00:00      
            Animations...            01/01/70 00:00      
            RE: Radix-50?            01/01/70 00:00      
      RE: Radix-50?            01/01/70 00:00      
         RE: Radix-50?            01/01/70 00:00      
            Another question?            01/01/70 00:00      
               RE: Another question?            01/01/70 00:00      
                  RE: Another question?            01/01/70 00:00      
                     RE: Another question?            01/01/70 00:00      
                        RE: Another question?            01/01/70 00:00      
               RE: Another question?            01/01/70 00:00      
                  interesting for other, but not for Azhar            01/01/70 00:00      
               RE: Another question?            01/01/70 00:00      

Back to Subject List