bbctrl-firmware
9 years agoDocumentation and code cleanup
Joseph Coffland [Sun, 28 Aug 2016 22:11:56 +0000 (15:11 -0700)]
Documentation and code cleanup

9 years agoInitialize structs
Joseph Coffland [Sun, 28 Aug 2016 06:20:23 +0000 (23:20 -0700)]
Initialize structs

9 years agoModularized homing and probing code
Joseph Coffland [Sun, 28 Aug 2016 05:50:46 +0000 (22:50 -0700)]
Modularized homing and probing code

9 years agoConsolidated planner calculations and feedhold state
Joseph Coffland [Sun, 28 Aug 2016 02:34:06 +0000 (19:34 -0700)]
Consolidated planner calculations and feedhold state

9 years agoIsolated planner state from machine
Joseph Coffland [Sun, 28 Aug 2016 01:56:19 +0000 (18:56 -0700)]
Isolated planner state from machine

9 years agoIDLE->READY, Added speed, feed and tool vars back in
Joseph Coffland [Sun, 28 Aug 2016 00:13:28 +0000 (17:13 -0700)]
IDLE->READY, Added speed, feed and tool vars back in

9 years agoReintroduced machine cycle state
Joseph Coffland [Sat, 27 Aug 2016 21:18:30 +0000 (14:18 -0700)]
Reintroduced machine cycle state

9 years agoReworked machine state variables
Joseph Coffland [Thu, 25 Aug 2016 10:28:15 +0000 (03:28 -0700)]
Reworked machine state variables

9 years agoFixed error message
Joseph Coffland [Tue, 23 Aug 2016 07:10:53 +0000 (00:10 -0700)]
Fixed error message

9 years agoRoll back flush ID code, Skip some callbacks in EStop
Joseph Coffland [Tue, 23 Aug 2016 06:23:04 +0000 (23:23 -0700)]
Roll back flush ID code, Skip some callbacks in EStop

9 years agoReboot on estop clear, save estop state in EEPROM, stop spindle, flush USART and...
Joseph Coffland [Tue, 23 Aug 2016 06:03:09 +0000 (23:03 -0700)]
Reboot on estop clear, save estop state in EEPROM, stop spindle, flush USART and wait for EEPROM write before reboot

9 years agoAdded i2c slave interface
Joseph Coffland [Wed, 27 Jul 2016 22:46:19 +0000 (15:46 -0700)]
Added i2c slave interface

9 years agoMore cleanup
Joseph Coffland [Wed, 6 Jul 2016 11:57:55 +0000 (04:57 -0700)]
More cleanup

9 years agoClean up
Joseph Coffland [Wed, 6 Jul 2016 11:42:52 +0000 (04:42 -0700)]
Clean up

9 years agoRemoved main loop blocking
Joseph Coffland [Wed, 6 Jul 2016 11:29:34 +0000 (04:29 -0700)]
Removed main loop blocking

9 years agoignore
Joseph Coffland [Tue, 5 Jul 2016 09:27:39 +0000 (02:27 -0700)]
ignore

9 years agoEnable spindle
Joseph Coffland [Tue, 5 Jul 2016 08:32:56 +0000 (01:32 -0700)]
Enable spindle

9 years agoAdded verify command
Joseph Coffland [Tue, 5 Jul 2016 08:32:40 +0000 (01:32 -0700)]
Added verify command

9 years agoFixed estop
Joseph Coffland [Tue, 5 Jul 2016 08:32:34 +0000 (01:32 -0700)]
Fixed estop

9 years agoAllow unsaved vars, Work on switches and estop
Joseph Coffland [Wed, 29 Jun 2016 04:45:20 +0000 (21:45 -0700)]
Allow unsaved vars, Work on switches and estop

9 years agoAdded missing files, fixed switches interrupts
Joseph Coffland [Tue, 28 Jun 2016 12:28:17 +0000 (05:28 -0700)]
Added missing files, fixed switches interrupts

9 years agoImplemented better pin mapping
Joseph Coffland [Tue, 28 Jun 2016 10:12:54 +0000 (03:12 -0700)]
Implemented better pin mapping

9 years agoImproved usart_readline(), Improved help, Added feedhold, start cycle & flush queue...
Joseph Coffland [Mon, 27 Jun 2016 10:42:47 +0000 (03:42 -0700)]
Improved usart_readline(), Improved help, Added feedhold, start cycle & flush queue character commands

9 years agoUse only 2 char var codes, Enabled serial hardware flow control, Reorder command...
Joseph Coffland [Sun, 26 Jun 2016 19:15:37 +0000 (12:15 -0700)]
Use only 2 char var codes, Enabled serial hardware flow control, Reorder command processing priority

9 years agoReport JSON errors
Joseph Coffland [Thu, 23 Jun 2016 23:58:20 +0000 (16:58 -0700)]
Report JSON errors

9 years agoUppercase macro
Joseph Coffland [Thu, 23 Jun 2016 23:44:09 +0000 (16:44 -0700)]
Uppercase macro

9 years agoNamespace STAT_MSG macro
Joseph Coffland [Thu, 23 Jun 2016 23:42:12 +0000 (16:42 -0700)]
Namespace STAT_MSG macro

9 years agoTotally DRY status messages using X-Macros
Joseph Coffland [Thu, 23 Jun 2016 23:40:31 +0000 (16:40 -0700)]
Totally DRY status messages using X-Macros

9 years agoprint JSON
Joseph Coffland [Wed, 22 Jun 2016 08:01:37 +0000 (01:01 -0700)]
print JSON

9 years agoRemoved current ramping
Joseph Coffland [Mon, 20 Jun 2016 10:30:53 +0000 (03:30 -0700)]
Removed current ramping

9 years agoWorking with current ramping
Joseph Coffland [Mon, 20 Jun 2016 10:28:51 +0000 (03:28 -0700)]
Working with current ramping

9 years agoAdded estop control, improved cm_alarm, Improved tmc2660 driver, temporarily disabled...
Joseph Coffland [Sun, 19 Jun 2016 19:14:06 +0000 (12:14 -0700)]
Added estop control, improved cm_alarm, Improved tmc2660 driver, temporarily disabled switch and spindle, improved status message printing and dispatch loop

9 years agoHandle RTC wrap around
Joseph Coffland [Sat, 18 Jun 2016 23:26:13 +0000 (16:26 -0700)]
Handle RTC wrap around

9 years agoSerial port improvements
Joseph Coffland [Sat, 18 Jun 2016 23:23:18 +0000 (16:23 -0700)]
Serial port improvements

9 years agoHuanyang reports
Joseph Coffland [Tue, 7 Jun 2016 15:39:53 +0000 (08:39 -0700)]
Huanyang reports

9 years agoWork on switch handling, coolant load switches
Joseph Coffland [Thu, 26 May 2016 06:13:54 +0000 (23:13 -0700)]
Work on switch handling, coolant load switches

9 years agoPWM spindle
Joseph Coffland [Wed, 25 May 2016 09:10:38 +0000 (02:10 -0700)]
PWM spindle

9 years agomotor calibration, haunyang spindle control
Joseph Coffland [Wed, 25 May 2016 06:02:50 +0000 (23:02 -0700)]
motor calibration, haunyang spindle control

9 years agosg threshold calibration routine 2
Joseph Coffland [Mon, 11 Apr 2016 03:10:16 +0000 (20:10 -0700)]
sg threshold calibration routine 2

9 years agoDisable echo, velocity vs. sg threshold calibration routine
Joseph Coffland [Sun, 10 Apr 2016 23:21:44 +0000 (16:21 -0700)]
Disable echo, velocity vs. sg threshold calibration routine

9 years agoRemove kienmatics.{c,h}
Joseph Coffland [Tue, 29 Mar 2016 12:33:23 +0000 (05:33 -0700)]
Remove kienmatics.{c,h}

9 years agoCleaned up unused status messages
Joseph Coffland [Tue, 29 Mar 2016 12:26:55 +0000 (05:26 -0700)]
Cleaned up unused status messages

9 years agoCleaned up canonical machine and reduced memory usage
Joseph Coffland [Tue, 29 Mar 2016 11:48:56 +0000 (04:48 -0700)]
Cleaned up canonical machine and reduced memory usage

9 years agoConfig variables for idle and drive currents, Faster motor driver config updates...
Joseph Coffland [Tue, 29 Mar 2016 05:46:20 +0000 (22:46 -0700)]
Config variables for idle and drive currents, Faster motor driver config updates, Faster driver SPI

9 years agoStepper driver tweaks. Seems to run well.
Joseph Coffland [Sun, 27 Mar 2016 22:51:51 +0000 (15:51 -0700)]
Stepper driver tweaks.  Seems to run well.

9 years agoDMA channels to count motor pulses, more reorg, much faster motor SPI
Joseph Coffland [Sun, 27 Mar 2016 13:24:47 +0000 (06:24 -0700)]
DMA channels to count motor pulses, more reorg, much faster motor SPI

9 years agoRemoved controller and encoder, reorg of hardware, use DMA channels to count motor...
Joseph Coffland [Sun, 27 Mar 2016 08:03:10 +0000 (01:03 -0700)]
Removed controller and encoder, reorg of hardware, use DMA channels to count motor pulses

9 years agoMore planner cleanup
Joseph Coffland [Wed, 23 Mar 2016 22:21:19 +0000 (15:21 -0700)]
More planner cleanup

9 years agoBroke up planner.h
Joseph Coffland [Wed, 23 Mar 2016 22:06:28 +0000 (15:06 -0700)]
Broke up planner.h

9 years agoBroke up planner.h
Joseph Coffland [Wed, 23 Mar 2016 22:01:25 +0000 (15:01 -0700)]
Broke up planner.h

9 years agodwell.{c,h} cleanup
Joseph Coffland [Wed, 23 Mar 2016 21:28:13 +0000 (14:28 -0700)]
dwell.{c,h} cleanup

9 years agocommand.{c,h} cleanup
Joseph Coffland [Wed, 23 Mar 2016 21:23:49 +0000 (14:23 -0700)]
command.{c,h} cleanup

9 years agoarc.{c,h} cleanup
Joseph Coffland [Wed, 23 Mar 2016 21:11:26 +0000 (14:11 -0700)]
arc.{c,h} cleanup

9 years agobring back _request_exec_move()
Joseph Coffland [Wed, 23 Mar 2016 21:11:15 +0000 (14:11 -0700)]
bring back _request_exec_move()

9 years agoGo back to using software interrupt to load next move so that X axis still works
Joseph Coffland [Wed, 23 Mar 2016 10:19:08 +0000 (03:19 -0700)]
Go back to using software interrupt to load next move so that X axis still works

9 years agoEven more efficient stepper driver, cleaned up docs, fixed bug in motor clock rate...
Joseph Coffland [Wed, 23 Mar 2016 09:16:19 +0000 (02:16 -0700)]
Even more efficient stepper driver, cleaned up docs, fixed bug in motor clock rate calculation

9 years agoMore efficient struct initialization
Joseph Coffland [Wed, 23 Mar 2016 07:10:48 +0000 (00:10 -0700)]
More efficient struct initialization

9 years agoAdaptive motor power, fixed SPI glitch, other fixes and optimizations, runs pretty...
Joseph Coffland [Wed, 23 Mar 2016 06:12:22 +0000 (23:12 -0700)]
Adaptive motor power, fixed SPI glitch, other fixes and optimizations, runs pretty well.

9 years agoEven more switch cleanup
Joseph Coffland [Mon, 21 Mar 2016 04:05:56 +0000 (21:05 -0700)]
Even more switch cleanup

9 years agoClean up spi state
Joseph Coffland [Mon, 21 Mar 2016 03:29:16 +0000 (20:29 -0700)]
Clean up spi state

9 years agoInterrupt on fault lines
Joseph Coffland [Mon, 21 Mar 2016 03:21:53 +0000 (20:21 -0700)]
Interrupt on fault lines

9 years agoSwitch, stepper and tmc2660 cleanup
Joseph Coffland [Mon, 21 Mar 2016 02:29:23 +0000 (19:29 -0700)]
Switch, stepper and tmc2660 cleanup

9 years agoprepBufferState -> prepBufferOwner
Joseph Coffland [Sun, 20 Mar 2016 23:07:00 +0000 (16:07 -0700)]
prepBufferState -> prepBufferOwner

9 years agoUse enums in stepper.{c,h}
Joseph Coffland [Sun, 20 Mar 2016 23:03:57 +0000 (16:03 -0700)]
Use enums in stepper.{c,h}

9 years agoGet/set all vars
Joseph Coffland [Sun, 20 Mar 2016 22:48:55 +0000 (15:48 -0700)]
Get/set all vars

9 years agoClean up
Joseph Coffland [Mon, 14 Mar 2016 03:41:07 +0000 (20:41 -0700)]
Clean up

9 years agoSome cleanup after stepper driver overhaul
Joseph Coffland [Mon, 14 Mar 2016 03:40:44 +0000 (20:40 -0700)]
Some cleanup after stepper driver overhaul

9 years agoSome cleanup after stepper driver overhaul
Joseph Coffland [Mon, 14 Mar 2016 03:40:29 +0000 (20:40 -0700)]
Some cleanup after stepper driver overhaul

9 years agoAdded watchdog
Joseph Coffland [Mon, 14 Mar 2016 03:40:07 +0000 (20:40 -0700)]
Added watchdog

9 years agoUpdated licensing and attributions
Joseph Coffland [Mon, 14 Mar 2016 02:24:19 +0000 (19:24 -0700)]
Updated licensing and attributions

9 years agoNew fast step clock implementation
Joseph Coffland [Sun, 13 Mar 2016 12:40:00 +0000 (05:40 -0700)]
New fast step clock implementation

9 years agoCleanup and optimizations, 80-columns!
Joseph Coffland [Sun, 13 Mar 2016 02:07:27 +0000 (18:07 -0800)]
Cleanup and optimizations, 80-columns!

9 years agoFixed switch and output mapping
Joseph Coffland [Sat, 12 Mar 2016 20:26:54 +0000 (12:26 -0800)]
Fixed switch and output mapping

9 years agoSet current default to 80%
Joseph Coffland [Sat, 12 Mar 2016 09:39:14 +0000 (01:39 -0800)]
Set current default to 80%

9 years agoFixed timing issues
Joseph Coffland [Sat, 12 Mar 2016 07:52:25 +0000 (23:52 -0800)]
Fixed timing issues

9 years agoNew jog impl
Joseph Coffland [Fri, 11 Mar 2016 07:51:26 +0000 (23:51 -0800)]
New jog impl

9 years agoLots of clean up, work on improved stepper algorithm, freeded up several hardware...
Joseph Coffland [Fri, 11 Mar 2016 07:51:08 +0000 (23:51 -0800)]
Lots of clean up, work on improved stepper algorithm, freeded up several hardware timers

9 years agoMostly style updates
Joseph Coffland [Wed, 9 Mar 2016 22:08:57 +0000 (14:08 -0800)]
Mostly style updates

9 years agoMore cleanup
Joseph Coffland [Sun, 7 Feb 2016 23:32:55 +0000 (15:32 -0800)]
More cleanup

9 years agoMinor changes
Joseph Coffland [Sun, 7 Feb 2016 00:10:37 +0000 (16:10 -0800)]
Minor changes

9 years agoDuplicate file
Joseph Coffland [Sun, 7 Feb 2016 00:06:57 +0000 (16:06 -0800)]
Duplicate file

9 years agoNew config options
Joseph Coffland [Sat, 6 Feb 2016 23:49:53 +0000 (15:49 -0800)]
New config options

10 years agoMore cleanup
Joseph Coffland [Wed, 6 Jan 2016 09:05:22 +0000 (01:05 -0800)]
More cleanup

10 years agoSS pin back to output
Joseph Coffland [Wed, 6 Jan 2016 09:05:18 +0000 (01:05 -0800)]
SS pin back to output

10 years agoMore cleanup
Joseph Coffland [Wed, 6 Jan 2016 07:22:44 +0000 (23:22 -0800)]
More cleanup

10 years agoMotor config
Joseph Coffland [Wed, 6 Jan 2016 07:22:32 +0000 (23:22 -0800)]
Motor config

10 years agoMore cleanup
Joseph Coffland [Tue, 5 Jan 2016 08:03:28 +0000 (00:03 -0800)]
More cleanup

10 years agoMore cleanup
Joseph Coffland [Tue, 5 Jan 2016 07:50:21 +0000 (23:50 -0800)]
More cleanup

10 years ago1/8th current
Joseph Coffland [Tue, 5 Jan 2016 00:07:56 +0000 (16:07 -0800)]
1/8th current

10 years agoMotor status reporting
Joseph Coffland [Mon, 4 Jan 2016 21:08:22 +0000 (13:08 -0800)]
Motor status reporting

10 years agoupdates
Joseph Coffland [Sun, 3 Jan 2016 07:58:15 +0000 (23:58 -0800)]
updates

10 years agoMore cleanup, removed MICROSTEP line settings
Joseph Coffland [Sun, 3 Jan 2016 03:31:55 +0000 (19:31 -0800)]
More cleanup, removed MICROSTEP line settings

10 years agoComplete TMC2660 driver
Joseph Coffland [Sun, 3 Jan 2016 02:24:58 +0000 (18:24 -0800)]
Complete TMC2660 driver

10 years agoPreliminary TMC2660 driver
Joseph Coffland [Sat, 2 Jan 2016 06:04:06 +0000 (22:04 -0800)]
Preliminary TMC2660 driver

10 years agoMore cleanup
Joseph Coffland [Thu, 31 Dec 2015 04:01:07 +0000 (20:01 -0800)]
More cleanup

10 years agoMore cleanup
Joseph Coffland [Thu, 31 Dec 2015 03:46:56 +0000 (19:46 -0800)]
More cleanup

10 years agoMore cleanup
Joseph Coffland [Thu, 31 Dec 2015 03:43:16 +0000 (19:43 -0800)]
More cleanup

10 years agoMore cleanup
Joseph Coffland [Thu, 31 Dec 2015 03:32:00 +0000 (19:32 -0800)]
More cleanup

10 years agoReplaced xio
Joseph Coffland [Thu, 31 Dec 2015 03:19:11 +0000 (19:19 -0800)]
Replaced xio

10 years agoMore cleanup
Joseph Coffland [Thu, 31 Dec 2015 00:24:24 +0000 (16:24 -0800)]
More cleanup