So, bin daheim.
Endlich weg von diesem neumodischen Mobiltelefonhandycap.
Genau das ist diese Statusmeldung die ich gemeint habe.
Für alle Interessierten:
https://github.com/Nibbels/Repetier-Fir ... cpp#L10831
Code: Alles auswählen
#if FEATURE_READ_STEPPER_STATUS
case 3987: // M3987 reading motor driver and stall pins - Testfunction || by Nibbels
{
Com::printFLN( PSTR( "M3987 MotorStatus X-Y-Z-E0-E1 ..." ) );
for(uint8_t driver = 1; driver <= 5; driver++){
readMotorStatus( driver );
}
break;
}
#endif //FEATURE_READ_STEPPER_STATUS
https://github.com/Nibbels/Repetier-Fir ... cpp#L12094
Und meine Notizen dazu:
RF.cpp Zeile 12094 hat geschrieben: //driver:
//X = 1
//Y = 2
//Z = 3
//E0 = 4
//E1 = 5
/*
0 OTS 1 R/W 0 0: Normal operation
1: Device has entered overtemperature shutdown
Write a 0 to this bit to clear the fault.
Operation automatically resumes when the temperature has fallen to safe levels.
1 AOCP 1 R/W 0 0: Normal operation
1: Channel A overcurrent shutdown
Write a 0 to this bit to clear the fault and resume operation
2 BOCP 1 R/W 0 0: Normal operation
1: Channel B overcurrent shutdown
Write a 0 to this bit to clear the fault and resume operation
3 APDF 1 R/W 0 0: Normal operation
1: Channel A predriver fault
Write a 0 to this bit to clear the fault and resume operation.
4 BPDF 1 R/W 0 0: Normal operation
1: Channel B predriver fault
Write a 0 to this bit to clear the fault and resume operation
5 UVLO 1 R/W 0 0: Normal operation
1: Undervoltage lockout
Write a 0 to this bit to clear the fault. The UVLO bit cannot be cleared in sleep mode. Operation automatically resumes when VM has increased above VUVLO
6 STD 1 R 0 0: Normal operation
1: Stall detected
7 STDLAT 1 R/W 0 0: Normal operation
1: Latched stall detect
Write a 0 to this bit to clear the fault and resume operation
11-8 Reserved 4 - - Reserved
*/
Die stammen vermutlich aus dem PDF der Driver oder von hier:
http://www.ti.com/product/DRV8711/datas ... LVSC409481
Punkt 7.6.9 STATUS Register (Address = 0x07)
Ich wollte einfach lesen können, was im Chip steht, darum gibts diese Ausgabe und ich hoffe die stimmt.
Soweit ich weiß prüft die originale Firmware nie diesen Status, cleared ihn also auch nicht, wenn er vorhanden ist.
Was den Betrieb der Stepper bei mir betrifft: Ich habe mit der 1.41.20 schon mehrere Flex-Uhrenarmbänder und auch einen PLA-Supermario gedruckt. Lief hervorragend. Ich wollte niemanden verunsichern, aber sollte das nur von einem winzigen Firmwarebug herstammen, müsste easygo25 nicht mehr weitersuchen.
Ich habe mir eben noch die FW mit FEATURE_READ_STEPPER_STATUS draufgeschmissen.
M3987 sagt bei mir direkt nach dem FW-Bootup ohne die Stepper zu nutzen:
23:30:51.050: M3987 MotorStatus X-Y-Z-E0-E1 ...
23:30:51.050: Driver: 1X
23:30:51.050: OTS OverTemp 0
23:30:51.050: AOCP Channel A Overcurrent 0
23:30:51.050: BOCP Channel B Overcurrent 0
23:30:51.051: APDF Channel A predriver fault 0
23:30:51.051: BPDF Channel B predriver fault 0
23:30:51.051: UVLO Undervoltage lockout 1
23:30:51.051: STD Stall detected 0
23:30:51.051: STDLAT Latched stall detect 0
23:30:51.051: Stall Pin: 0
23:30:51.051: Driver: 2Y
23:30:51.051: OTS OverTemp 0
23:30:51.052: AOCP Channel A Overcurrent 0
23:30:51.052: BOCP Channel B Overcurrent 0
23:30:51.052: APDF Channel A predriver fault 0
23:30:51.052: BPDF Channel B predriver fault 0
23:30:51.052: UVLO Undervoltage lockout 1
23:30:51.092: STD Stall detected 0
23:30:51.092: STDLAT Latched stall detect 0
23:30:51.092: Stall Pin: 0
23:30:51.092: Driver: 3Z
23:30:51.092: OTS OverTemp 0
23:30:51.093: AOCP Channel A Overcurrent 0
23:30:51.093: BOCP Channel B Overcurrent 0
23:30:51.093: APDF Channel A predriver fault 0
23:30:51.093: BPDF Channel B predriver fault 0
23:30:51.093: UVLO Undervoltage lockout 1
23:30:51.093: STD Stall detected 0
23:30:51.093: STDLAT Latched stall detect 0
23:30:51.094: Stall Pin: 0
23:30:51.094: Driver: 4E0
23:30:51.094: OTS OverTemp 0
23:30:51.094: AOCP Channel A Overcurrent 0
23:30:51.094: BOCP Channel B Overcurrent 0
23:30:51.094: APDF Channel A predriver fault 0
23:30:51.094: BPDF Channel B predriver fault 0
23:30:51.094: UVLO Undervoltage lockout 1
23:30:51.135: STD Stall detected 0
23:30:51.135: STDLAT Latched stall detect 0
23:30:51.135: Stall Pin: 0
23:30:51.135: Driver: 5E1
23:30:51.136: OTS OverTemp 0
23:30:51.136: AOCP Channel A Overcurrent 0
23:30:51.136: BOCP Channel B Overcurrent 0
23:30:51.136: APDF Channel A predriver fault 0
23:30:51.136: BPDF Channel B predriver fault 0
23:30:51.136: UVLO Undervoltage lockout 1
23:30:51.136: STD Stall detected 0
23:30:51.137: STDLAT Latched stall detect 0
23:30:51.137: Stall Pin: 0
Und wenn ich ein Homing gemacht habe, sagt es mir:
23:32:44.672: M3987 MotorStatus X-Y-Z-E0-E1 ...
23:32:44.672: Driver: 1X
23:32:44.672: OTS OverTemp 0
23:32:44.672: AOCP Channel A Overcurrent 0
23:32:44.673: BOCP Channel B Overcurrent 0
23:32:44.673: APDF Channel A predriver fault 0
23:32:44.673: BPDF Channel B predriver fault 0
23:32:44.673: UVLO Undervoltage lockout 1
23:32:44.673: STD Stall detected 1
23:32:44.673: STDLAT Latched stall detect 1
23:32:44.673: Stall Pin: 1
23:32:44.674: Driver: 2Y
23:32:44.674: OTS OverTemp 0
23:32:44.674: AOCP Channel A Overcurrent 0
23:32:44.674: BOCP Channel B Overcurrent 0
23:32:44.674: APDF Channel A predriver fault 0
23:32:44.674: BPDF Channel B predriver fault 0
23:32:44.674: UVLO Undervoltage lockout 1
23:32:44.715: STD Stall detected 1
23:32:44.716: STDLAT Latched stall detect 1
23:32:44.716: Stall Pin: 1
23:32:44.716: Driver: 3Z
23:32:44.716: OTS OverTemp 0
23:32:44.716: AOCP Channel A Overcurrent 0
23:32:44.716: BOCP Channel B Overcurrent 0
23:32:44.716: APDF Channel A predriver fault 0
23:32:44.717: BPDF Channel B predriver fault 0
23:32:44.717: UVLO Undervoltage lockout 1
23:32:44.717: STD Stall detected 1
23:32:44.717: STDLAT Latched stall detect 1
23:32:44.717: Stall Pin: 1
23:32:44.717: Driver: 4E0
23:32:44.717: OTS OverTemp 0
23:32:44.717: AOCP Channel A Overcurrent 0
23:32:44.718: BOCP Channel B Overcurrent 0
23:32:44.718: APDF Channel A predriver fault 0
23:32:44.718: BPDF Channel B predriver fault 0
23:32:44.718: UVLO Undervoltage lockout 1
23:32:44.758: STD Stall detected 0
23:32:44.759: STDLAT Latched stall detect 0
23:32:44.759: Stall Pin: 0
23:32:44.759: Driver: 5E1
23:32:44.759: OTS OverTemp 0
23:32:44.759: AOCP Channel A Overcurrent 0
23:32:44.759: BOCP Channel B Overcurrent 0
23:32:44.759: APDF Channel A predriver fault 0
23:32:44.760: BPDF Channel B predriver fault 0
23:32:44.760: UVLO Undervoltage lockout 1
23:32:44.760: STD Stall detected 0
23:32:44.760: STDLAT Latched stall detect 0
23:32:44.760: Stall Pin: 0
LG