Using threadx with bss in SRAM OC failing

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

Using threadx with bss in SRAM OC failing

815件の閲覧回数
ryanwinter
Contributor I

On my MIMXRT1060, I ran out of memory in the SRAM ITC (0x20000000) so I decided to move it into SRAM OC (0x20200000).

Once I did this, everything seemed fine, however as soon as I start a thread using threadx, the stack pointer appears to become corrupt and everyone falls apart.

The thread's stack is in the bss segment which is in the OC memory bank so I'm assuming this related. Is there something specific I need to do to get this to work?

Using SDRAM appeared to have the same problem, but I haven't investigated further there.

ラベル(1)
0 件の賞賛
返信
1 返信

765件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi Ryan Winter,

Thank you for your interest in NXP Semiconductor products and
for the opportunity to serve you.
The developer IDEs usually allow the developer to customize both sizes of the stack and heap, so you can give a try to increase the size of the stack.

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 件の賞賛
返信