Commit Graph

531 Commits

Author SHA1 Message Date
PavelSindler
188116cb7e Preheat temperatures update 2018-01-22 16:03:43 +01:00
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
e60cb2a79e unload filament sequence same as in M600 2018-01-17 21:54:34 +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
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
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
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
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
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
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
bubnikv
5ed9233abc Missed a bit with the last commit. 2018-01-12 22:01:53 +01:00
Robert Pelnar
530dfba417 Status message limit (PFW-124) 2018-01-12 21:21:21 +01:00
bubnikv
82304a2268 Slight optimization of the fan speed interrupt routine by accessing
the Arduino millis() without locking interrupts.
2018-01-12 21:16:29 +01:00
Robert Pelnar
ebf6d08fae Crash detection - message on lcd (PFW-115) 2018-01-12 21:02:49 +01:00
bubnikv
135dda1bff Slight optimization of the stepper timer routine.
Use WRITE_NC instead of WRITE for writing into the slow ports.
2018-01-12 21:01:01 +01:00
bubnikv
3e6d853364 Debugging of the stepper timer routine. When enabled through
DEBUG_STEPPER_TIMER_MISSED, the printer is halted on stepper timer overflow
and an error message is displayed.
2018-01-12 20:51:14 +01:00
PavelSindler
23b78da2f5 filament fails counter fixed 2018-01-12 20:21:07 +01:00
bubnikv
26747d7236 Definition of 8 pins on the Einsy 0.4 board connected to pin headers
to be monitored by an 8 channel logic analyzer, for example the Saleae.
2018-01-12 20:18:20 +01:00
bubnikv
db985065ff WRITE_NC macro for non-critical (non-synchronized) access to
slow ports. The WRITE macro stores the CPU bits on the stack first,
then locks the interupts, reads the port, sets a bit, writes the port
and then finally reverts the CPU bits. The WRITE_NC does not lock
the interrupts, therefore it may only be used where it cannot
be interrupted.
2018-01-12 20:15:59 +01:00
PavelSindler
1fbed53200 initial 2018-01-12 20:01:22 +01:00
Robert Pelnar
0f46fa0c37 blocking messages in settings/tune menu (PFW104)
switch normal/stealth (PFW110)
2018-01-12 19:54:32 +01:00
PavelSindler
a4be2af538 commit nr updated 2018-01-11 17:51:30 +01:00
PavelSindler
f5ed12817d
Merge pull request #388 from PavelSindler/first_layer_saving
Live adjust Z saving using timeout
2018-01-11 17:49:40 +01:00
PavelSindler
5c1db284b0 remove setting live adjust status in setup function 2018-01-11 17:48:58 +01:00
PavelSindler
97bd56d560
Merge pull request #386 from PavelSindler/selftest_swapped_fans
manual check for swapped fans
2018-01-11 17:45:23 +01:00
bubnikv
cfae8f859d
Merge branch 'MK3' into fw_versions 2018-01-11 16:58:47 +01:00
PavelSindler
087532085f development fw versions has initial message for warning 2018-01-11 15:50:26 +01:00
PavelSindler
cc20da62a8 whitespace 2018-01-10 23:31:06 +01:00
PavelSindler
c185b46eb2 live adjust Z saving using timeout 2018-01-10 23:28:41 +01:00
Robert Pelnar
0d269261e4 PFW-110 - load filament - beep when loading finished. 2018-01-10 18:50:16 +01:00
PavelSindler
c79d960cb5 manual check for swapped fans 2018-01-10 16:40:06 +01:00
XPila
6ff7641d97
Merge pull request #385 from XPila/MK3
Build 143f
2018-01-09 20:01:56 +01:00
Robert Pelnar
43010b30b4 Build 143f
Crashdetection improoved, blocking temperature ISR fixed, limits for silent mode adjusted.
2018-01-09 19:54:07 +01:00
PavelSindler
858945d949 thermal runaway: reset cmd queue to ensure that heater/bed temp will be always set to zero 2018-01-09 13:35:12 +01:00
PavelSindler
75efc71527 temp runaway for heatbed enabled in config 2018-01-08 16:15:50 +01:00
PavelSindler
b53197fdd1 Fixed error messages for print fan and extruder fan (were swapped) 2018-01-08 12:07:45 +01:00
Robert Pelnar
0a2087c1cb build 143e
Linear advance disabled
Max feedrate reduced to 200mm/s
Silent max accel reduced to 984mm/s^2
some debug logs removed, tmc_init - log message fixed
2018-01-04 18:08:22 +01:00
Robert Pelnar
8a5ba89a9c Missing serial characters debuging
disabled fan ISR
disabled fsensor ISR
disabled linear advance
build 143b
2018-01-02 20:55:33 +01:00
Robert Pelnar
c6e77f55f6 checkrx in stepper returned back
build 143a
2017-12-30 02:55:22 +01:00
Robert Pelnar
568f03c46e build 143 2017-12-29 23:49:11 +01:00
Michal Průša
8d1f2afbf2 build number change
just 141r -> 142
2017-12-29 20:22:45 +01:00
Michal Průša
0920b62d80 build number change 2017-12-29 20:21:06 +01:00
Michal Průša
734639c1da Unload filament tweak
unload filament now has longer and faster slow retract.
2017-12-29 17:53:12 +01:00
Phil Dubach
7fb1234855 Turn off bed heater after temp calibration
After finishing the temperature calibration, turn off the bed heater
right away, before waiting for the user to acknowledge completion.
2017-12-28 23:47:27 -08:00
Robert Pelnar
e3c006dbe9 Serial communication uses port0 or port1, not both, removed some suspected code.
build 141
2017-12-29 00:06:47 +01:00
Michal Průša
f71f133e80 power panic polished
Retraction set correctly to have minimum missing line
Z motor current not lowered that drascialy
Extruder motor turning off instantly
Beeping added to the end
2017-12-28 23:26:06 +01:00
Michal Průša
f1c741d027 Filament autoloading improved and minor tweaks
Filament autoloading now acts like normal loading (Error message pops out if nozzle too cold, Printer asks if should extrude more when done loading)

Autoloading now unable to turn on when filament sensor is turned off or not responding

Color not right changed to color not correct to avoid slight confusion
2017-12-28 18:59:57 +01:00
Michal Průša
26255766f6 Translation fix
on -> zap
off -> vyp
2017-12-28 15:55:16 +01:00
Michal Průša
5e5588c72c Text grooming
Added language mutations of error messages, menu items.
Synced wording of crash detection in messages.
rPi port -> RPi port.
Minor menu items alignment.
2017-12-28 15:45:52 +01:00
Robert Pelnar
bd58718d9d dummy "ok" response
build 139 (RC4)
2017-12-28 02:45:05 +01:00
Robert Pelnar
e064133a04 Merge remote-tracking branch 'upstream/MK3' into MK3
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2017-12-28 01:37:13 +01:00
Robert Pelnar
69d496e157 autoload filament menu (PFW-95, PFW-96) 2017-12-27 21:57:51 +01:00
Robert Pelnar
cbd7f033e8 crashdetection and mode menu (PFW-85, PFW-97) 2017-12-27 21:43:04 +01:00
Robert Pelnar
546314fda7 Removed debug messages from serial comunication (octoprint...).
build 137b
2017-12-27 20:29:24 +01:00
Robert Pelnar
f9d5619682 MINTEMP safety for ambient temperature < 18C
Silent mode acceleration limit lowered to 1000mm/s^2
2017-12-27 18:20:04 +01:00
Robert Pelnar
a09dee7aea build 138 (RC3) 2017-12-23 03:44:47 +01:00
Robert Pelnar
23ed33fc21 disable crashdetection while usb printing 2017-12-23 03:42:19 +01:00
Robert Pelnar
8739b4a610 MINTEMP fix 2017-12-23 03:36:08 +01:00
Robert Pelnar
1a69c979bf Increase Z current (PFW-90). 2017-12-23 01:01:57 +01:00
PavelSindler
8f7a50cfcd
Merge pull request #343 from PavelSindler/m110_fix
M110 fix
2017-12-23 00:04:11 +01:00
PavelSindler
e8477b525c initial version of M110 fix (port from MK2) 2017-12-22 22:34:57 +01:00
XPila
257b8e9f59
Merge pull request #342 from XPila/MK3
Mk3 - RC3
2017-12-22 20:35:15 +01:00
Robert Pelnar
c4b045083c Extrude mintemp increased to 190C 2017-12-22 20:34:24 +01:00
Robert Pelnar
7f05b9fd44 changed menu order (PFW 91) 2017-12-22 20:31:45 +01:00
Robert Pelnar
6abba7bfe9 filament autoload - better detection algorithm, autoload in M600 from menu
unload menu always visible
2017-12-22 20:14:26 +01:00
PavelSindler
7114772784 whitespace 2017-12-22 19:23:11 +01:00
PavelSindler
3aca1271ed serial resend request always contains OK 2017-12-22 18:54:55 +01:00
PavelSindler
6f7a2ba263
Merge pull request #340 from PavelSindler/MK3_for_merging
removed some serial line error messages
2017-12-22 13:35:33 +01:00
PavelSindler
1917b6a1d7 removed some serial line error messages which caused that octoprint changed status 2017-12-22 13:27:04 +01:00