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

How to read write LUT in the program memeory space

Hello all I need to hold a LUT in the program memory space and it will be updated in the running mode and it should be non volatile. Please write me the built in function used for the same.

Parents
  • No, I didn't miss it. Which was why I claimed I had too little information to tell how much money i would want for writing it.

    What the OP may not have considered is that the flash memory in the LPC21xx requires a full sector erase/rewrite if changing a single LUT entry. And each flash sector supports a very limited number of erase cycles - without double-checking with the chip documentation, I think it is 1000 cycles. So depending on how often that LUT needs to be updated, that chip may wear out the flash.

    A serially-connected EEPROM would have the advantage that it have much smaller rewrite blocks. And normally supports 100 or maybe 1000 times more rewrite cycles for each such block.

Reply
  • No, I didn't miss it. Which was why I claimed I had too little information to tell how much money i would want for writing it.

    What the OP may not have considered is that the flash memory in the LPC21xx requires a full sector erase/rewrite if changing a single LUT entry. And each flash sector supports a very limited number of erase cycles - without double-checking with the chip documentation, I think it is 1000 cycles. So depending on how often that LUT needs to be updated, that chip may wear out the flash.

    A serially-connected EEPROM would have the advantage that it have much smaller rewrite blocks. And normally supports 100 or maybe 1000 times more rewrite cycles for each such block.

Children