28069M+drv8301 电机是公牛BR2804-1700KV-1,电机转速gMotorVars.Speed_krpm设为12后,出现如下报警
C28xx: Error: (Error -1135 @ 0xA7B4) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 6.0.628.3)C28xx: Unable to determine target status after 20 attempts
C28xx: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging
电机也停止转动了,
user6057348:
28069M+drv8301 电机是公牛BR2804-1700KV-1,电机转速gMotorVars.Speed_krpm设为12后,出现如下报警
C28xx: Error: (Error -1135 @ 0xA7B4) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 6.0.628.3)C28xx: Unable to determine target status after 20 attempts
C28xx: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging
电机也停止转动了,
mangui zhang:从报错信息看与你的设置参数关系不大啊就是debug断开了建议连接前复位一下
这个错误在很多调试中比较常见与电机控制也无关
28069M+drv8301 电机是公牛BR2804-1700KV-1,电机转速gMotorVars.Speed_krpm设为12后,出现如下报警
C28xx: Error: (Error -1135 @ 0xA7B4) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 6.0.628.3)C28xx: Unable to determine target status after 20 attempts
C28xx: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging
电机也停止转动了,
user6057348:
回复 mangui zhang:
反正就是不能到最高转速,不能超过10000转,按道理这个电机,空载应该最高要超过10000,一旦设置超过,程序就报警,然后电机也不转了。