1
0
mirror of https://github.com/rene-dev/stmbl.git synced 2025-01-01 13:32:10 +00:00
Commit Graph

429 Commits

Author SHA1 Message Date
Rene Hopf
b649756b1b sserial pos_cmd_d fix 2016-05-17 19:03:13 +02:00
Rene Hopf
f0fb0ae3b5 probe comp 2016-05-16 08:24:09 +02:00
Rene Hopf
de22dfea6e smart serial notes 2016-05-11 02:09:22 +02:00
Rene Hopf
19d93cdc64 fix smartserial 2016-05-08 13:05:12 +02:00
Rene Hopf
7ae268d97c vel_ff fix 2016-05-07 10:22:37 +02:00
Rene Hopf
beafbfc676 list pins of hal comp 2016-05-07 10:21:38 +02:00
crinq
f058e2d618 vel ff fix 2016-05-04 13:04:44 +02:00
crinq
fec2056778 observer vel ff 2016-05-04 12:59:46 +02:00
crinq
cdecb35945 hyper fix 2016-05-04 12:59:27 +02:00
Rene Hopf
62e33aa34f hal namespace, typedefs 2016-04-30 20:13:50 +02:00
Rene Hopf
11c93babb2 disable waves 2016-04-30 18:52:30 +02:00
Rene Hopf
187968db91 sanyo denki protocol comments 2016-04-28 01:41:38 +02:00
crinq
8db1cfc46d siemens 1fk6 conf 2016-04-23 15:19:44 +02:00
crinq
aece405973 sim += const vel/acc 2016-04-23 05:36:59 +02:00
Rene Hopf
b43eb3a04d comp -> hal_comp 2016-02-22 00:10:32 +01:00
Rene Hopf
3d155d2e59 encs cleanup 2016-02-18 18:14:05 +01:00
Rene Hopf
1c3cd4f23b txen via dma 2016-02-18 17:58:17 +01:00
Rene Hopf
a3f9d1d146 fix sanyo af mapping 2016-02-18 17:39:23 +01:00
crinq
9c0cb73b72 fix: obvserver phase lag 2016-02-01 01:08:42 +01:00
crinq
a4eb6a8378 igbt drop compensation 2016-02-01 01:07:13 +01:00
Rene Hopf
ca0ca24618 sim default amp 2016-01-26 07:12:15 +01:00
Nicolas Reinecke
001cd6bd43 place stm32 usb lib, remove cocox lib, add init code 2016-01-24 18:48:21 +01:00
Nicolas Reinecke
1968af8ae0 replace custom printf_ with buildin printf, fix printf format strings 2016-01-22 10:45:11 +01:00
Nicolas Reinecke
7231958893 use hw crc 2016-01-06 11:36:29 +01:00
Nicolas Reinecke
60c453bb6c Revert "switch to stm32 hw crc unit for code checksum"
stm32 crc unit works different. No idea why it worked while testing this.
Python crc code needs work to make this work.

This reverts commit 8feed27593.
2016-01-05 17:19:20 +01:00
Nicolas Reinecke
8feed27593 switch to stm32 hw crc unit for code checksum 2016-01-03 17:39:41 +01:00
Nicolas Reinecke
0add245f75 fix eeprom emulation - use defines 2016-01-02 22:12:24 +01:00
Rene Hopf
498d2a77b8 new makefiles 2015-12-30 08:14:51 +01:00
Rene Hopf
46d662b9f2 error out 2015-12-28 15:46:55 +01:00
Rene Hopf
cf1b688290 cpu id 2015-12-26 20:09:58 +01:00
crinq
b73242114e Merge branch 'master' of github.com:rene-dev/stmbl 2015-12-08 03:16:16 +01:00
Rene Hopf
87e78ae8c6 Merge branch 'bootloader'
* bootloader:
  boot loader checks crc
  cry script, 16 and 32 bit cry
  moved shared stuff to shared, sections in linker script
  linker script
  f1 firmware in f4
  f1 sv2 output
  step/dir idea from stackoverflow
  f1 operate adc in spec
  f1 interrupt priority
2015-12-03 11:34:38 +01:00
Rene Hopf
4f320baec8 boot loader checks crc 2015-12-03 11:24:30 +01:00
Rene Hopf
caec4d6593 only show hal error when state changes 2015-12-03 06:46:57 +01:00
Rene Hopf
6e4477d086 cry script, 16 and 32 bit cry 2015-12-02 02:34:17 +01:00
Rene Hopf
27c0ad84fc f1 firmware in f4 2015-11-30 22:39:58 +01:00
Rene Hopf
f9d6362a80 step/dir idea from stackoverflow 2015-11-30 19:08:56 +01:00
crinq
b44b70b593 Merge branch 'master' of github.com:rene-dev/stmbl 2015-11-29 15:48:24 +01:00
crinq
5296075db5 dc_cur_sim lowpass 2015-11-29 15:48:18 +01:00
Rene Hopf
5843780f08 timer fix 2015-11-28 09:13:44 +01:00
Rene Hopf
6b37cb113e enc,res,encm deinit 2015-11-28 08:41:51 +01:00
Rene Hopf
067db1594c enable gpis and dma clocks in setup 2015-11-28 07:32:55 +01:00
Rene Hopf
fca884b821 brake,fan,led -> io.comp 2015-11-28 07:15:10 +01:00
Rene Hopf
a5a9cdde79 comp cleanup 2015-11-28 06:55:38 +01:00
crinq
7bbd968cf5 Merge branch 'bootloader' of github.com:rene-dev/stmbl into bootloader 2015-11-27 20:34:37 +01:00
crinq
850f31bab3 term flash fix, + edge macros, encm error fix 2015-11-27 20:34:29 +01:00
Rene Hopf
ccbbf16fae boot loader version info 2015-11-27 20:16:55 +01:00
Rene Hopf
0c6b0b10cc display HSE 2015-11-27 14:32:26 +01:00
Rene Hopf
3d9340f5e8 comp update to new init func 2015-11-27 14:11:40 +01:00
Rene Hopf
a12dbd6d07 hal help + cons, save, load 2015-11-26 23:46:30 +01:00
Rene Hopf
89ea986475 + save/load, + update cmd/fb, link cleanup, main cleanup 2015-11-26 22:41:06 +01:00
Rene Hopf
7123c978ba eeprom emulation working 2015-11-26 17:55:02 +01:00
crinq
3625a8dc19 - term ? 2015-11-26 01:52:21 +01:00
crinq
c3538519bb + hal help 2015-11-26 01:37:41 +01:00
crinq
7ff680e61d hal cleanup, + stop unused frt thread, + term hal error, + calc_time/period, better hal_info 2015-11-26 01:14:56 +01:00
Rene Hopf
101cbcc19b replaced read_float with strtof 2015-11-25 10:45:04 +01:00
crinq
dd779afe4b printf fix 2015-11-25 03:07:57 +01:00
Rene Hopf
d2cc8da84b newlib printf + sysinfo 2015-11-25 02:46:08 +01:00
Rene Hopf
52a6576778 Merge branch 'bootloader' of github.com:rene-dev/stmbl into bootloader
# By crinq
# Via crinq
* 'bootloader' of github.com:rene-dev/stmbl:
  + hal prio, +printf pointer
  sim fix
  +branch info, +hal errors, hal fix

Conflicts:
	src/comps/term.comp
2015-11-25 02:40:52 +01:00
Rene Hopf
58c42f8032 newly syscalls 2015-11-25 02:37:52 +01:00
crinq
84275dd137 + hal prio, +printf pointer 2015-11-25 02:18:50 +01:00
crinq
81e4c3fe75 sim fix 2015-11-24 21:04:20 +01:00
crinq
7d829b5bb5 +branch info, +hal errors, hal fix 2015-11-24 21:03:34 +01:00
Rene Hopf
a8f794791c con pin 2015-11-24 17:04:34 +01:00
Rene Hopf
628bce8069 hal errors 2015-11-24 17:04:15 +01:00
Rene Hopf
688b6b086e add version info 2015-11-24 12:28:25 +01:00
Rene Hopf
3afb29007e enable frt only when frt functions are present, add -O1, typos 2015-11-23 14:19:10 +01:00
Rene Hopf
0ba092a65b moved resolver reference setup from setup to res comp 2015-11-23 13:59:00 +01:00
Rene Hopf
f38a220746 yaskawa 2015-11-23 12:57:18 +01:00
Rene Hopf
b1f8503dc2 yaskawa 2015-11-23 10:39:59 +01:00
Rene Hopf
83c228113b comments 2015-11-23 10:24:43 +01:00
Rene Hopf
78529e5f82 pos offset and length 2015-11-21 21:33:54 +01:00
Rene Hopf
af334adf56 yskawa fix 2015-11-20 23:56:47 +01:00
Rene Hopf
e81595c283 yaskawa tut was 2015-11-20 22:24:17 +01:00
Rene Hopf
173936db0a yaskawa comp 2015-11-17 16:14:10 +01:00
Rene Hopf
df3f39fa98 hyperface status 2015-11-14 09:34:10 +01:00
Rene Hopf
c8eb8be5dd hyper hyper! 2015-11-13 21:54:46 +01:00
Rene Hopf
738629183f power, dc cur sim 2015-11-13 02:17:33 +01:00
Rene Hopf
5cf359d756 sincos 2015-11-13 02:17:05 +01:00
Rene Hopf
9cd189a53a kollmorgen params, sim fix 2015-11-12 23:18:23 +01:00
Rene Hopf
b265c5a2e2 berger lahr fix, our rev fix, hv rename 2015-11-12 22:30:55 +01:00
Rene Hopf
599b0e06a2 sincos quadrant 2015-11-12 12:37:03 +01:00
crinq
96ee4559a3 siemens fix 2015-11-11 22:20:57 +01:00
Rene Hopf
61f8078684 multipole resolver support 2015-11-11 14:48:06 +01:00
Rene Hopf
7ccf6d4f31 angular PD 2015-11-09 23:36:22 +01:00
Rene Hopf
9454fcadfd lower dma tx priority 2015-11-09 20:55:24 +01:00
Rene Hopf
edbb06242f fix glitches 2015-11-09 10:26:44 +01:00
Rene Hopf
061552d0e5 reset timeout on every command 2015-11-09 10:20:58 +01:00
Rene Hopf
d7d33c40f3 fast crc 2015-11-09 10:20:38 +01:00
Rene Hopf
b930ae5fab warning 2015-11-09 00:26:05 +01:00
Rene Hopf
3ad38c9378 check crc 2015-11-09 00:07:02 +01:00
Rene Hopf
9a8508045c padding fix 2015-11-08 17:55:38 +01:00
Ian McMahon
fae063e544 autopadding 2015-11-08 06:24:58 -05:00
Ian McMahon
9229c4b6ca removing no longer correct comments 2015-11-08 06:03:52 -05:00
Ian McMahon
8596094fc0 removing redundant memory clear 2015-11-08 06:00:19 -05:00
Ian McMahon
5493066b0c nonaligned negative signed numbers work 2015-11-08 03:31:51 -05:00
Ian McMahon
92123e70c4 signed fixup in process data rpc bit unpacking 2015-11-08 02:16:30 -05:00
Ian McMahon
da77bdfbae scaling working correctly for byte aligned pds 2015-11-08 01:42:22 -05:00
Ian McMahon
72309f9138 signed and unsigned output scaling is working 2015-11-07 21:23:46 -05:00
Ian McMahon
0b2a57fceb still testing signed 2015-11-07 18:08:27 -05:00
Rene Hopf
879fa8efb1 clear men, scaling 2015-11-07 22:19:55 +01:00
Ian McMahon
9feedcde1d fixed the input bug; scaling and bitpacking were correct, it was a failure to properly clear txbuf before writing into it 2015-11-07 16:19:29 -05:00
Rene Hopf
e50fea03b9 pos_cmd out working 2015-11-07 20:27:27 +01:00
Rene Hopf
ceeeaacbd3 float fix 2015-11-07 18:23:49 +01:00
Rene Hopf
fffa88ed2a Merge pull request #17 from ianmcmahon/new_sserial
New sserial
2015-11-07 14:23:18 +01:00
Ian McMahon
35a113df51 output from host to remote is all working correctly now, bit packing and scaling. input from remote to host is broken somewhere, 0.0 fb_vel is being sent over the wire as 0xA30 for some reason. Could be a bitpacking bug or a memory access bug or god knows what. 2015-11-07 06:08:14 -05:00
Ian McMahon
06687a8985 input bitpacking working, output scaling working, input scaling hung up on weird float behavior) 2015-11-07 05:28:39 -05:00
Ian McMahon
0bd01bf874 ported input packing over, and wrote output scaling 2015-11-07 03:38:12 -05:00
Rene Hopf
7d1a216ba1 Merge pull request #16 from Netzpfuscher/motsim
Motsim
2015-11-06 10:31:02 +01:00
Ian McMahon
2fa3a8ff0c sending vals from linuxcnc to stmbl works (no scaling yet) 2015-11-06 04:00:13 -05:00
Ian McMahon
4d9f5df3ad fixed some miscellany that was keeping it from building 2015-11-06 03:48:18 -05:00
Ian McMahon
81a319393c merged 2015-11-06 03:32:05 -05:00
Ian McMahon
ce88818a20 data unpacking working 2015-11-06 03:29:55 -05:00
Ian McMahon
f3502d6fe3 fixed issues in the dump routines 2015-11-06 03:05:20 -05:00
Ian McMahon
0cef393cd8 incorporated unpacking 2015-11-06 02:54:25 -05:00
Rene Hopf
ef9b0b0bfd debug out 2015-11-06 08:02:05 +01:00
Ian McMahon
69189bebd3 adding memtemp 2015-11-06 01:41:17 -05:00
Netzpfuscher
48849610f3 Merge remote-tracking branch 'upstream/motsim' into motsim
Merged upstream
2015-11-06 07:25:38 +01:00
Netzpfuscher
35ef12a1dd Removed magic numbers 2015-11-06 07:25:20 +01:00
Ian McMahon
61709d6154 ported over the new memory building code 2015-11-06 01:08:42 -05:00
Ian McMahon
bdb050a2d9 minor changes, about to get terribly refactored for the new memory creation scheme 2015-11-06 00:29:02 -05:00
Rene Hopf
5aa4ea90fd Merge branch 'motsim' of https://github.com/Netzpfuscher/stmbl into Netzpfuscher-motsim
Conflicts:
	src/main.c
2015-11-05 23:34:49 +01:00
Rene Hopf
1e81f9a287 float fix 2015-11-05 23:24:46 +01:00
Rene Hopf
386c83712c sserial min max type fix 2015-11-05 21:03:57 +01:00
Rene Hopf
0ac7c12819 sserial timeout 2015-11-05 17:53:33 +01:00
Rene Hopf
5083a859b5 sserial 2015-11-05 17:21:33 +01:00
Ian McMahon
e9e5661c71 removed datasize array 2015-11-05 01:28:05 -05:00
Ian McMahon
02c7a83a07 fixed the send bug, it was the datasize array missing 2015-11-05 01:17:04 -05:00
Ian McMahon
17e097ad2b runs, ptoc/gtoc aren't being read properly. Added dump_ptoc and dump_gtoc pins which work in term 2015-11-05 00:35:16 -05:00
Ian McMahon
10d7075876 added the rest of the toc building code and string funcs 2015-11-04 18:55:52 -05:00
Rene Hopf
117fec6e94 fixed pd rpc and strings 2015-11-04 23:32:05 +01:00
Ian McMahon
de3f8ce1cc merged add_pd 2015-11-04 23:30:21 +01:00
Ian McMahon
b40d535d36 added back in TOC building code 2015-11-04 14:14:45 -05:00
Rene Hopf
1bf887d18b fix txbuf 2015-11-04 19:55:42 +01:00
Ian McMahon
1430fb0666 merging ians sserial changes 2015-11-04 19:49:21 +01:00
Rene Hopf
e6120d4c66 cmd rx lockout 2015-11-04 19:39:34 +01:00
Rene Hopf
4cb81b52d3 frt thread 2015-11-02 20:01:36 +01:00
Rene Hopf
a6389d7e52 serial 2015-11-02 16:39:42 +01:00
Rene Hopf
dd024ba477 cmd tx lockout 2015-11-02 16:02:43 +01:00
Rene Hopf
8f3860a45f sserial 2015-10-29 01:20:46 +01:00
Netzpfuscher
dfeb012a14 term reset button/fault text 2015-10-28 17:21:42 +01:00
Rene Hopf
b3f6c25457 Merge branch 'motsim' of github.com:rene-dev/stmbl into motsim
# By crinq
# Via crinq
* 'motsim' of github.com:rene-dev/stmbl:
  vel en fix, cauto fix
  f1 rcc
2015-10-22 22:24:57 +02:00
Rene Hopf
228b0e5b42 sserial 2015-10-22 22:24:45 +02:00
crinq
bdface0fa2 Merge branch 'motsim' of github.com:rene-dev/stmbl into motsim 2015-10-21 20:09:47 +02:00
crinq
be38d248eb vel en fix, cauto fix 2015-10-21 20:09:39 +02:00
crinq
11f9f4965e f1 rcc 2015-10-21 20:05:23 +02:00
Rene Hopf
51c76d12df sserial 2015-10-20 19:22:33 +02:00
Rene Hopf
884aa8bf14 sserial 2015-10-19 23:55:04 +02:00
Rene Hopf
b8b13bcb13 sserial 2015-10-19 21:48:25 +02:00
Rene Hopf
48c3a54822 sserial 2015-10-19 19:27:15 +02:00