Re: RADDS work now stable with RepRap Firmware February 25, 2016 11:06AM |
Registered: 11 years ago Posts: 14,686 |
Re: RADDS work now stable with RepRap Firmware February 25, 2016 11:48AM |
Registered: 9 years ago Posts: 185 |
Re: RADDS work now stable with RepRap Firmware February 25, 2016 12:43PM |
Registered: 9 years ago Posts: 185 |
#!/bin/sh set -x mkdir git cd git mkdir dc42 mkdir dcnewman cd dc42 git clone [github.com] cd RepRapFirmware git checkout dev cd ../../dcnewman git clone [github.com] cd RepRapFirmware git checkout dev cd ../../dc42/RepRapFirmware/Libraries/SD_HSMCI/utility for F in *.?; do diff $F \ ../../../../../dcnewman/RepRapFirmware/src/Libraries/SD_HSMCI/utility/$F \ > /dev/null if [ $? -ne 0 ]; then echo $F differs fi done
compiler.h differs hsmci.c differs sd_mmc.c differs
% diff compiler.h ../../../../../dcnewman/RepRapFirmware/src/Libraries/SD_HSMCI/utility/ 161c161,163 < # undef __always_inline --- > # ifdef __always_inline > # undef __always_inline > # endif 192c194 < #if defined ( __CC_ARM ) /* Keil ?Vision 4 */ --- > #if defined ( __CC_ARM ) /* Keil µVision 4 */ 201c203 < #if defined ( __CC_ARM ) /* Keil ?Vision 4 */ --- > #if defined ( __CC_ARM ) /* Keil �Vision 4 */
% diff hsmci.c ../../../../../dcnewman/RepRapFirmware/src/Libraries/SD_HSMCI/utility/ 0a1 > #if !defined(SD_MMC_SPI_MODE) 911a913 > #endif // !SD_MMC_SPI_MODE
% diff sd_mmc.c ../../../../../dcnewman/RepRapFirmware/src/Libraries/SD_HSMCI/utility/ 66a67 > extern void debugPrintf(const char *fmt, ...);
Re: RADDS work now stable with RepRap Firmware February 25, 2016 01:31PM |
Registered: 9 years ago Posts: 185 |
Re: RADDS work now stable with RepRap Firmware February 25, 2016 01:41PM |
Registered: 9 years ago Posts: 356 |
Re: RADDS work now stable with RepRap Firmware February 25, 2016 05:55PM |
Registered: 9 years ago Posts: 185 |
RepRapFirmware Version 1.09r-dc42 dated 16/02/25 Executing config.g... Done! RepRapFirmware is up and running. M115 FIRMWARE_NAME: RepRapFirmware FIRMWARE_VERSION: 1.09r-dc42 ELECTRONICS: RADDS 1.5 DATE: 16/02/25 ok M20 Begin file list duettest.g ormaxis.g snowman.g square.g whistle.g coathook.g End file list ok
Re: RADDS work now stable with RepRap Firmware February 25, 2016 06:30PM |
Registered: 9 years ago Posts: 356 |
Re: RADDS work now stable with RepRap Firmware February 25, 2016 06:40PM |
Registered: 9 years ago Posts: 185 |
Re: RADDS work now stable with RepRap Firmware February 25, 2016 07:59PM |
Registered: 9 years ago Posts: 356 |
Re: RADDS work now stable with RepRap Firmware February 26, 2016 03:27AM |
Registered: 11 years ago Posts: 14,686 |
Re: RADDS work now stable with RepRap Firmware February 26, 2016 03:40AM |
Registered: 10 years ago Posts: 4,977 |
Triffid Hunter's Calibration Guide | --> X <-- Drill for new Monitor | Most important Gcode. |
Re: RADDS work now stable with RepRap Firmware February 26, 2016 04:39AM |
Registered: 11 years ago Posts: 14,686 |
Quote
Wurstnase
Afaik in Arduino 1.5.8 watchdog isn't enabled by default. You need to modify a file to use it.
Re: RADDS work now stable with RepRap Firmware February 26, 2016 11:32AM |
Registered: 9 years ago Posts: 356 |
Re: RADDS work now stable with RepRap Firmware February 26, 2016 12:04PM |
Registered: 9 years ago Posts: 185 |
Quote
dc42
Dan, you can test whether the watchdog is working. Sending M122 P1001 will make the firmware hang, which should result in a hardware watchdog reset. Sending M122 P1002 will cause the firmware to go into a spin loop, which should cause the software watchdog to do a reset.
... boot ... RepRapFirmware Version 1.09r-dc42 dated 16/02/26 Executing config.g... Done! RepRapFirmware is up and running. M115 FIRMWARE_NAME: RepRapFirmware FIRMWARE_VERSION: 1.09r-dc42 ELECTRONICS: RADDS 1.5 DATE: 16/02/26 ok M122 P1001 ok RepRapFirmware Version 1.09r-dc42 dated 16/02/26 Executing config.g... Done! RepRapFirmware is up and running. M115 FIRMWARE_NAME: RepRapFirmware FIRMWARE_VERSION: 1.09r-dc42 ELECTRONICS: RADDS 1.5 DATE: 16/02/26 ok M122 P1002 o ... about 20 or 21 seconds later... RepRapFirmware Version 1.09r-dc42 dated 16/02/26 Executing config.g... Done! RepRapFirmware is up and running.
Re: RADDS work now stable with RepRap Firmware February 26, 2016 03:46PM |
Registered: 11 years ago Posts: 14,686 |
Re: RADDS work now stable with RepRap Firmware February 26, 2016 06:55PM |
Registered: 9 years ago Posts: 185 |
Quote
dc42
The WDT (hardware watchdog) is kicked by the 1ms tick interrupt. So it shouldn't matter how long the SD card takes to initialise, as long as you don't have interrupts disabled while waiting for it. There is a separate software watchdog that will time out if the main spin loop gets stuck, but that has a much longer timeout (20 seconds).
Quote
What I find odd is that he can insert the SD card after bootup and run M503, and it successfully reads and echoes the config.g file. But he can't execute it. One difference that may be significant is that M503 does a block read direct into a temporary buffer; whereas when executing the file it is read one character at a time via the buffered I/O code in module FileStore.
Re: RADDS work now stable with RepRap Firmware February 26, 2016 09:29PM |
Registered: 9 years ago Posts: 356 |
; Configuration file for The Imp ; Communication and general M111 S0 ; Debug off M550 Theimp ; Machine name and Netbios
Re: RADDS work now stable with RepRap Firmware February 26, 2016 09:40PM |
Registered: 9 years ago Posts: 185 |
Quote
GroupB
unless you guys see an error in this code... is not a problem of code inside the config. I got the same reset loop with this config, and the same with a stock one taken from the git:
; Configuration file for The Imp ; Communication and general M111 S0 ; Debug off M550 Theimp ; Machine name and Netbios
hardware wise, is there something that can cause my problem ? I dont mind testing all the pinout of the due or the radds one by one
Re: RADDS work now stable with RepRap Firmware February 26, 2016 09:53PM |
Registered: 9 years ago Posts: 356 |
Re: RADDS work now stable with RepRap Firmware February 27, 2016 12:00PM |
Registered: 10 years ago Posts: 1,159 |
Re: RADDS work now stable with RepRap Firmware February 27, 2016 12:35PM |
Registered: 9 years ago Posts: 11 |
Re: RADDS work now stable with RepRap Firmware February 27, 2016 01:52PM |
Registered: 9 years ago Posts: 185 |
Re: RADDS work now stable with RepRap Firmware February 27, 2016 05:47PM |
Registered: 9 years ago Posts: 356 |
Quote
dougal1957
Doesn't the M550 Command need a P before the Name such as
M550 PTheimp
Pretty sure it does and maybe that is what is causing the issue
See M550 Command
HTH
Doug
Re: RADDS work now stable with RepRap Firmware February 27, 2016 05:57PM |
Registered: 9 years ago Posts: 185 |
Re: RADDS work now stable with RepRap Firmware February 27, 2016 06:47PM |
Registered: 9 years ago Posts: 185 |
M111 S0 M550 Theimp
Re: RADDS work now stable with RepRap Firmware February 27, 2016 07:33PM |
Registered: 9 years ago Posts: 356 |
Re: RADDS work now stable with RepRap Firmware February 27, 2016 08:41PM |
Registered: 9 years ago Posts: 185 |
Quote
GroupB
Did you try to load the stock kossel sys/ into your radds, see if this hang also ?
Re: RADDS work now stable with RepRap Firmware February 27, 2016 09:11PM |
Registered: 9 years ago Posts: 356 |
; Configuration file for The Imp ; Communication and general M111 S0 ; Debug off M550 Ptheimp ; Machine name and Netbios M555 P2 ; Set output to look like Marlin G21 ; Work in millimetres G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves ; Axis and motor configuration M569 P0 S0 ; Drive 0 goes forwards M569 P1 S0 ; Drive 1 goes forwards M569 P2 S0 ; Drive 2 goes forwards M569 P3 S0 ; Drive 3 goes forwards M574 X2 Y2 Z2 S0 ; set endstop configuration (all endstops at high end, active high) M665 R174.6 L350.0 B152.0 H256.0 ; set delta radius, diagonal rod length, printable radius and homed height M666 X0 Y0 Z0 ; put your endstop adjustments here, or let auto calibration find them M92 X160 Y160 Z160 ; Set axis steps/mm M201 X1000 Y1000 Z1000 E1000 ; Accelerations (mm/s^2) M203 X20000 Y20000 Z20000 E3600 ; Maximum speeds (mm/min) M566 X1200 Y1200 Z1200 E1200 ; Maximum instant speed changes mm/minute ; Thermistors M305 P0 T100000 B3950 R4700 H0 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction M305 P1 T100000 B3950 R4700 H0 L0 ; Put your own H and/or L values here to set the first nozzle thermistor ADC correction M305 P2 T100000 B3950 R4700 H0 L0 ; Put your own H and/or L values here to set the second nozzle thermistor ADC correction M570 S180 ; Hot end may be a little slow to heat up so allow it 180 seconds ; Tool definitions M563 P0 D0 H1 ; Define tool 0 G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures ;*** If you have a dual-nozzle build, un-comment the next 2 lines ;M563 P1 D1 H2 ; Define tool 1 ;G10 P1 S0 R0 ; Set tool 1 operating and standby temperatures M92 E663:663 ; Set extruder steps per mm ; Z probe and compensation definition M558 P3 X0 Y0 Z0 ; Z probe is a switch and is not used for homing any axes G31 X0 Y0 Z4.80 P500 ; Set the zprobe height and threshold (put your own values here) M556 S78 X0 Y0 Z0 ; Axis compensation here M208 S1 Z-0.2 ; set minimum Z T0 ; select first hot end
Re: RADDS work now stable with RepRap Firmware February 27, 2016 09:39PM |
Registered: 9 years ago Posts: 185 |
Re: RADDS work now stable with RepRap Firmware February 27, 2016 10:43PM |
Registered: 9 years ago Posts: 185 |