About Hard fualt

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,746件の閲覧回数
yuichiro_yamagu
Contributor I

【Problem】
evkmimxrt1060_agm01_tensorflow_lite_adt is not working right at i.mxrt1060 Custtom Bord.
※ evkmimxrt1060_agm01_tensorflow_lite_adt is SDK example.

【Background】
evkmimxrt1060_agm01_tensorflow_lite_adt is working right at i.mxrt1060 EVK( Hyper Flah ).
But It's not working right at i.mxrt1060 Custtom Bord( Hyper Flah ).
The Custtom Bord's Hyper Flah is the same as i.mxrt1060 EVK's Hyper Flah

The phenomenon is Hard fualt occurs when I try to execute __libc_init_array().
The MCUXpresso shows IBUSERR (0) Instruction bus error.
The assembler is bl 0x600ebad0 <__libc_init_array> and it is trying to jump to the correct address

The __libc_init_array() can be found in the following locations
evkmimxrt1060_agm01_tensorflow_lite_adt / startup / startup_mimxrt1062.cpp /

Plese teach me solution.

0 件の賞賛
返信
1 解決策
1,683件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thanks for your reply.
1) evkmimxrt1060_agm01_tensorflow_lite_adt doesn't work without SDRAM, does it?
-- Actually, yes, as it needs a large RAM memory to load the tensorflow lite library.
Have a great day,
TIC

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

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
5 返答(返信)
1,744件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
According to the error message, the hard fault arises in advance of jumping to the main(), so I guess the hard fault is related to the hardware circuit and I'd highly recommend you to create a Hello_World demo of the C++ version to check this hard fault will happen or not. Please give a try.

Have a great day,
TIC

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

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛
返信
1,724件の閲覧回数
yuichiro_yamagu
Contributor I

Thank you for answer.
I checked Hello_World demo of the C++.
Hello_World demo of the C++ demo works fine.
Is there anything I need to check in Memory Configuration, Compiler, Linker setting in MCUXpresso?

0 件の賞賛
返信
1,712件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thanks for your reply.
1) Is there anything I need to check Memory Configuration, Compiler, Linker setting in MCUXpresso?
-- Yes, and below indicates the memory assignment of evkmimxrt1060_agm01_tensorflow_lite_adt, it uses SDRAM as the main RAM, does your customer board also has the same SDRAM chip too?

jeremyzhou_0-1604987765494.png

 

Have a great day,
TIC

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

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛
返信
1,705件の閲覧回数
yuichiro_yamagu
Contributor I

Thank you for answer.
customer board don't have the same SDRAM chip.
I have one question.
evkmimxrt1060_agm01_tensorflow_lite_adt doesn't work without sdram, does it?

0 件の賞賛
返信
1,684件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thanks for your reply.
1) evkmimxrt1060_agm01_tensorflow_lite_adt doesn't work without SDRAM, does it?
-- Actually, yes, as it needs a large RAM memory to load the tensorflow lite library.
Have a great day,
TIC

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

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛
返信