AnsweredAssumed Answered

bug in NFC_LDD range checking?

Question asked by Marc Lindahl on Feb 24, 2014
Latest reply on Mar 11, 2014 by Marc Lindahl

I believe this:

 

  /* Input parameter test - this test can be disabled by setting the "Ignore range checking"

     property to the "yes" value in the "Configuration inspector" */

  if ((PageNumber + PageCount) >= NAND_FLASH_PAGE_COUNT) {

    return ERR_PARAM_LENGTH;

 

should be this:

 

  /* Input parameter test - this test can be disabled by setting the "Ignore range checking"

     property to the "yes" value in the "Configuration inspector" */

  if ((PageNumber + PageCount) > NAND_FLASH_PAGE_COUNT) {

    return ERR_PARAM_LENGTH;

 

Otherwise you can't access the last page of the flash.

Outcomes