This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

M29F040B access problem...

i'm using the MCB167 NET Evaluation board which uses M29F040B flash-chip as external memmory.
i've written the following device driver for program a word on the flash chip. the data has been written onto RAM instead of the flash.i feel the problem may be with the device driver.
what i've to do if i want to write the data onto the flash chip. it will be very helpful if you address this problem.

Flash_Write PROC NEAR

EXTS R9, #01H
MOV [R8], R10
RET

Flash_Write ENDP

Note: CS0# is checked. WRL# and WRH# are enabled. SALSEL CSCFG and etc. are configured. but still...

0