lpcware

spifi_drv_m0.lib spifi_init返回0 但实际看0x14000000处为0xffffffff

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by wwllzz on Tue Feb 04 23:33:24 CST 2014
我的SPIFI代码是用M4处理器来实现烧写的, 那是M0内核要执行的一个任务, 调试器用的是TKScope的 AK100Pro 烧写时没有报错(校验正常) 调试时M0代码执行 spifi_init(&obj, CSHIGH, S_RCVCLK | S_FULLCLK, SPIFI_MHZ);返回的结果是0, 接下来查看obj.base的值是0x80000000, 通过调试器的memory窗口和代码读取0x14000000却是0xffffffff, 难道是我M0核连接spifi_drv_m0.lib不对? 还是烧写部分的M4核配置不对?

Outcomes