How to store large data in LPC 4367

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

How to store large data in LPC 4367

672件の閲覧回数
shreyas123
Contributor III

Hello.

I want to perform matrix operations with 3 matrices having dimensions 2000*320 each.

I am using the LPC Xpresso 4367 board and I am getting Hardfaults everytime.

I am using the CMSIS-DSP functions for the matrix inversions and multiplications,etc.

For smaller dimensions of the matrix (like 15*15) the program works but for larger dimensions it just keeps on giving me hardfaults, busfaults.

Can someone tell me how to solve this?

Thanks

ラベル(1)
1 返信

602件の閲覧回数
bernhardfink
NXP Employee
NXP Employee

Seems to be a problem with available RAM. In addition to the buffer variables you also need heap space, an overrun on the heap could explain the hardfaults. But I can't say if for this type of operation there is enough RAM at all, this is something you need to find out by yourself. Check the linker map file for the RAM used by the variables and then play with the heap size.

Regards,

Bernhard.