cpu是stm32f103rbt6,软件mdk,之前仿真一直可以,最近频频出错,不是连不上目标板就是DEBUG运行过程中自己退出DEBUG模式 1. Err: Bad JTAG communication:Write to IR :Expected 0x1,got 0x0(TAP Command :10)@0ff 0x5. RAM check failed @ address 0x20000000 Write :0x03020100 07060504 Read:0Xaaaaaaaa 0xaaaaaaaa (0 bytes of ram have been checked successfully) Failed to program target 2. Warning: you are using a j-link which dose not have intelligence for the selected cpu core (cortex-M3)in the firmware 3. Err Emulator has been changed or re-enumerated! 接下来错误Err No Cortex-M device found in jtag chain.please check the jtag cable and the connected devices.在接下来 Err flash download failed .target dll has been cancelled. 连接不上器件的时候进行仿真会出现以上错误 4. segger j-flash可以连接目标板,擦除时出错Err RAM check failed @ address 0x20000000 Write :0x03020100 07060504 Read:0Xaaaaaaaa 0xaaaaaaaa (0 bytes of ram have been checked successfully) 请教出国同类问题的童鞋,请踊跃发言 |
RE:MDK下不能正常仿真运行
只要降低j-link工作速度,让电平的持续的时间长点,让CPU充分接收信号。
这也是的分析,不知道对不对。
J-link的auto模式的工作速度是2000khz,我降到10khz,第一次可能出现其他报错,记得多试几次,我的就是这样就好的
Options--project settings--Target intface
好的话顶一下吧
RE:MDK下不能正常仿真运行
回复:MDK下不能正常仿真运行
RE:MDK下不能正常仿真运行
RE:MDK下不能正常仿真运行