由于之前生成的flash地址不连续,所以设置了ROM ranges,后面编译成功后,生成的Hex下载到芯片里,不能运行,读read device memory to file 发现全0 . 怎么回事?
但是我下载一个正常的能用的Hex,读read device memory to file ,虽然都出来的HEX 与我下载的HEX数据不是一样的,但不是全0 .
而且可以下载程序,不能调试。
The target device is not ready for debugging. Please check your configuration bit settings and program the device before proceeding. The most common causes for this failure are oscillator and/or PGC/PGD settings.
The target device is not ready for debugging. Please check your configuration bit settings and program the device before proceeding. The most common causes for this failure are oscillator and/or PGC/PGD settings.
MPLAB X IDEV5.05
编译后的flash 映射。
read device memory to file ,读到的hex
|