上面有一个地方注释错了:
pdwFlashCache = (volatile WORD *)(dwPhysStart | CACHED_TO_UNCACHED_OFFSET);
通过main.cpp中usbdown()调用:FlashWrite( RAM_IMAGE_START, dwPhysLen)看
dwPhysStart = RAM_IMAGE_START = 0x96CB8000 (这个是NK放在SDRAM的虚拟地址)
所以pdwFlashCache = 0x96CB8000 | 0x2000_0000 = 0xb6c8_8000