bug in NFC_LDD range checking?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

bug in NFC_LDD range checking?

ソリューションへジャンプ
1,429件の閲覧回数
bowerymarc
Contributor V

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.

ラベル(1)
タグ(2)
0 件の賞賛
返信
1 解決策
1,242件の閲覧回数
Petr_H
NXP Employee
NXP Employee

Hi,

The configuration inspector can be invoked using the pop-up menu of the configuration  (the settings are specific for configuration, you can have different settings for each configuration)::

ConfigInspector.png

There you can set "Ignore range settings" :

ConfigInspector2.png

Then regenerate the code and the range checking code disappears.

 

Best regards

Petr Hradsky

Processor Expert Support Team

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,242件の閲覧回数
vfilip
NXP Employee
NXP Employee

Hello,

thanks for reporting this bug to us. We will fix it for next release (I am not sure about CW V10.6 because we are close to this release. However this fix is going to be part of DriverSuite 10.4).

Best regards

Vojtech Filip

Processor Expert Support Team

0 件の賞賛
返信
1,242件の閲覧回数
bowerymarc
Contributor V

similar range checking bug in the r/w raw routines.

i couldn't find how to disable range checking, despite the comments.  I guess the only workaround (unless there is a way to disable generating that code) is to freeze and edit?

0 件の賞賛
返信
1,243件の閲覧回数
Petr_H
NXP Employee
NXP Employee

Hi,

The configuration inspector can be invoked using the pop-up menu of the configuration  (the settings are specific for configuration, you can have different settings for each configuration)::

ConfigInspector.png

There you can set "Ignore range settings" :

ConfigInspector2.png

Then regenerate the code and the range checking code disappears.

 

Best regards

Petr Hradsky

Processor Expert Support Team

0 件の賞賛
返信
1,242件の閲覧回数
bowerymarc
Contributor V

thanks

0 件の賞賛
返信