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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/26/05 14:11
Read: times


 
#98165 - ISP: SPI vs UART continued...
Responding to: ???'s previous message
Craig Steiner said:
Even if the hardware is just a simple shift register, there still has to be logic regarding what to do with an ISP command once it is shifted in.

It's already there - the programming and readout circuitry is already used for parallel programming. So the "only" extra thing needed is a command decoder - but it seems to me to be rather trivial, hence I think not too many chances to spoil it.

And don't forget, the UART-ISP DOES involve extra circuitry - that one which is used for the ISP invocation; and indeed it has become a major issue for UART-ISP (see the "lost bootvector" case, whatever is the cause of "loss", the result is a defunct chip (*)).

Craig Steiner said:
I'm not convinced that a UART approach has a higher probability of error than a shift register--and a UART has the added advantage that we shouldn't have these problems with strange cables that sometimes have restrictions such as "don't exceed 1 foot cable length", undocumented or incorrectly documented timing in datasheets, and guessing the size of the resistor we should place in-line in the cable.

Craig, you are speaking from the viewpoint of the user, whereas I am speaking from the viewpoint of the manufacturer. From this point of view, the SPI-ISP is simpler and safer in many respects. Of course, the manufacturers standpoint is (or should be), that the user should use a proper programmer, as he would use for parallel programming (here comes the kitchenware-problem).

Don't get me wrong, I am not advocating the SPI-ISP approach. I in fact like the UART-ISP, but not for it's better, safer, simpler, or anything; but for it can be modified by the user - if it's not wired in some obscure ROM - I don't like that variety - and I also don't like the other variety, if it IS in a FLASH and CAN be upgraded, but the manufacturer DOES NOT mention even the possibility of it (and what even publishing the reprogramming details).

Craig Steiner said:
In short, it seems that a UART-based ISP has to be debugged and verified once by the manufacturer before they ship their part

Oh yes, that's a good point. Rather, it ought to be debugged. Search the fora worldwide; you will find at least as many complaints on UART-ISP as on SPI-ISP. And, obviously, they are NOT caused by improper "cable"... so what, then?

Jan Waclawek


(*) don't catch me by words: can be recovered by parallel programmer - if one has any


List of 54 messages in thread
TopicAuthorDate
Unale to Program the AT89S52 TQPF in sys            01/01/70 00:00      
   cable seems too long            01/01/70 00:00      
      Cable ?            01/01/70 00:00      
      Crosstalk?            01/01/70 00:00      
         me too and same result            01/01/70 00:00      
            Modifications...            01/01/70 00:00      
               Tank you very much Kai            01/01/70 00:00      
         my hesitance            01/01/70 00:00      
      Problem Solved :)            01/01/70 00:00      
         Bah,            01/01/70 00:00      
            Wow !            01/01/70 00:00      
            i suspected that....            01/01/70 00:00      
   Coul someone send mo ISP_Programer30a            01/01/70 00:00      
      if you took the time to read            01/01/70 00:00      
         He is asking about ISP            01/01/70 00:00      
            if you need a programmer, you are not do            01/01/70 00:00      
               depends what you call a programmer            01/01/70 00:00      
                  standard signals            01/01/70 00:00      
                     The moon is...            01/01/70 00:00      
                        nice point ;)            01/01/70 00:00      
                        last I looked            01/01/70 00:00      
                           Programmers vs cables            01/01/70 00:00      
                              all is relative            01/01/70 00:00      
                                 Kitchen table programmers            01/01/70 00:00      
                                    additionally            01/01/70 00:00      
                                 SPI-ISP vs UART-ISP            01/01/70 00:00      
                                    bit bang and one button            01/01/70 00:00      
                                       programmer            01/01/70 00:00      
                                          no technician needed            01/01/70 00:00      
                                             was the PDA/laptop free?            01/01/70 00:00      
                                                yes, the PDA/laptop was free            01/01/70 00:00      
                                                   I have seen boxes for configuration            01/01/70 00:00      
                                                      free or "cost you nothing"            01/01/70 00:00      
                                                         summary?            01/01/70 00:00      
                                                            sure            01/01/70 00:00      
                                                Neat            01/01/70 00:00      
                                                   Thanks            01/01/70 00:00      
                                    I agree with this            01/01/70 00:00      
                                       ISP is more straighforward            01/01/70 00:00      
                                          hardware is no garantee            01/01/70 00:00      
                                             sure            01/01/70 00:00      
                                                Not so sure            01/01/70 00:00      
                                                   ISP: SPI vs UART continued...            01/01/70 00:00      
                                                      True but...            01/01/70 00:00      
                                                         I know of none            01/01/70 00:00      
                                                            Do you mean            01/01/70 00:00      
                                                               re kicking and screaming            01/01/70 00:00      
                                                               issues...            01/01/70 00:00      
                                                                  Still sounds like entering ISP problem            01/01/70 00:00      
                                                                     my lengthy posts are boring            01/01/70 00:00      
                                                                     entry of ISP            01/01/70 00:00      
                                                                        alternative UART-ISP entry            01/01/70 00:00      
                                    Kitchenware is what isn't thorougly deve            01/01/70 00:00      
                                       somehow the UART method has escaped all            01/01/70 00:00      

Back to Subject List