20190112调试记录

先在可用的板子上面验证串口

ERROR: Unable to detect JTAG cable  没有检测到硬件

WARNING: [Xicom 50-100] The current boot mode is SD.//启动方式更改为SD

WARNING: [Xicom 50-100] The current boot mode is NAND.//启动方式更改为nand

WARNING: [Xicom 50-100] The current boot mode is qspi. APB AP transaction error, DAP status f0000021" I//启动方式更改为QSPI

****** Xilinx Program Flash
****** Program Flash v2017.4 (64-bit)
  **** SW Build 2086221 on Fri Dec 15 20:54:30 MST 2017
    ** Copyright 1986-2017 Xilinx, Inc. All Rights Reserved.

Connecting to hw_server @ TCP:127.0.0.1:3121

Connected to hw_server @ TCP:127.0.0.1:3121
Available targets and devices:
Target 0 : jsn-JTAG-SMT2-21025DA09175
    Device 0: jsn-JTAG-SMT2-21025DA09175-4ba00477-0

Retrieving Flash info...

Initialization done, programming the memory
BOOT_MODE REG = 0x00000004
WARNING: [Xicom 50-100] The current boot mode is NAND.
If flash programming fails, configure device for JTAG boot mode and try again.
Problem in running uboot
Flash programming initialization failed.

ERROR: Flash Operation Failed

 

在固化程序的时候,可以读出The current boot mode is ````我把三个板子的启动模式分别配置成了 QSPI NAND 和sd(这个电路可能有问题) 但是三个板子同样不能仿真

问题:

QSPI的那个问题是 APB AP transaction error, DAP status f0000021" I 根本就下载不进去

nand和sd 模式的两个板子的问题是

 andeq   r0, r0, r0
  andeq   r0, r0, r0
andeq   r0, r0, r0
andeq   r0, r0, r0
andeq   r0, r0, r0
  andeq   r0, r0, r0
 andeq   r0, r0, r0
......... ...
00030004:   Memory read error at 0x30004. OCM is not enabled at 0x00030004. Invalid address

无论是那种模式 在理论上都是可以支持仿真的  仿真的时候一直是这个情况: andeq   r0, r0, r0。我很头疼

你可能感兴趣的:(zynq,嵌入式)