bbctrl-firmware
8 years agoRoll back to variable step clock period to fix velocity discontinuity.
Joseph Coffland [Mon, 10 Apr 2017 04:38:10 +0000 (21:38 -0700)]
Roll back to variable step clock period to fix velocity discontinuity.

8 years agoBack to controlled DMA counting
Joseph Coffland [Sat, 8 Apr 2017 07:58:27 +0000 (00:58 -0700)]
Back to controlled DMA counting

8 years agoNew motor driver code working well
Joseph Coffland [Wed, 29 Mar 2017 11:54:25 +0000 (04:54 -0700)]
New motor driver code working well

8 years agoNew motor driver code working somewhat
Joseph Coffland [Wed, 29 Mar 2017 11:25:38 +0000 (04:25 -0700)]
New motor driver code working somewhat

8 years agoNew motor driver code working somewhat
Joseph Coffland [Wed, 29 Mar 2017 11:20:26 +0000 (04:20 -0700)]
New motor driver code working somewhat

8 years agoAdded encoder var, simplified motor direction code
Joseph Coffland [Wed, 29 Mar 2017 07:44:09 +0000 (00:44 -0700)]
Added encoder var, simplified motor direction code

8 years agoTesting DMA counter changes
Joseph Coffland [Tue, 28 Mar 2017 09:52:11 +0000 (02:52 -0700)]
Testing DMA counter changes

8 years agotext
Joseph Coffland [Tue, 28 Mar 2017 06:50:58 +0000 (23:50 -0700)]
text

8 years agoEliminate forward dif code
Joseph Coffland [Mon, 27 Mar 2017 00:27:58 +0000 (17:27 -0700)]
Eliminate forward dif code

8 years agoImproved velocity curve calcuation, Added whole program opt, Fixed negative dir motor...
Joseph Coffland [Sun, 26 Mar 2017 10:20:26 +0000 (03:20 -0700)]
Improved velocity curve calcuation, Added whole program opt, Fixed negative dir motor speed problem, Docs

8 years agoWorking on planner numerical stability
Joseph Coffland [Sat, 25 Mar 2017 01:05:37 +0000 (18:05 -0700)]
Working on planner numerical stability

8 years agoxboot -> boot
Joseph Coffland [Mon, 23 Jan 2017 00:03:27 +0000 (16:03 -0800)]
xboot -> boot

8 years agoFixed motor reverse config
Joseph Coffland [Sun, 22 Jan 2017 03:38:39 +0000 (19:38 -0800)]
Fixed motor reverse config

8 years agoConfiguration fixes, configure AVR
Joseph Coffland [Sun, 15 Jan 2017 10:10:44 +0000 (02:10 -0800)]
Configuration fixes, configure AVR

8 years agoConfig fixes, motor power state fixes
Joseph Coffland [Sun, 15 Jan 2017 10:10:14 +0000 (02:10 -0800)]
Config fixes, motor power state fixes

8 years agoRemove soft limit magic number
Joseph Coffland [Sun, 15 Jan 2017 05:31:25 +0000 (21:31 -0800)]
Remove soft limit magic number

8 years agoAdded script to check for RPi/AVR variable consistency
Joseph Coffland [Sun, 15 Jan 2017 05:11:49 +0000 (21:11 -0800)]
Added script to check for RPi/AVR variable consistency

8 years agoFixed motor current & switch variables
Joseph Coffland [Sun, 15 Jan 2017 05:09:51 +0000 (21:09 -0800)]
Fixed motor current & switch variables

8 years agoremoved uncessary clock code
Joseph Coffland [Sun, 15 Jan 2017 05:08:39 +0000 (21:08 -0800)]
removed uncessary clock code

8 years agoProgram AVR on install
Joseph Coffland [Sat, 14 Jan 2017 10:06:13 +0000 (02:06 -0800)]
Program AVR on install

8 years agoEnsure version is updated in config
Joseph Coffland [Sat, 14 Jan 2017 10:05:54 +0000 (02:05 -0800)]
Ensure version is updated in config

8 years agoFaster programming
Joseph Coffland [Sat, 14 Jan 2017 10:05:29 +0000 (02:05 -0800)]
Faster programming

8 years agoUpdated copyright date
Joseph Coffland [Sat, 14 Jan 2017 08:57:14 +0000 (00:57 -0800)]
Updated copyright date

8 years agoAdded AVR programming script
Joseph Coffland [Sat, 14 Jan 2017 08:55:23 +0000 (00:55 -0800)]
Added AVR programming script

8 years agoCleaned up bootloader code
Joseph Coffland [Sat, 14 Jan 2017 08:54:20 +0000 (00:54 -0800)]
Cleaned up bootloader code

8 years agonot needed
Joseph Coffland [Sat, 14 Jan 2017 02:30:45 +0000 (18:30 -0800)]
not needed

8 years agoMerge branch 'avr-firmware'
Joseph Coffland [Sat, 14 Jan 2017 01:52:04 +0000 (17:52 -0800)]
Merge branch 'avr-firmware'

8 years agoMoved files to avr/
Joseph Coffland [Sat, 14 Jan 2017 01:51:44 +0000 (17:51 -0800)]
Moved files to avr/

8 years agoVersion change, Makefile improvements
Joseph Coffland [Sat, 14 Jan 2017 01:22:36 +0000 (17:22 -0800)]
Version change, Makefile improvements

8 years agoDefine VERSION in Makefile, other minor changes
Joseph Coffland [Sat, 14 Jan 2017 01:21:42 +0000 (17:21 -0800)]
Define VERSION in Makefile, other minor changes

9 years agoFuses always fail
Joseph Coffland [Thu, 12 Jan 2017 00:24:08 +0000 (16:24 -0800)]
Fuses always fail

9 years agoErase before init
Joseph Coffland [Thu, 12 Jan 2017 00:15:52 +0000 (16:15 -0800)]
Erase before init

9 years agoAdded bootloader
Joseph Coffland [Thu, 12 Jan 2017 00:14:26 +0000 (16:14 -0800)]
Added bootloader

9 years agoChanged gain and decay settings
Joseph Coffland [Thu, 12 Jan 2017 00:13:52 +0000 (16:13 -0800)]
Changed gain and decay settings

9 years agoMerged with drv8711 branch
Joseph Coffland [Thu, 5 Jan 2017 03:15:18 +0000 (19:15 -0800)]
Merged with drv8711 branch

9 years agoFixed config, updates for frontend
Joseph Coffland [Thu, 5 Jan 2017 02:45:01 +0000 (18:45 -0800)]
Fixed config, updates for frontend

9 years agoFixed config, implemented configuration backup, restore, reset and firmware check...
Joseph Coffland [Tue, 3 Jan 2017 13:14:45 +0000 (05:14 -0800)]
Fixed config, implemented configuration backup, restore, reset and firmware check & upgrade

9 years agoUpdates for v6 board, basic stall homing working
Joseph Coffland [Sat, 24 Dec 2016 09:16:11 +0000 (01:16 -0800)]
Updates for v6 board, basic stall homing working

9 years agoRemoved LCD force, Retry AVR connection
Joseph Coffland [Wed, 21 Dec 2016 10:45:25 +0000 (02:45 -0800)]
Removed LCD force, Retry AVR connection

9 years agoAdded console in Web, Don't fail to start when LCD is not found, Retry LCD connection...
Joseph Coffland [Wed, 21 Dec 2016 00:35:49 +0000 (16:35 -0800)]
Added console in Web, Don't fail to start when LCD is not found, Retry LCD connection, Added pyudev dep, probably others

9 years agoInitial DRV8711 driver, working
Joseph Coffland [Fri, 7 Oct 2016 00:46:39 +0000 (17:46 -0700)]
Initial DRV8711 driver, working

9 years agoRemoved old pin config
Joseph Coffland [Wed, 5 Oct 2016 20:25:44 +0000 (13:25 -0700)]
Removed old pin config

9 years agoChanges for v3 board wiring
Joseph Coffland [Sat, 1 Oct 2016 21:02:26 +0000 (14:02 -0700)]
Changes for v3 board wiring

9 years agoFixed occasional step correction induced stutter.
Joseph Coffland [Wed, 21 Sep 2016 20:13:12 +0000 (13:13 -0700)]
Fixed occasional step correction induced stutter.

9 years agoUse fast invsqrt() function
Joseph Coffland [Wed, 21 Sep 2016 19:17:19 +0000 (12:17 -0700)]
Use fast invsqrt() function

9 years agoSeparate forward differencing code
Joseph Coffland [Wed, 21 Sep 2016 17:59:09 +0000 (10:59 -0700)]
Separate forward differencing code

9 years agoRound seg period, removed dead code
Joseph Coffland [Wed, 21 Sep 2016 16:08:55 +0000 (09:08 -0700)]
Round seg period, removed dead code

9 years agoCleanup, check NOM_SEGMENT_USEC <= MAX_SEGMENT_TIME
Joseph Coffland [Wed, 21 Sep 2016 15:51:40 +0000 (08:51 -0700)]
Cleanup, check NOM_SEGMENT_USEC <= MAX_SEGMENT_TIME

9 years agoMuch improved step correction using PID loop
Joseph Coffland [Wed, 21 Sep 2016 13:42:42 +0000 (06:42 -0700)]
Much improved step correction using PID loop

9 years agoWorking on step correction
Joseph Coffland [Wed, 21 Sep 2016 11:18:53 +0000 (04:18 -0700)]
Working on step correction

9 years agoAccurate positioning but velocity wavers a bit
Joseph Coffland [Wed, 21 Sep 2016 05:13:41 +0000 (22:13 -0700)]
Accurate positioning but velocity wavers a bit

9 years agoFixed jog reverse direction
Joseph Coffland [Mon, 19 Sep 2016 04:22:01 +0000 (21:22 -0700)]
Fixed jog reverse direction

9 years agoFix to exit jog mode
Joseph Coffland [Mon, 19 Sep 2016 04:01:21 +0000 (21:01 -0700)]
Fix to exit jog mode

9 years agoS-curve jogging
Joseph Coffland [Mon, 19 Sep 2016 03:57:22 +0000 (20:57 -0700)]
S-curve jogging

9 years agoUse encoder counts to correct step position exactly, Reduced forward diff calc from...
Joseph Coffland [Sun, 18 Sep 2016 20:17:58 +0000 (13:17 -0700)]
Use encoder counts to correct step position exactly, Reduced forward diff calc from 42 multiples and 2 divides to 23 and 1

9 years agoImplemented stepping
Joseph Coffland [Tue, 13 Sep 2016 10:21:47 +0000 (03:21 -0700)]
Implemented stepping

9 years agoImplemented stepping
Joseph Coffland [Tue, 13 Sep 2016 10:21:31 +0000 (03:21 -0700)]
Implemented stepping

9 years agorun_state -> buffer_state
Joseph Coffland [Tue, 13 Sep 2016 01:30:35 +0000 (18:30 -0700)]
run_state -> buffer_state

9 years agoShow Line and hold reason, Highlight GCode line, Show GCode line numbers.
Joseph Coffland [Mon, 12 Sep 2016 06:18:42 +0000 (23:18 -0700)]
Show Line and hold reason, Highlight GCode line, Show GCode line numbers.

9 years agoWork on spindle vars, Added hold reason, hold on tool change, hold on pallet change...
Joseph Coffland [Mon, 12 Sep 2016 06:17:55 +0000 (23:17 -0700)]
Work on spindle vars, Added hold reason, hold on tool change, hold on pallet change, optional hold

9 years agoFixed arcs
Joseph Coffland [Mon, 12 Sep 2016 03:59:38 +0000 (20:59 -0700)]
Fixed arcs

9 years agoSmooth holds with intermixed nonstop commands.
Joseph Coffland [Mon, 12 Sep 2016 03:52:21 +0000 (20:52 -0700)]
Smooth holds with intermixed nonstop commands.

9 years agoSet bf->run_state eariler for planning
Joseph Coffland [Sun, 11 Sep 2016 15:24:56 +0000 (08:24 -0700)]
Set bf->run_state eariler for planning

9 years agoMerge branch 'master' into skip-non-plan
Joseph Coffland [Sun, 11 Sep 2016 15:22:20 +0000 (08:22 -0700)]
Merge branch 'master' into skip-non-plan

9 years agoFixed target calculation
Joseph Coffland [Sun, 11 Sep 2016 15:22:11 +0000 (08:22 -0700)]
Fixed target calculation

9 years agoWork in progress
Joseph Coffland [Sun, 11 Sep 2016 14:51:33 +0000 (07:51 -0700)]
Work in progress

9 years agouse inline functions instead of defines
Joseph Coffland [Sun, 11 Sep 2016 14:49:36 +0000 (07:49 -0700)]
use inline functions instead of defines

9 years agoUse spindle and feed overrides
Joseph Coffland [Sun, 11 Sep 2016 13:11:03 +0000 (06:11 -0700)]
Use spindle and feed overrides

9 years agoFix feed/speed override parsing
Joseph Coffland [Sun, 11 Sep 2016 12:55:29 +0000 (05:55 -0700)]
Fix feed/speed override parsing

9 years agoCode cleanup
Joseph Coffland [Sun, 11 Sep 2016 12:37:41 +0000 (05:37 -0700)]
Code cleanup

9 years agoboolean flags in parser
Joseph Coffland [Sun, 11 Sep 2016 12:03:53 +0000 (05:03 -0700)]
boolean flags in parser

9 years agoFully encapsulated mach
Joseph Coffland [Sun, 11 Sep 2016 11:24:38 +0000 (04:24 -0700)]
Fully encapsulated mach

9 years agoImplemented runtime tool change, added more arc error checking
Joseph Coffland [Sun, 11 Sep 2016 10:49:27 +0000 (03:49 -0700)]
Implemented runtime tool change, added more arc error checking

9 years agoRemoved plan/command.c, Moved CM_ALARM
Joseph Coffland [Sun, 11 Sep 2016 09:07:05 +0000 (02:07 -0700)]
Removed plan/command.c, Moved CM_ALARM

9 years agoSplit machine.{c,h}
Joseph Coffland [Sat, 10 Sep 2016 13:05:02 +0000 (06:05 -0700)]
Split machine.{c,h}

9 years agoMachine encapsulation
Joseph Coffland [Sat, 10 Sep 2016 12:36:43 +0000 (05:36 -0700)]
Machine encapsulation

9 years agonames
Joseph Coffland [Sat, 10 Sep 2016 11:53:39 +0000 (04:53 -0700)]
names

9 years agoCleaned up buffer.c
Joseph Coffland [Sat, 10 Sep 2016 11:23:55 +0000 (04:23 -0700)]
Cleaned up buffer.c

9 years agoCleaned up buffer.c
Joseph Coffland [Sat, 10 Sep 2016 11:21:14 +0000 (04:21 -0700)]
Cleaned up buffer.c

9 years agoMore encapsulation, made some queue commands unsynchronized, final arc move to actual...
Joseph Coffland [Sat, 10 Sep 2016 09:59:00 +0000 (02:59 -0700)]
More encapsulation, made some queue commands unsynchronized, final arc move to actual target, always return a write buffer

9 years agoFix feed rate mode handling
Joseph Coffland [Sat, 10 Sep 2016 07:38:33 +0000 (00:38 -0700)]
Fix feed rate mode handling

9 years agoSmooth move transitions, enforce move generation with alarm, wait a bit for planner...
Joseph Coffland [Sat, 10 Sep 2016 07:00:44 +0000 (00:00 -0700)]
Smooth move transitions, enforce move generation with alarm, wait a bit for planner to fill before moving.

9 years agoCleaned up line planning code
Joseph Coffland [Sat, 10 Sep 2016 03:02:12 +0000 (20:02 -0700)]
Cleaned up line planning code

9 years agoKeep executing planner buffers until one produces a move. Arc cleanup
Joseph Coffland [Thu, 8 Sep 2016 11:56:52 +0000 (04:56 -0700)]
Keep executing planner buffers until one produces a move.  Arc cleanup

9 years agoReport GCode state #18, Eliminated move_state_t struct, Reorg of spindle code
Joseph Coffland [Thu, 8 Sep 2016 10:45:07 +0000 (03:45 -0700)]
Report GCode state #18, Eliminated move_state_t struct, Reorg of spindle code

9 years agoFixed GCode EOF, Implemented axis zeroing
Joseph Coffland [Thu, 8 Sep 2016 07:29:56 +0000 (00:29 -0700)]
Fixed GCode EOF, Implemented axis zeroing

9 years agoImplemented axis zeroing. Start AVR in flushing mode, #10
Joseph Coffland [Thu, 8 Sep 2016 07:29:22 +0000 (00:29 -0700)]
Implemented axis zeroing.  Start AVR in flushing mode, #10

9 years agoFixed jogging, AVR state strings are now all caps, Retry i2c on fail
Joseph Coffland [Tue, 6 Sep 2016 08:58:34 +0000 (01:58 -0700)]
Fixed jogging, AVR state strings are now all caps, Retry i2c on fail

9 years agoFixed several bugs, cleaned up util.c, Automatically deallocate planning buffers...
Joseph Coffland [Tue, 6 Sep 2016 08:56:56 +0000 (01:56 -0700)]
Fixed several bugs, cleaned up util.c, Automatically deallocate planning buffers and manage state, Fixed hold planning.

9 years agoMore consistent variable naming style
Joseph Coffland [Mon, 5 Sep 2016 23:09:05 +0000 (16:09 -0700)]
More consistent variable naming style

9 years agoRevert usart_readline() change
Joseph Coffland [Mon, 5 Sep 2016 21:25:20 +0000 (14:25 -0700)]
Revert usart_readline() change

9 years agoUppercase status strings, Don't enable read interrupt immediately in usart_readline...
Joseph Coffland [Mon, 5 Sep 2016 21:12:31 +0000 (14:12 -0700)]
Uppercase status strings, Don't enable read interrupt immediately in usart_readline(), Disabled alarm in mach_set_position()

9 years agoWorking on jog
Joseph Coffland [Mon, 5 Sep 2016 11:49:41 +0000 (04:49 -0700)]
Working on jog

9 years agoSplit exec.c from runtime.c
Joseph Coffland [Mon, 5 Sep 2016 10:06:49 +0000 (03:06 -0700)]
Split exec.c from runtime.c

9 years agoFunction renaming, planner reorg and runtime state encapsulation.
Joseph Coffland [Mon, 5 Sep 2016 03:08:25 +0000 (20:08 -0700)]
Function renaming, planner reorg and runtime state encapsulation.

9 years agoAlarm if machine position is set while the machine is moving
Joseph Coffland [Mon, 5 Sep 2016 01:23:29 +0000 (18:23 -0700)]
Alarm if machine position is set while the machine is moving

9 years agoFixed GCode starting after disconnect
Joseph Coffland [Sun, 4 Sep 2016 00:21:46 +0000 (17:21 -0700)]
Fixed GCode starting after disconnect

9 years agoImproved Web control interface, LCD screen output
Joseph Coffland [Sat, 3 Sep 2016 22:37:42 +0000 (15:37 -0700)]
Improved Web control interface, LCD screen output

9 years agoReport current units
Joseph Coffland [Sat, 3 Sep 2016 22:37:05 +0000 (15:37 -0700)]
Report current units

9 years agoCorrectly implemented start/stop/pause
Joseph Coffland [Fri, 2 Sep 2016 09:07:48 +0000 (02:07 -0700)]
Correctly implemented start/stop/pause