What part is M10AFV3N86B

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

What part is M10AFV3N86B

ソリューションへジャンプ
1,239件の閲覧回数
harrykoukoutos
Contributor I

We have received a part labeled M10AFV3N86B CTVCQE. It should be a MK10DX64VLF5, but, as we have a hardware fault trap accessing registers in the FTFL group we wonder if it is another part

タグ(1)
0 件の賞賛
返信
1 解決策
1,067件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Harry,

    M10AFV should be MK10DX64Vxxx, just like this picture:

pastedImage_1.png

   For the package, you should check your hardware, If it is 48 LQFP (7 mm x 7 mm), then it is MK10DX64VLF5.

   You said when you access the FTFL register, you get hard fault, please tell me which register you access?

    Beside, please disable the global interrupt before your do the FTFL operation.

Wish it helps you!


Have a great day,

Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,068件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Harry,

    M10AFV should be MK10DX64Vxxx, just like this picture:

pastedImage_1.png

   For the package, you should check your hardware, If it is 48 LQFP (7 mm x 7 mm), then it is MK10DX64VLF5.

   You said when you access the FTFL register, you get hard fault, please tell me which register you access?

    Beside, please disable the global interrupt before your do the FTFL operation.

Wish it helps you!


Have a great day,

Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
1,067件の閲覧回数
harrykoukoutos
Contributor I

Thank you for your answer.

The code fragment is as follows:

FTFL->FCCOB0 = 0x80; //select the PGMPART command

FTFL->FCCOB1 = 0x00;

FTFL->FCCOB2 = 0x00;

.....

The trap happens on the second line. The tool is the KEIL system. Could it be that in this part the sequence cannot be executed from flash? On a bigger part it worked fine!

Yours,

Harry Koukoutos

0 件の賞賛
返信
1,067件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Harry,

 1. check your KEIL optimization level in the options

    Please modify your optimization level to none.

2. Disable the global interrupt before do flash operation, after the flash operation, you can enable it again.

3. Copy the FTFL launch command code to RAM.

Wish it helps you!


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,067件の閲覧回数
harrykoukoutos
Contributor I

Thank you, I will try these

Harry

0 件の賞賛
返信