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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/25/06 07:35
Read: times


 
#108260 - clarification
Responding to: ???'s previous message
hi,

Aitor Lecertua said:
This PC would communicate with a "user Bootloader" in the micro via RS232

Where do you have this User Booloader placed? Assume in the FM0 part of internal flash (user space), do you?

and this bootloader would program:
- the first 32K o the program in the on-chip memory

...And this is very dangerous because during software update the User Bootloader will be re-programed by itself.
Indeed flash write process is made with API functions located in FM1. Anyway if a fault happenes then it may break the user bootloader code.

After programming, registers should be set in order to execute the default bootoloader (which also implements the In-System programming via UART and the on-chip flash API-s)

It is not a problem: just re-program SBV byte with its default value by __api_wr_SBV().

By the way if you use (A)T89C51CC01UA then it has UART bootloader;
(A)T89C51CC01CA has CAN bootloader.

Regards,
Oleg

List of 26 messages in thread
TopicAuthorDate
External Flash In-System Programming            01/01/70 00:00      
   Additional hardware also needed            01/01/70 00:00      
      The micro can write the external FLASH            01/01/70 00:00      
         do a search on IAP            01/01/70 00:00      
         Are you sure?            01/01/70 00:00      
            Writing external flash only programming            01/01/70 00:00      
               Somehow it would be nice, albeit seeming            01/01/70 00:00      
                  I know the OP did not answer explicitly,            01/01/70 00:00      
                     I do not think so            01/01/70 00:00      
                        cunning scheme            01/01/70 00:00      
                           nope            01/01/70 00:00      
                              yep, that's your way, but the OP wants..            01/01/70 00:00      
                                 using !CS            01/01/70 00:00      
                                    In the olden days            01/01/70 00:00      
                                    what's the problem?            01/01/70 00:00      
                                       Unless            01/01/70 00:00      
                     just a nagging doubt...            01/01/70 00:00      
               Yes, it's been done in another context            01/01/70 00:00      
               clarification            01/01/70 00:00      
   8052SBC Example            01/01/70 00:00      
   The HW is prepared            01/01/70 00:00      
      yes and no            01/01/70 00:00      
         I don't know for this particular derivat            01/01/70 00:00      
      why on earth?            01/01/70 00:00      
         In-System Programming            01/01/70 00:00      
            simple, then            01/01/70 00:00      

Back to Subject List