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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/10/10 08:49
Read: times


 
#172307 - Writing to flash - in general
Responding to: ???'s previous message
Buddy Smith said:
Wiznet's sample code for reading/writing the data flash writes to the ISP registers, then jumps into the bootloader code. It's really ugly

This is, I think, quite common for writing to flash - usually because the flash is mapped into CODE space, and the 8051 core has no way to write to CODE space.

Also, "writing" to flash is not just a simple write operation as for RAM.

I get the impression that the Datasheet is just plain wrong when it says that the data flash can be accessed with MOVX!
See: http://www.8052.com/forum/read/172300

But it might be worth looking at some other chips that allow flash writing via their ISP routines...?

List of 18 messages in thread
TopicAuthorDate
Wiznet W7100 questions.... accessing data flash?            01/01/70 00:00      
   datasheet            01/01/70 00:00      
      Nope, both start at zero....            01/01/70 00:00      
         ?            01/01/70 00:00      
            Yup, movx doesn't do it as far as i can tell....            01/01/70 00:00      
               Writing to flash - in general            01/01/70 00:00      
               We cannot open the assembler instructions            01/01/70 00:00      
                  data flash API is through IAP            01/01/70 00:00      
                     documented quite concisely - but also contradictorily (!)            01/01/70 00:00      
                        but how does it matter?            01/01/70 00:00      
                           But it's not an omission!            01/01/70 00:00      
                              potentiality of users            01/01/70 00:00      
                                 Sad, but true - but WIZnet beware!            01/01/70 00:00      
         So they do!            01/01/70 00:00      
   core by DCD            01/01/70 00:00      
      Why do you believe that, Jan?            01/01/70 00:00      
         hint is the debugging tool...            01/01/70 00:00      
   Now I've not read THIS datasheet ... but ...            01/01/70 00:00      

Back to Subject List