
9 Feb
2006
9 Feb
'06
6:48 a.m.
Herekar, Aniruddha wrote:
Does memory commands mm, mw, mn and tftp work only with RAM memory and not flash (nor or nand) memory?
If so are there any other commands other than 'cp' that can be used to write into flash (nor or nand) memory?
Basic memory commands (mm. mw) work in any memory region that the hardware supports.
You will have to be mindful of certain memory and interface devices using only 16-bit or 8-bit access in a 32-bit architecture. Otherwise, such attempts to use 32-bit read/write will result in the most significant short-word or byte NOT to carry valid data value.
TFTP does work writing directly into unprotected FLASH region if the CFG_DIRECT_FLASH_TFTP is defined in your include/configs/<board>.h file.