Commit Graph

862 Commits

Author SHA1 Message Date
bubnikv
160cdccae1 Merge remote-tracking branch 'remotes/origin/MK3_stepper_blocking' into MK3_fast_dbg 2018-01-20 17:31:26 +01:00
bubnikv
3efd90a9ea Merge branch 'MK3_stepper_lowres' into MK3_fast_dbg 2018-01-20 17:27:58 +01:00
bubnikv
5deee8f42c Merge remote-tracking branch 'remotes/upstream/MK3' into MK3_stepper_lowres 2018-01-20 17:24:12 +01:00
bubnikv
a94e266cf1 Documented CPU load and frequency of the following interrupts:
9.  ISR(INT7_vect) 			- Fan signal interrupt
26. ISR(M_USARTx_RX_vect)	- USB to serial RX
37. ISR(USART1_RX_vect)		- R-PI serial RX
2018-01-20 16:20:51 +01:00
bubnikv
815dfcb14b Implemented a stepper timer reset after a long blocking cli()
or DISABLE_STEPPER_DRIVER_INTERRUPT().
If this is not done, the stepper interrupt would likely overflow,
leading to a maximum 32ms delay before the stepper interrupt wakes up.
In addition, the stepper timer overflow error would be reported
by the debug builds.
2018-01-20 15:39:21 +01:00
bubnikv
17a8e2db01 Documented the interrupt blocking by a main thread by its maximum time.
Added a debug output to serial line on stepper timer overflow.
2018-01-20 14:58:30 +01:00
bubnikv
9e534c1990 Minimize risk of stepper routine interrupt blocking by reorganizing
the routine to move the G-code line length from the command queue
to the planner queue.
2018-01-20 14:37:22 +01:00
bubnikv
7edce0b890 Only show the debug menu in the DEBUG_BUILD. 2018-01-18 16:43:40 +01:00
bubnikv
330f1576fc Support for debug builds:
A build version and repository is displayed on the welcome screen,
D-codes, stack overflow check and stepper timer overflow check
are enabled in the debug mode.
2018-01-18 16:24:25 +01:00
PavelSindler
b5f8b1d97c
Merge pull request #412 from PavelSindler/debug_version
initial message for debugging fw version
2018-01-18 13:18:16 +01:00
PavelSindler
c45098d955
Merge pull request #415 from PavelSindler/unload_filament_fix
unload filament sequence same as in M600
2018-01-17 21:55:47 +01:00
PavelSindler
e60cb2a79e unload filament sequence same as in M600 2018-01-17 21:54:34 +01:00
bubnikv
3852ba0b36
Merge pull request #413 from PavelSindler/initial_messages_update
initial message not shown on release candidate versions
2018-01-17 17:40:43 +01:00
PavelSindler
4843f2c48e initial message not shown on release candidate versions 2018-01-17 17:38:34 +01:00
PavelSindler
bfa675c1a4 initial message for debugging fw version 2018-01-17 16:00:19 +01:00
PavelSindler
b73520bcea successfull -> successful 2018-01-17 14:40:37 +01:00
XPila
b2c257478c
Merge pull request #409 from XPila/MK3
3.1.1-RC5 build 148
2018-01-16 19:27:00 +01:00
Robert Pelnar
36e4e39c85 3.1.1-RC5 build 148 2018-01-16 19:25:09 +01:00
XPila
515420ce06
Merge pull request #407 from PavelSindler/MK3_for_merging
maiden eeprom: tmc2130_mode is set to normal
2018-01-16 17:10:38 +01:00
XPila
d5500db66d
Merge pull request #408 from XPila/MK3
Mk3
2018-01-16 17:10:07 +01:00
Robert Pelnar
c2710fea63 crashdetection limits changed (X=48, Y=64) 2018-01-16 17:04:21 +01:00
PavelSindler
fbf947b75c maiden eeprom: tmc2130_mode is set to normal 2018-01-16 16:56:58 +01:00
Robert Pelnar
6b5f9253d6 build 147 2018-01-16 16:50:05 +01:00
XPila
026f68fd6f
Merge pull request #404 from PavelSindler/xyz_fixes
xyz homing hotfix, xyz cal. status changed
2018-01-16 01:39:57 +01:00
XPila
9efa1d3a03
Merge pull request #403 from PavelSindler/M600_update
timeout fix and unload message shortened
2018-01-16 01:39:18 +01:00
XPila
b9746f84c6
Merge pull request #405 from XPila/MK3
Mk3
2018-01-16 01:37:45 +01:00
Robert Pelnar
f30da4bbca babystep synchronisation 2018-01-16 01:34:44 +01:00
PavelSindler
06c6cc119b xyz homing hotfix, xyz cal. status changed 2018-01-16 01:00:09 +01:00
PavelSindler
d8117eab66 timeout fix and MSG_UNLOAD_SUCCESSFULL message shortened 2018-01-15 17:39:42 +01:00
Robert Pelnar
981a681e52 Temperature ISR synchronization, M600 - faster unload 2018-01-15 17:29:07 +01:00
XPila
9d52d017df
Merge pull request #401 from PavelSindler/rx_buffer
get command update
2018-01-15 15:28:19 +01:00
XPila
87ffb0b193
Merge pull request #400 from PavelSindler/M600_update
M600 update
2018-01-15 15:27:41 +01:00
XPila
f1d30d99fe
Merge pull request #402 from XPila/MK3
fixed bug - fsensor synchronization (b146)
2018-01-15 15:26:33 +01:00
Robert Pelnar
aaf4e0a5e0 fixed bug - fsensor synchronization (b146) 2018-01-15 15:23:06 +01:00
PavelSindler
1d3f6e8be5 flush rx buffer in case that it was full 2018-01-15 12:18:21 +01:00
bubnikv
1eac2b4ccb Fixed a regression error from the last commit regarding Z homing.
Removed unused Z_LATE_ENABLE symbol.
2018-01-15 12:00:28 +01:00
PavelSindler
9e7686b77f unload changes reverted back 2018-01-15 11:35:49 +01:00
PavelSindler
c36af887b7 M600 has timeout for nozzle, different procedure for unload 2018-01-15 11:30:28 +01:00
PavelSindler
8ff38493f0
Merge pull request #399 from XPila/MK3
build 146
2018-01-15 01:44:10 +01:00
Robert Pelnar
9aedaa8fe7 build 146
hard limits
fsensor overflow fix
2018-01-14 23:59:43 +01:00
bubnikv
7a972fd9b0 Split the stepper ISR routine into multiple inline functions,
added an optimized DDA routine for moves with less than 32767 ticks.
2018-01-14 22:37:07 +01:00
PavelSindler
3201fd1538 removed duplicit comment 2018-01-14 19:36:30 +01:00
bubnikv
30b06488ca Redefined the DDA step and accumulator values to unions to support
access to the low / high words of the 32bit values.
This is a prerequisity for an optimized 16bit only DDA
in case the number of step is lower than 32767.
2018-01-14 17:01:04 +01:00
bubnikv
a1fd50ea9a Simlified the extruder ticking code. 2018-01-14 14:45:27 +01:00
XPila
e3dadfde71
Merge pull request #397 from XPila/MK3
build 145
2018-01-13 19:16:53 +01:00
Robert Pelnar
552b1f03b1 build 145
fixed - finishstatus declaration
2018-01-13 19:16:09 +01:00
XPila
78d6088d48
Merge pull request #392 from PavelSindler/fail_stats
filament fails counter fix
2018-01-12 22:23:18 +01:00
PavelSindler
8bd84ba4fd
Merge pull request #396 from XPila/MK3
Mk3
2018-01-12 22:08:50 +01:00
PavelSindler
a0555f49c4
Merge pull request #395 from bubnikv/MK3
Slight optimization of the fan speed interrupt routine by accessing
2018-01-12 22:08:35 +01:00
bubnikv
5ed9233abc Missed a bit with the last commit. 2018-01-12 22:01:53 +01:00