At 23:14 18-06-05 +0800, you wrote: >N. Coesel wrote: > >>At 00:24 18-06-05 +0200, you wrote: >> >> >>>N. Coesel wrote: >>> >>> >>>>Why would you copy more than one subroutine in RAM? The only thing you will >>>>want in RAM is the code that actually programs the flash. The amount of >>>>memory doesn't allow for allocating large fixed buffers for this. >>>> >>>> >>>the MSP430 can program itself when executing from flash. the flash >>>controler handles that nicely. >> >>I've read about it, unfortunately that doesn't work for page programming >>which is much faster than programming byte after byte. >> >I don't know what you mean. > >You can't program byte by byte. It has to be word by word.
I wasn't shure whether it was word or byte. I took the wrong guess, but it doesn't really matter in respect to the context. >A write takes about 75us per word. 60K bytes (30K words) would only take >2.25s + the software overhead. It's not exactly slow. Overheads, rather >than word by word writing, are the usual limiting factor. The manual says page programming is just twice as fast. Not bad, the flash memories I've used before are very slow when it comes to programming one memory location at a time. I assumed the MSP430's flash memory had the same story. I think I'll change my plans and go for the -easy route- word-by-word programming. Less than 3 seconds for programming 60KB is very acceptable. Nico
