Commit Graph

29 Commits

Author SHA1 Message Date
c33ad367f3 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
f0f8e4e6e6 implemented BF mode switching 2025-11-14 00:18:15 +03:00
196c872093 implemented atomary writing to the output files (by creating tmp file and renaming it). 2025-11-13 22:47:40 +03:00
32cbb041b8 implemented configuring at startup via cfg file. Implemented RUN_FINITE, RUN_INFINITE, RUN_TEST modes. 2025-11-13 21:36:49 +03:00
aff8a37a74 compiles 2025-11-13 21:00:42 +03:00
6c47f30990 cleaned more unused code (by codex) 2025-11-13 19:31:56 +03:00
dda7ed6db8 moved libs to the lib directory 2025-11-13 18:40:06 +03:00
fc3fdb92ee deleted unused funcs and commented outdated code 2025-11-13 18:20:19 +03:00
04015fb4cb manually merged with ARM version 2025-11-13 17:43:55 +03:00
c1396542ab 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
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
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
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