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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/08/06 09:57
Modified:
  09/08/06 09:59

Read: times


 
#123906 - block1
Responding to: ???'s previous message
Kelvin Yan said:
I'm looking into using the option that were suggested by Jan. Try to copy the interrupt vertor into Block1.

But how does address vector can be copied into Block1? Since all the while we only program the code in Block0, IAP also update the data in Block0. Block1 is 'invisible'!


Did you actually read the SST datasheet? The innards of IAP are described very nicely there...

You program code only in Block0 if you resort only to the IAP software in the bootloader. Of course it is possible to program Block1 - how else would the "bootloader updater to v.5" downloadable from Philips website work?

And, as far as "invisibility" of Block1 is concerned, if you flip the appropriate bit for mapping block1 to the lower address space, it is there, visible for code fetching, isn't it... OK they could've make it "invisible" for MOVC (that's the case for example in the LPC9xx's) but they chose not to do so.

---
Nevertheless, if you really CAN stop the data in some way (which I had the impression you have no control upon), chose that option.

Maybe the simplest way is to use RTS/CTS or XON/XOFF handshake; then on PC you need "only" switch on the appropriate handshake for the serial port (caveats apply, however, discussed in this forum, besides other).

Jan Waclawek


List of 23 messages in thread
TopicAuthorDate
IAP and serial port receiving problem            01/01/70 00:00      
   Who knows!            01/01/70 00:00      
      IAP and serial port receiving problem            01/01/70 00:00      
         Need a better protocol!            01/01/70 00:00      
            if it's e.g. a datalogger, he can't change it...            01/01/70 00:00      
               Jan, do you really want            01/01/70 00:00      
                  there is no mystery, just information or lack of            01/01/70 00:00      
            DIsable            01/01/70 00:00      
               Partial solution            01/01/70 00:00      
                  If i            01/01/70 00:00      
                     Not necessarily            01/01/70 00:00      
   problems with interrupts in IAP            01/01/70 00:00      
      if and if not            01/01/70 00:00      
   Did not someone tell, ...            01/01/70 00:00      
      as in life, only if you follow the rules            01/01/70 00:00      
         Oh yes it does!            01/01/70 00:00      
         What I meant...            01/01/70 00:00      
            it does, when he does not interrupt            01/01/70 00:00      
      serial IAP?            01/01/70 00:00      
   If data is coming from PC            01/01/70 00:00      
      I doubt the OP would ask if he could            01/01/70 00:00      
         how does address vector can be copied into Block1            01/01/70 00:00      
            block1            01/01/70 00:00      

Back to Subject List