d979f45179
implemented cleanup of streams every 10 run. Now it works stable and fast. Next step -- adjust runs_since_streams_clean max value
ChTheo2025-11-14 02:03:37 +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.
ChTheo2025-11-13 20:55:53 +03:00
b7eae9d469
cleaned more unused code (by codex)
ChTheo2025-11-13 19:31:56 +03:00
b80ad585da
moved libs to the lib directory
ChTheo2025-11-13 18:40:06 +03:00
4d1f7fdbe9
added run_cyclic script. It mounts tmpfs in ./tmp, runs BF_companion for some cycles, cleans ./tmp
ChTheo2025-11-13 18:22:38 +03:00
b4abb2eea2
now datalines with less than 1000 points plotted as markers+lines. beacuse they are highly-likely not continous but discrete values used for debug.
ChTheo2025-10-21 19:14:14 +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
ChTheo2025-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
ChTheo2025-10-14 19:22:58 +03:00
8c283cb262
added BF_enums.h and fpga_regs.h to git index
ChTheo2025-10-09 17:26: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)
ChTheo2025-10-02 19:12:50 +03:00
fdcce2ca58
changed logfilname. Now logs appears in
ChTheo2025-10-02 17:22:57 +03:00
4005818a19
fixed data in buffers alignments in SEMITRANSPARENT mode.
ChTheo2025-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
ChTheo2025-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.
ChTheo2025-10-02 16:01:32 +03:00
317a4afc60
implemented: ADC setups and channels are dumped to the logfile
ChTheo2025-10-02 13:46:51 +03:00
60a5c90c88
implemented -- it runs C program and passes log filename to the plotter
ChTheo2025-10-02 13:36:35 +03:00
a1dec94f1f
added flushing (function X502_FlushRcv_buff) of receing buffer on PC between changing BlackFin settings via commands.
ChTheo2025-07-21 19:08:48 +03:00
068b026473
working receiving data and dumping it to file. Also implemented simple python plotter of that data.
ChTheo2025-07-17 19:09:57 +03:00
16c92aa730
Succesfullky receives ADC data from module
ChTheo2025-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
ChTheo2025-07-02 15:47:24 +03:00
ebad5bbfc6
successfully executing multiple user commands
ChTheo2025-06-27 19:17:02 +03:00
675d952752
successfully executing user cmd from file l502_user_process.c
ChTheo2025-06-27 18:36:41 +03:00
587ba5245c
successfully executing user cmd from file l502_user_process.c
ChTheo2025-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
ChTheo2025-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
ChTheo2025-06-27 15:20:50 +03:00