Commit graph

219 commits

Author SHA1 Message Date
Stephan I. Böttcher
14e914832e write pidfile in most cases 2023-11-23 18:55:41 +01:00
Stephan I. Böttcher
361dce90eb verbosity for file_close() and file_open() fix 2023-11-23 18:47:56 +01:00
Stephan I. Böttcher
21585a1ae3 verbosity for file_close() and file_open() 2023-11-23 18:47:15 +01:00
Stephan I. Böttcher
4321690105 doooooh, fix pidfile in d3d.rc 2023-11-23 18:29:54 +01:00
Stephan I. Böttcher
dff0868d8a doooh 2023-11-23 18:28:23 +01:00
Stephan I. Böttcher
8dc6021b7d add pid_file 2023-11-23 12:11:31 +01:00
Stephan I. Böttcher
1bf29ce11e command version 2023-11-22 23:48:59 +01:00
Stephan I. Böttcher
faae72d243 more «cmd» help 2023-11-22 23:23:50 +01:00
Stephan I. Böttcher
e94349b466 process_cmd: explicit «cmd» help 2023-11-22 20:40:12 +01:00
Stephan I. Böttcher
5034f70af3 use keV for cuts, mV for high/low
also fix D3D channel numbers
2023-11-22 15:18:20 +01:00
Stephan I. Böttcher
5f6f578ff7 fix Version message at startup 2023-11-22 14:36:33 +01:00
Stephan I. Böttcher
8d9a142798 avoid error message for #comments, e.g., the #! line 2023-11-22 13:54:07 +01:00
Stephan I. Böttcher
9b2913bee1 add rc.local startup script 2023-11-21 22:56:27 +01:00
Stephan I. Böttcher
cfb12139e0 Update README.md 2023-11-21 21:53:25 +00:00
Stephan I. Böttcher
97584ee496 numbers: fix index parsing 2023-11-21 21:55:02 +01:00
Stephan I. Böttcher
0425492016 LET fix log gain emission 2023-11-21 21:54:03 +01:00
Stephan I. Böttcher
7898046c26 channel config reimplemented 2023-11-20 23:49:10 +01:00
Stephan I. Böttcher
8ff091ba3c implement command «var», short for «irena var» 2023-11-19 13:29:04 +01:00
Stephan I. Böttcher
3cfcc7ef8d Update README.md 2023-11-19 09:12:27 +00:00
Stephan I. Böttcher
36dbe8dcb7 set_clock sleep with poll_uart every 100ms 2023-11-19 01:15:47 +01:00
Stephan I. Böttcher
c67d1f0455 sendfile drop 2023-11-19 00:46:21 +01:00
Stephan I. Böttcher
e6958c31d0 sendfile fn cmd 2023-11-19 00:24:47 +01:00
Stephan I. Böttcher
8ea5fe76a3 fix set_clock config 2023-11-18 23:12:37 +01:00
Stephan I. Böttcher
bee3380a95 in_prompt 2023-11-18 23:07:03 +01:00
Stephan I. Böttcher
7fc84c0996 call d3dinit.rc after 60 seconds 2023-11-18 22:08:54 +01:00
Stephan I. Böttcher
1384f90765 Merge branch 'main' of codeberg.org:ET-Kiel/d3direna 2023-11-18 21:11:44 +01:00
Stephan I. Böttcher
8e6e181658 make d3d.rc executable 2023-11-18 21:10:28 +01:00
Stephan I. Böttcher
3eb14518de socket force 2023-11-18 21:06:37 +01:00
Stephan I. Böttcher
415d0b7a85 set_clock with /drift 2023-11-18 20:42:08 +01:00
Stephan I. Böttcher
d092fd5058 implement cmd messages 2023-11-18 17:40:41 +01:00
Stephan I. Böttcher
4b62aa2a07 base85: fix _encode, +33 on last byte, s-- on EOS 2023-11-17 12:49:50 +01:00
Stephan I. Böttcher
f351ea59b7 process_base64: accept base85 as well 2023-11-17 11:04:55 +01:00
Stephan I. Böttcher
d2e147350f send_file: replace base64 by base85 2023-11-17 10:26:45 +01:00
Stephan I. Böttcher
b8cbb8a7a0 send_file(): explicitly base64, := 2023-11-16 00:49:09 +01:00
Stephan I. Böttcher
5c6aae5fdb verbosity work 2023-11-15 14:56:45 +01:00
Stephan I. Böttcher
15a8c657f2 acmd socket and mainloop fixes 2023-11-14 23:12:02 +01:00
Stephan I. Böttcher
ce9718a550 impelemt print_asocket() 2023-11-14 22:59:04 +01:00
Stephan I. Böttcher
7f728c698f add maintainance mode 2023-11-14 09:10:49 +01:00
Stephan I. Böttcher
1e247d1c89 send_file: fill buffer tail with 0 and send all 2023-11-14 08:49:02 +01:00
Stephan I. Böttcher
14e5942df7 verbosity tuning 2023-11-14 01:35:49 +01:00
Stephan I. Böttcher
218e90587c fix send_file, do not read beyond the input, whole words 2023-11-14 01:00:37 +01:00
Stephan I. Böttcher
a9abe76f5e irena: fix verbosity 2023-11-14 00:33:24 +01:00
Stephan I. Böttcher
c94ecf149b irena: implement verbosity 2023-11-14 00:31:59 +01:00
Stephan I. Böttcher
481a393167 send_file: base64 2023-11-13 20:54:01 +01:00
Stephan I. Böttcher
1e1059362b send_file: do_cron() after each block, not each word 2023-11-13 11:42:06 +01:00
Stephan I. Böttcher
8b6e497a78 update README TODO, tick of send_file() 2023-11-11 11:25:44 +01:00
Stephan I. Böttcher
3760ef7870 implement send_file()
Send the binary contents of a file into the flash_buffer in the µC,
and execute CR_BUFFER cron commands after each block.  To programm the
FPGA, use (untested)

> irena script/cron/none
> irena alt/stream/off
> cron 15 buffer 0 irena alt/flash
> irena alt/reset
> send_file soirena.rbf
> irena alt/status
2023-11-11 10:37:11 +01:00
Stephan I. Böttcher
c72ef053ef use arm_reset() when available in case of error status 2023-11-10 23:08:58 +01:00
Stephan I. Böttcher
31ed5d8257 numbers: print and parse arrays 2023-11-10 22:28:51 +01:00
Stephan I. Böttcher
3e85e0257c move README, remember not to use the forgejo web UI to create READMEs 2023-11-10 16:57:19 +01:00