Hi all,
I've implemented a variable intensity laser output in the firmware. I'm using a Due and an adapted RAMPS 1.4 board. I've disabled servos and hijacked pin D5 as a 26khz PWM output using the laser event system. However, on serial connect I get a brief high output on pin D5. I've disabled all of my code yet it is still present. Obviously, I don't want the laser firing every time I connect. Is there any reason this would be happening? I can't see anything else mapped to pin D5.
I plan to debug the connect sequence unless someone can shed some light on the problem before then.
This is the log output during the serial connect. The output is so brief I can't say when it happens, just that it happens during this sequence.
20:08:16.218 : Printer reset detected - initalizing<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.218 : start<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.218 : Info:PowerUp<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.222 : Free RAM:86556<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.394 : N1 M11034<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.394 : N2 M11536</span><br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.394 : N3 M10536<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.394 : N4 M11435</span><br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.397 : ok<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.397 : ok 2<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.413 : N5 M111 S698<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.414 : N6 T060</span><br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.414 : N7 M2022<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.414 : N8 M220 S100105</span><br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.414 : N9 M221 S100105<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.414 : N10 M8042</span><br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.415 : N11 M10523<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.415 : N12 M111 S684</span><br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.415 : FIRMWARE_NAME:Repetier_0.92.9 <a rel="nofollow" target="_blank" href="http://firmware_url:https//github.com/repetier/Repetier-Firmware/" style="color: rgb(102, 17, 204); cursor: text; pointer-events: none; font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">FIRMWARE_URL:https://github.com/repetier/Repetier-Firmware/</a><span style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);"> PROTOCOL_VERSION:1.0 MACHINE_TYPE:Mendel EXTRUDER_COUNT:0 REPETIER_PROTOCOL:3</span><br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.415 : PrinterMode:FFF<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.415 : ok 3<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.415 : ok 4<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.415 : N13 T08<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.418 : X:0.00 Y:0.00 Z:0.000 E:0.0000<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.418 : ok 5<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.422 : DebugLevel:6<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.422 : ok 6<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.422 : ok 7<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.422 : Unknown command:N7 M20<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.422 : ok 8<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.427 : SpeedMultiply:100<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.427 : ok 9<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.427 : FlowMultiply:100<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.427 : ok 10<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.430 : ok 11<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.430 : ok 12<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.430 : DebugLevel:6<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:16.430 : ok 13<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:17.425 : wait<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:18.425 : wait<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:19.428 : wait<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:19.453 : N14 M10518</span><br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:19.457 : ok 14<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">20:08:20.457 : wait<br style="color: rgba(0, 0, 0, 0.870588); font-family: "Roboto Slab", "Times New Roman", serif; font-size: 14px; font-variant-ligatures: none; white-space: pre-wrap; background-color: rgb(250, 250, 250);">
Thanks,
Stu