在BF512上运行了ucos-ii系统,当任务的栈稍微分配得大一点就出现如下错误:
"..\system\startup_ldf\app.ldf":272 Out of memory in output section 'L1_code' in processor 'p0'
用的开发环境就CCES1.20 使用了外扩的SDRAM当配置system.svc-->LDF-->选用 Use external memory(SDRAM)
时,把调试DEX文件时会出现如下错误:
A fatal error or exception has occurred.
Description: Attempted misaligned instruction cache fetch (Exception with EXCAUSE=0x2A).
General Type: UnhandledException
Specific Type: InstructionFetchMisaligned
General Code: 0x9
Specific Code: 0x2a
Error Value: 0x00000000
Error PC: 0xffa12fde
要不就是这种错误:
Target halted due to software breakpoint but no breakpoint found at address: 0xef00067e
Possible reasons are:
1.An embedded breakpoint (EMUEXCPT instruction) in the code
2.A breakpoint is placed at the last instruction of a do() loop
Warning: External memory is disabled for this region of memory.
Warning: External memory is disabled for this region of memory.
如果system.svc-->LDF-->不选用 Use external memory(SDRAM)也会出现错误:
[Error li1040] "..\system\startup_ldf\app.ldf":272 Out of memory in output section 'L1_code' in processor 'p0'
Total of 0xac6 word(s) were not mapped.
For more details, see 'linker_log.xml' in the output directory.
[Error li1040] "..\system\startup_ldf\app.ldf":291 Out of memory in output section 'L1_code_cache' in processor 'p0'
Total of 0xac6 word(s) were not mapped.
For more details, see 'linker_log.xml' in the output directory.
Linker finished with 2 errors
cc3089: fatal error: Link failed (code:1)
make: *** [evaboard.dxe] Error 1
请教斑竹在CCES中使用外扩SDRAM应该怎么配置。
「该帖子被 kaye_zerone 在 2015-08-06 15:47:31 编辑过」