What is the BOOT_STACK order on a K70 using MQX 4.0.2.1?

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

What is the BOOT_STACK order on a K70 using MQX 4.0.2.1?

ソリューションへジャンプ
945件の閲覧回数
Larry5335
Contributor IV

From a customer:

I am using the IAR Workbench linker configuration files
(.icf) provided with MQX. I am able to run all of the examples perfectly fine.
I am just curious as to how the examples run when the linker files do not have
CSTACK. For example, the intflash_ddrdata.icf file provided by MQX has the
following in it:

/*-Sizes-*/

define symbol __ICFEDIT_size_cstack__   = 0;

define symbol __ICFEDIT_size_heap__     =
0;

/**** End of ICF editor section. ###ICF###*/

...

define exported symbol __BOOT_STACK_ADDRESS = 0x2000FFF0 -
0x100;

We are having an intermittent issue which looks like a
corrupted stack but all of the MQX task stacks are very big and look good. MQX
reports no errors. My only thought now is that the actual stack (not the task
stacks) is too small and I may need to edit it.

Don't we need a stack before the RTOS is called? Is this
created by the BSP somewhere? Is that what __BOOT_STACK_ADDRESS is for?

タグ(2)
0 件の賞賛
返信
1 解決策
788件の閲覧回数
soledad
NXP Employee
NXP Employee

Hello Larry,

Please check the below thread

MQX IAR Linker File does not have cstack


Have a great day,
Sol

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

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
789件の閲覧回数
soledad
NXP Employee
NXP Employee

Hello Larry,

Please check the below thread

MQX IAR Linker File does not have cstack


Have a great day,
Sol

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

0 件の賞賛
返信