Wykres commitów

280 Commity (Issue_219_CM_FloatTest)

Autor SHA1 Wiadomość Data
EmbeddedMan 228f4059ad Starting work on ISR part of CM 2024-01-03 19:43:39 -06:00
EmbeddedMan f3da468d7d Final cleanup of process_simple_rate_move(). Takes about 365uS. Passes all tests. Re-writing of HM command - passes all tests (and is VERY simple now). 2023-12-24 17:19:00 -06:00
EmbeddedMan 7411f4710b Switched simple rate move to floating point for some of the math, and it vastly simplified the logic. Also only takes 37uS to execute, which is nice. 2023-12-17 21:19:32 -06:00
EmbeddedMan c1afd7a8d8 Fix for TR command (always clear accs), fix for high ISR rate (not sure why this changed, but now at 40.0218 ms. 2023-12-17 12:44:02 -06:00
EmbeddedMan aa23edb61b Fixed one rate move bug - looks like things are working well now. 2023-12-16 15:58:47 -06:00
EmbeddedMan 7042e7e637 New simple rate command is working, "TR" added for "Test Rate", need to check all special cases yet. 2023-12-16 15:08:42 -06:00
EmbeddedMan 9476620986 WIP 2023-12-16 10:10:46 -06:00
EmbeddedMan 421b3113b9 WIP 2023-12-14 22:28:09 -06:00
EmbeddedMan fc6e2b8628 WIP: It's a mess, but getting there. 2023-12-13 22:31:57 -06:00
EmbeddedMan f98b64ed92 WIP: Refactoring global 'parameter passing' variables in prep for breaking apart HM 2023-12-06 21:25:47 -06:00
EmbeddedMan 9d9e3352fb WIP 2023-12-02 10:28:33 -06:00
EmbeddedMan 784c7392e7 WIP 2023-12-02 08:32:09 -06:00
EmbeddedMan 5ae832320c Got Sqrt() assembly function callable from C! Tested out all values from 0x00000000 to 0x000FFFFF and they all are correct. 2023-11-26 19:57:31 -06:00
EmbeddedMan a97efef41c WIP: Assembly squre root function works 2023-11-25 14:05:04 -06:00
EmbeddedMan f62981522e WIP: Got squareroot assembly to compile and link properly, figured out proper command line for linker so no post-build step is required for list and map file. 2023-11-25 09:15:47 -06:00
EmbeddedMan e4560657b7 Merge branch 'feature/EBF_v3.0.0' into feature/Issue_219_CMArcCommand
# Conflicts:
#	EBB_firmware/app.X/dist/EBBv13_with_bootloader/production/EBF.X.production.map
#	EBB_firmware/app.X/dist/EBBv13_with_bootloader/production/app.X.production.cof
#	EBB_firmware/app.X/dist/EBBv13_with_bootloader/production/app.X.production.hex
#	EBB_firmware/app.X/dist/EBBv13_with_bootloader/production/app.X.production.lst
#	EBB_firmware/app.X/dist/EBBv13_with_bootloader/production/app.X.production.unified.hex
#	EBB_firmware/app.X/source/UBW.c
2023-11-25 07:31:01 -06:00
EmbeddedMan a2dc725cf6 v3.0.0-a29 : Fixed problem introduced in a23 where low ISR (controls RC servo output amonng other things) wasn't turned on at boot. 2023-11-24 10:48:58 -06:00
EmbeddedMan a71b120362 v3.0.0-a28: Fixed silly bug with limit switch trigger. Limit switch feature now appears to be working correctly. 2023-11-24 10:06:27 -06:00
EmbeddedMan cdffdfe526 Version 3.0.0-a27 : Forgot to recompile after removing debug prints from V command. 2023-11-22 12:47:49 -06:00
EmbeddedMan 5caed2943b Version 3.0.0-a26: Fixes problem with limit switch trigger locking up EBB 2023-11-22 11:27:54 -06:00
EmbeddedMan c355afd112 WIP: Added and formatted Microchip fast square root assembly 2023-11-18 12:53:16 -06:00
EmbeddedMan d71b7fd2a7 WIP: Adding CM command in, started by making union for FIFO element 2023-11-18 10:46:49 -06:00
EmbeddedMan 7f6d8bb163 More WIP on CM command. Also updated comment and optimized some math in simple move functions. 2023-10-30 21:42:21 -05:00
EmbeddedMan 1af51f2352 Replaced bitfields with normal integer defines for all commands so we can expand beyond 8 possible move commands (i.e. CM) 2023-10-27 21:41:13 -05:00
EmbeddedMan c812572a21 WIP: Working on new arc command CM 2023-10-26 21:27:03 -05:00
EmbeddedMan 9bee11ae62 version 3.0.0-a25 : Fixed nasty bug related to not zeroing out new global parameter passing variables between motion calls. Observed problem was that it was always clearing the accumulators on each move when the optional ClearAccs parameter was not provided. 2023-10-17 19:00:52 -05:00
EmbeddedMan a4eb6a95ab Version v3.0.0-a24: New command (QU,200) which prints out current accumulator values as unsigned 32 bit values. 2023-10-16 21:03:59 -05:00
EmbeddedMan 4430da25c2 v3.0.0-a23 : Updated linker script RAM map and moved some variables around for simpler allocation. Bumped max FIFO size back up to 32 elements. Still have 226 unallocated bytes of RAM. 2023-10-05 14:22:52 -05:00
EmbeddedMan 86cf690d7c Removed "last_command" function (up-arrow to repeat last typed command). I don't use it and I expect nobody else does either. 2023-10-05 09:08:28 -05:00
EmbeddedMan 3c34cc4465 Found some remnants of RC command still sticking around. Removed them. 2023-10-05 09:03:44 -05:00
EmbeddedMan e1af71c7c8 Fixed issue with EBB firmware .gitignore that was preventing us from seeing some desired files 2023-10-05 08:29:44 -05:00
EmbeddedMan 7cfd4bb36b v3.0.0-a23 : Massively reduced stack usage. Fixed minor T3 bug from previous commit. Runs python_send_cmd_EBF.py tests properly, with stack at D39 at end. 2023-10-04 22:11:36 -05:00
EmbeddedMan 228ceb2659 WIP: Stack usage reduction complete: All motion commands now use globals rather than parameters to save on stack space. Stack high water printout removed from debug UART pin - only viewable from QU,4 now. 2023-10-04 20:55:25 -05:00
EmbeddedMan 67ec830f52 Merge branch 'feature/stackless_printf' into Issue_212_AnalyzeStackUsage
# Conflicts:
#	EBB_firmware/app.X/dist/EBBv13_with_bootloader/production/app.X.production.hex
#	EBB_firmware/app.X/dist/EBBv13_with_bootloader/production/app.X.production.unified.hex
#	EBB_firmware/app.X/source/UBW.c
#	EBB_firmware/bootloader.X/dist/46J50/production/bootloader.X.production.cof
#	EBB_firmware/bootloader.X/dist/46J50/production/bootloader.X.production.map
2023-10-04 09:53:09 -05:00
EmbeddedMan 3dd40d3a1d v3.0.0-a22 : Removed all printf() calls, replaced with much simpler ebb_print() calls. Significantly reduced stack usage - now only 3E bytes of stack use under non-higher order motion use. (Previously it was over A0 bytes of stack use for the same thing). All output not checked, but that which was checked looks correct. 2023-10-04 03:27:40 -05:00
EmbeddedMan 81ddab8b3f WIP: Removed all printf() calls, replaced with ebb_print*() calls. Not fully filled in yet, but at least it compiles. 2023-10-03 17:38:12 -05:00
EmbeddedMan c5dcab3759 v3.0.0-a21: Forgot to turn on the multi-bank stack command line option for the test 'large stack' version. That is fixed now. 2023-10-01 12:47:24 -05:00
EmbeddedMan e69e3b48aa WIP 2023-10-01 12:42:31 -05:00
EmbeddedMan ee4e1790f3 v3.0.0-a20 : Extra large stack space (from 0xD00 to 0xEBF), max FIFO size reduced to 28. 2023-09-29 16:43:37 -05:00
EmbeddedMan da0c87a872 Merge branch 'feature/EBF_v3.0.0' into Issue_212_AnalyzeStackUsage
# Conflicts:
#	EBB_firmware/app.X/source/UBW.c
2023-09-29 16:30:40 -05:00
EmbeddedMan 353714abf4 WIP: Checking in ISR regression test scripts and outputs. 2023-09-28 21:05:37 -05:00
EmbeddedMan a6de11f542 WIP: Working on standardized throughput test 2023-09-24 11:02:48 -05:00
EmbeddedMan e62f2fdb45 v3.0.0-a18 : ES command fixed for v3.0.0. Docs updated. 2023-09-22 14:44:25 -05:00
EmbeddedMan 2c24392ce5 v3.0.0-a17: Added in CU,61 command to control stepper disable timeout 2023-09-22 08:49:33 -05:00
EmbeddedMan 53023e0d36 v3.0.0-a16 (bumped version number so it is sequential). This version has FIFO size change protection and new CU,54 checksum feature. 2023-09-21 17:43:00 -05:00
EmbeddedMan 79ec9583aa Merge branch 'feature/EBF_v3.0.0' into feature/Issue_191_CommandChecksum
# Conflicts:
#	EBB_firmware/app.X/dist/EBBv13_with_bootloader/production/app.X.production.hex
#	EBB_firmware/app.X/dist/EBBv13_with_bootloader/production/app.X.production.unified.hex
#	EBB_firmware/app.X/source/UBW.c
2023-09-21 17:40:46 -05:00
EmbeddedMan 1891d486f2 v3.0.0-a15 : Fixed bug with changing FIFO depth during a motion command. Also added CU,255,1 for command debug printing (separated it out from CU,253,1) 2023-09-21 11:47:17 -05:00
EmbeddedMan 35e08064a9 WIP: Removed debug output for checksum command, started checksum documentation. 2023-09-20 21:18:40 -05:00
EmbeddedMan b4d9937d60 New command: CU,54,1 turns on checksum requirement. Checksum checking is working. Extra debug output still present. 2023-09-20 00:05:21 -05:00
EmbeddedMan 3bc0ef7c46 Forgot to check in the updated source code with the -a12 version string. 2023-09-18 19:24:44 -05:00