Commit Graph

34 Commits

Author SHA1 Message Date
awe
391eb0ef85 pipe 2025-11-27 18:23:38 +03:00
d979f45179 implemented cleanup of streams every 10 run. Now it works stable and fast. Next step -- adjust runs_since_streams_clean max value 2025-11-14 02:03:37 +03:00
a726babc1c implemented BF mode switching 2025-11-14 00:18:15 +03:00
bec5e29e2c implemented atomary writing to the output files (by creating tmp file and renaming it). 2025-11-13 22:47:40 +03:00
87954d40d9 now path to data storage is configurable by .cmd file 2025-11-13 22:30:17 +03:00
e2eac4dd48 implemented configuring at startup via cfg file. Implemented RUN_FINITE, RUN_INFINITE, RUN_TEST modes. 2025-11-13 21:36:49 +03:00
850a66e620 compiles 2025-11-13 21:00:42 +03:00
d1bd233399 removed old unacessible code from the end. Implemented main_state struct, filling it from the CLI arg file. Also implemented FINITE_RUNS mode. 2025-11-13 20:55:53 +03:00
b7eae9d469 cleaned more unused code (by codex) 2025-11-13 19:31:56 +03:00
a44043593c deleted unused funcs and commented outdated code 2025-11-13 18:20:19 +03:00
b7ba42765b manually merged with ARM version 2025-11-13 17:43:55 +03:00
bf25bed9aa just save 2025-10-30 19:57:30 +03:00
fcde0a3d2b fixed error in chans setup (in f_ch_setup was adc_range value instead of channel mode). This error was breaking ADC setup process => ADC clock was internal, instead of SYN2_RISE 2025-10-16 18:49:40 +03:00
5a817dc910 implemented marking of desired events in logfile by void insert_marker_to_file(char* logfilename, char* marker_text). Also implemented marker correct displaying on plots 2025-10-14 19:22:58 +03:00
291c0af714 save main.c 2025-10-09 17:24:22 +03:00
c0bc702c24 added streams stop-start after changing of th working mode of blackfin software. It is nessesary because of problems with buffers and hdma queue (maybe) 2025-10-02 19:12:50 +03:00
fdcce2ca58 changed logfilname. Now logs appears in 2025-10-02 17:22:57 +03:00
4005818a19 fixed data in buffers alignments in SEMITRANSPARENT mode. 2025-10-02 17:20:50 +03:00
2755d0a7ae workflow: setup ADC and BF, run transparent mode, run semitransparent mode, run transparent mode again. every run fetches 1e5 words 2025-10-02 16:28:09 +03:00
60c823a8e2 implemented simple and robust function for receiving data and dumping it to the file: receive_to_file. Old function was somehow broken. 2025-10-02 16:01:32 +03:00
317a4afc60 implemented: ADC setups and channels are dumped to the logfile 2025-10-02 13:46:51 +03:00
60a5c90c88 implemented -- it runs C program and passes log filename to the plotter 2025-10-02 13:36:35 +03:00
26841ba30e data receive and all streams fails 2025-09-16 19:52:23 +03:00
dc6e7be012 added time measurement of HDMA receive 2025-09-16 16:51:54 +03:00
cf8bdd5b5c backup 2025-09-16 13:24:28 +03:00
a1dec94f1f added flushing (function X502_FlushRcv_buff) of receing buffer on PC between changing BlackFin settings via commands. 2025-07-21 19:08:48 +03:00
068b026473 working receiving data and dumping it to file. Also implemented simple python plotter of that data. 2025-07-17 19:09:57 +03:00
16c92aa730 Succesfullky receives ADC data from module 2025-07-02 18:54:01 +03:00
2bf0e01f20 implemented more accurate display of received arrays. Also implemented printing arrays as binary data. Working receive (by command) last piece of SPORT0 data 2025-07-02 15:47:24 +03:00
ebad5bbfc6 successfully executing multiple user commands 2025-06-27 19:17:02 +03:00
675d952752 successfully executing user cmd from file l502_user_process.c 2025-06-27 18:36:41 +03:00
587ba5245c successfully executing user cmd from file l502_user_process.c 2025-06-27 18:25:52 +03:00
c1f3d3262b succesfully loading firmware to BF and executing command L502_BF_CMD_CODE_GET_PARAM (aka f_cmd_get_param), with parameter and receiving data. This BF function was modified to reply hardcoded 44527 at param 87. Other params are working too 2025-06-27 17:53:50 +03:00
84e847ea14 initial commit. Thereis an old software for configuring and reading data from ADC in a RagiPhotonic generator 2025-06-27 15:20:50 +03:00