-
FLASH_ErasePage() 擦除flash页 出现NOCP错误
FLASH_ErasePage()擦除flash页,全速执行出现NOCP错误,仿真单步执行正常。psr:0x01000027r00:0x00000001r01:0x40022000r02:0x80000000r03:0xfffff4bar04:0x00000000r05:0x40022090r06:0xffffffffr07:0xdeadbeefr08:0xdeadbeefr09:0xdeadbeefr10:0xdeadbeefr11:0xdeadbeefr12:0x00000000lr:0x08009237pc:0x08036b28hardfaultonhandlerusagefault:SCB_CFSR_UFSR:0x08NOCP
2022-04-24 0 -
gd32f103rct spi0从机 DMA发送异常
gd32f103rctspi0从机DMA发送一包数据的时候,有个别字节的最高位本来是1的,发送出来是0。MISO没加上拉电阻。
2021-04-07 2