头像-8484

wonderland

  • 云南省曲靖市
  • 单片机 嵌入式 RF/无线
  • 消费电子

个人成就

获得 1 次赞

帮助过0人

spartan 3e 在impact的时候总是提示IDCODE不匹配

返回的日志是这样的: INFO:iMPACT:583 - \'1\': The idcode read from the device does not match the idcode in the bsdl File. INFO:iMPACT:1578 - \'1\':  Device IDCODE :        00000001100000000000000000000011 INFO:iMPACT:1579 - \'1\': Expected IDCODE:    00000001110000100010000010010011 get device ID 就出错了,新手入门,求指导

单片机执行代码的时间问题

客套话就不讲了,请路过的高手不惜赐教。 书上说一个指令周期通常含有1~4个机器周期,不同指令有不同的周期,怎样判断哪一类指令是多少周期,或者同一条指令在不同情况下有不同的指令周期。像这样的延迟程序怎样判断指令周期 void Delay(void) { unsigned char a=5; unsigned int b; while(a--)   { b=1234; while(b--);    }; }