HardFault Exception during startup when board has enabled CSE and keys were not erased

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

HardFault Exception during startup when board has enabled CSE and keys were not erased

ソリューションへジャンプ
807件の閲覧回数
warai
Contributor II

Hi,

I enabled the CSE by partitioning the flash with CSE keys size to 512 bytes.

I can now see that the CSE PRAM is accessible.

But after partitioning, when I load an application and run it, I encounter a Hardfault Exception at the startup.c specifically on these lines:

#if !defined(__ARMCC_VERSION)
/* Copy initialized data from ROM to RAM */
while (data_rom_end != data_rom)
{
*data_ram = *data_rom;
data_ram++;
data_rom++;
}

 

Why is this so?

 

0 件の賞賛
返信
1 解決策
804件の閲覧回数
warai
Contributor II

This is all good. I was using a different micro, so my linker file was all messed up.

元の投稿で解決策を見る

1 返信
805件の閲覧回数
warai
Contributor II

This is all good. I was using a different micro, so my linker file was all messed up.