Commit graph

  • 475fc9f56f l3: := assignment, mark as -Defined, warn if reassigned Stephan I. Böttcher 2016-09-08 12:05:07 +00:00
  • 09673d946f het_pen: comment fix Stephan I. Böttcher 2016-09-08 12:03:38 +00:00
  • ee9068e825 hetept_calib.py: reduce verbosity Stephan I. Böttcher 2016-09-07 12:28:46 +00:00
  • f04766b8ab l3: adjust and document verbosities Stephan I. Böttcher 2016-09-07 12:28:09 +00:00
  • 73098e2074 heteptana: .tex_l1() .tex_l2() Stephan I. Böttcher 2016-09-07 12:27:22 +00:00
  • 16191dc496 solopath: set_prompt() Stephan I. Böttcher 2016-09-07 12:26:42 +00:00
  • 6bc4892050 L3: use .macro, het_stopping, ... Stephan I. Böttcher 2016-09-06 12:15:38 +00:00
  • 9491732521 step_base_config.py: Write defs for small pixels, too. Jan Christoph Terasa 2016-09-05 13:52:16 +00:00
  • c2640bfc42 l3/step: Updated small pixel calib to new pedestal semantics.# Jan Christoph Terasa 2016-09-05 13:48:26 +00:00
  • 3093c0f2dd l3.py: implement macros .macro NAME code $0, $1, .. $9 .endmacro .call NAME A1 A2 A3 .call NAME "A1", "A2" "A3" with substitution: $0==NAME $1==A1 ... Stephan I. Böttcher 2016-09-01 14:15:27 +00:00
  • 9eae43c5c8 Reverted r5371. Jan Christoph Terasa 2016-09-01 14:00:21 +00:00
  • 9afed40f27 configurations: Added STEP v0002. Jan Christoph Terasa 2016-09-01 13:44:43 +00:00
  • 8eb3c02f4e step_config: Properly handle insertion slots in start seq. Jan Christoph Terasa 2016-09-01 07:17:53 +00:00
  • 886f9487ab step_config: Fixed pnom and psmall (pulser with SCI) index entries. Jan Christoph Terasa 2016-08-31 11:22:31 +00:00
  • 41671a731e hetept_config: [4] streamtest entry runs l1l2 in test mode Stephan I. Böttcher 2016-08-30 11:01:50 +00:00
  • 9726170994 step_config: SFT index entry waits to accumulate test triggers. Jan Christoph Terasa 2016-08-24 06:56:16 +00:00
  • f0a8c20f1e step_ppss.py: Set ix_conf_modulus to modulus_always for now. Change back before flight. Jan Christoph Terasa 2016-08-09 19:03:57 +00:00
  • 5b4e3a6454 step_dps.py: Re-enabled burst and LL data products. Jan Christoph Terasa 2016-08-09 18:04:49 +00:00
  • 3916903b2c step_dps.py: Fixed column projection data product. A better fix needs some rework of xyhist2(). Jan Christoph Terasa 2016-08-09 18:01:25 +00:00
  • 863c6f181e step_ppss: Disable low-speed-streaming mode a few ms earlier, so that it does not interfere with HK telemetries. Jan Christoph Terasa 2016-08-09 16:38:11 +00:00
  • 8e5a4e4e66 step_ppss.py: Added method do_custom() to allow custom configs based on step_ppss. Jan Christoph Terasa 2016-08-08 13:21:58 +00:00
  • f75a500581 het_pen: add het_abba_min cut Stephan I. Böttcher 2016-08-01 17:01:47 +00:00
  • 3b7ab96233 hex2bin.py: moved from python/cdpu to gse/itf_parser Stephan I. Böttcher 2016-07-31 11:11:20 +00:00
  • 2879fa021a solopackets: moved to gse/itf_parser TODO: move gse/itf_parser to python/itf_parser to have all scripts in one subdir. Stephan I. Böttcher 2016-07-31 10:22:48 +00:00
  • 11c8e5a664 solopackets: various improvements Stephan I. Böttcher 2016-07-30 21:20:08 +00:00
  • 73901234ab configtable.read_burnlog_table() Stephan I. Böttcher 2016-07-29 15:57:41 +00:00
  • e36ff89144 l3.py: simplified lexer.quoted() hetept_calib.py: retain hetept_calib as _calib Sebastian Boden 2016-07-29 12:15:33 +00:00
  • 8086155cc7 hetept_l3_config.py: removed, no longer needed hetept_config.l3: no longer needs to be python-compatible Sebastian Boden 2016-07-28 16:41:30 +00:00
  • ce2da40b52 l3.py: fixed some typos and the lexer.quoted() function hetept_calib.py: added a class to hold all names as variables... hetept_dps.py: ... so that they can be loaded here Sebastian Boden 2016-07-28 15:24:19 +00:00
  • 582ad0d043 hetept_sim: .compile L3 source directly Stephan I. Böttcher 2016-07-27 20:22:10 +00:00
  • 1a8f5bf64c hetept_l1l2: load hetept_config Stephan I. Böttcher 2016-07-27 19:57:11 +00:00
  • 1577980a0b hetept_config: compile l3 code directly Stephan I. Böttcher 2016-07-27 19:56:36 +00:00
  • d3fc40e4b9 hetept_calib: add path to l3 as set by solopath Stephan I. Böttcher 2016-07-27 19:52:26 +00:00
  • 87a49b963d l3.py: add l3().path both filenames on teh commandline and .include files are searched in .path. option -Ipath -q resets verbosity to 0 .compile() returns self Stephan I. Böttcher 2016-07-27 19:50:54 +00:00
  • 5674ad9065 hetept_calib: load l3 calib values files into a python object Stephan I. Böttcher 2016-07-27 17:43:19 +00:00
  • aba9a3635c l3.py: do not accumulate repeated -v option parsing Stephan I. Böttcher 2016-07-27 17:42:15 +00:00
  • 048bf36e0b solopath: workaround for ipython bug when starting .../solopath.py Stephan I. Böttcher 2016-07-27 17:41:11 +00:00
  • bc16970828 l3.py: is now a 2-pass assembler Currently, the old one-pass mode is still default. Use option -2 for 2-pass mode. Use option -1 for 1-pass mode, when the default changed. New option -F for the name of the forwardfile if given, the name in the code is ignored with a warning. In 2-pass mode, no forwardfile is read, nor written. The compiler issues the second pass only when there are forwardconflicts. In 1-pass mode, the forwardfile is written only when there are forwardconflicts. All file output, except for the log, is now written at the end of the last pass. Default output format is "none", i.e., no output will be generated. Optiuon -g accepts an optional format string -g 'hex,printf-format-string' -g 'dis,l3dis-format-string' -g hex requires a printf format for (addr,instr) "@%03x %08x\n" -g dis requires an l3dis format string. "@%(addr)-3d %(cond)-3s %(mnem)-5s %(args)s\n" -g verilog is the same as -g hex, with a different default format " l3_code(10'h %03x, 32'h %08x);\n" -g python is again the same as hex, but with an additinal file header. " l3_code(0x%03x, 0x%08x)\n" Stephan I. Böttcher 2016-07-27 16:08:02 +00:00
  • fb1d25c12d l3.py: class lexer(str) Stephan I. Böttcher 2016-07-27 13:49:53 +00:00
  • e9c2d34717 l3.py: l3 is now loadable as a module class l3 class include_stack TODO: output into self.l3code[] TODO: class expression_parser_context self.EC = expression_parser_context(self.names) s,v = self.EC.parse_EXPR(s) TODO? class lexer those s become lexer instances Stephan I. Böttcher 2016-07-26 10:52:47 +00:00
  • f626c39927 update_fm1_v1_v2: execute the update index Stephan I. Böttcher 2016-07-23 08:06:44 +00:00
  • b91222a8cb icu.py: a new icu simulator It has a congiguration memory. It can connect to units. It can execute service (128,10?) telecommands. It successfully runs the FM1 v0001->v0002 patch procedure. It has not been tested with real units, yet. See update_fm1_v1_v2.py for how it works! Stephan I. Böttcher 2016-07-21 14:24:41 +00:00
  • 68586e5167 hetept1/v0002 files Stephan I. Böttcher 2016-07-20 23:33:45 +00:00
  • 419b3893fa hetept1/v0002 Stephan I. Böttcher 2016-07-20 23:32:02 +00:00
  • ac26505ba7 hetept_config: version 2 export patch upload tcs for v0001 table Stephan I. Böttcher 2016-07-20 23:23:37 +00:00
  • 35002d334c configtable: implement .upload_index_patch() add .copy() to configtable; and itemplacement add configtable.split() allow configtable.patch_map() to split a message_index add configtable.upload_index() to return a list of message_index which write the table into EEPROM all this makes no sense, because a table never needs to be patched to write itself :-) TODO: read a .txt into a table and go from there. Stephan I. Böttcher 2016-07-20 22:37:42 +00:00
  • 536d8e1cca configtable.py: Only apply delay and flags to the first message block, when truncating message_blocks into multiple ones due to size limit. Jan Christoph Terasa 2016-07-20 19:20:09 +00:00
  • dd7fde17e8 step.l3: Changed semantics of ix?_px??_ped, to be the pedestal in ADC counts, not in eV. Jan Christoph Terasa 2016-07-20 16:42:36 +00:00
  • 60dc8798a0 step_base_config.py: Added .txt output to main() Jan Christoph Terasa 2016-07-20 15:37:24 +00:00
  • a2d7917411 configtable.py: Made message_index maxsize an ctor argument (currently defaults to 256). Jan Christoph Terasa 2016-07-20 15:10:46 +00:00
  • 651c2a27be configtable.py: Added limit on message_block size (maxsize=256) when adding blocks to message_indices, as per request from ICU/Alberto. Jan Christoph Terasa 2016-07-20 12:57:42 +00:00
  • 5b829008c6 configtable.py: Allow slice indexing on configtable objects. Jan Christoph Terasa 2016-07-20 11:23:38 +00:00
  • b6d4a06269 l3/Makefile: added targets hetept_l3[cv], step_l3[cv], l3[cv]_all Sebastian Boden 2016-07-19 12:19:18 +00:00
  • 0d0296411e step.l3: Removed workaround due to r5298. Jan Christoph Terasa 2016-07-19 12:06:42 +00:00
  • aa0f99226a l3/Makefile: allow to make variants without model, i.e. step_small_l3.py Sebastian Boden 2016-07-19 10:09:03 +00:00
  • 631f9345b0 l3.py: implement class token() lex() returns a token() object now. That makes for a lot more readable code. Stephan I. Böttcher 2016-07-18 21:50:33 +00:00
  • 1a10d0acc5 l3.py l3.tex: disallow ',' as separator for ADDI, ADD, SUB, HIST. allow only matching operator with ADD and SUB fix unary operators, allow unary + documentation fixes Stephan I. Böttcher 2016-07-18 20:19:48 +00:00
  • 28abfb046d l3/Makefile: added *_*.l3c and *_*.l3v to the MODVAR section Sebastian Boden 2016-07-18 18:00:32 +00:00
  • e9a0231192 l3.py: message formatting enhancements catch all exceptions filename and linennumber added in except clause also print input line -h usage() Stephan I. Böttcher 2016-07-18 14:44:17 +00:00
  • 62dc6062e4 l3.py: Register() rework addr is a Register Register is explicitly immutable Register throws fewer explicit exceptions str(R) = 'R[a]' repr(R) = 'Register(a)' VEXPR only accepts (int,long) MULI R[] * MEXPR >> AEXPR fix BUG in RRNG{n} (single bits) Stephan I. Böttcher 2016-07-18 11:19:09 +00:00
  • ce74a93b7f txt2eeprom: parse config table dump info a configtable object Stephan I. Böttcher 2016-07-17 16:00:53 +00:00
  • 796afb8db0 l3.py: Changed the order of operations to the C standard for the expression parsers: EEXPR: [!] [-] [ (EXPR) | R[EXPR] | ID | $FUNC(EXPR) | int | float ] MEXPR: EEXPR [ { * | / } EEXPR ] AEXPR: MEXPR [ { + | - } MEXPR ] EXPR: AEXPR [ { << | >> } AEXPR ] Also fixed MULI so it accepts: MULI R[x] * AEXPR MULI R[x] * AEXPR >> AEXPR In the second case both values have to be integers in the correct ranges. ep.l3: Changed the one instance in all our l3 files, where the above change caused a problem Sebastian Boden 2016-07-15 16:21:53 +00:00
  • 45bf35c581 het_calib: update EM1 calib, use xrays where available Stephan I. Böttcher 2016-07-15 09:21:38 +00:00
  • cf57a63dd4 solopath: make executable for module tests Stephan I. Böttcher 2016-07-15 09:18:17 +00:00
  • 480469cab7 l3.py: fixed a bug in MULI / parse_SEXPR(), where instructions like: MULI R[.-1] * 5 >> 5 i.e. where the factor is below 1, would result in a multipier of 0, if shift value was explicitly given. l3dis.py: changed output for GOTO to GOTO R[x] Sebastian Boden 2016-07-14 15:56:15 +00:00
  • 3d9eab3537 l3.py: implemented a Register class, which holds Register addresses. This allows the parser to distinguish between Registers and values and thus detect errors. Register objects are constructed by: R[x], where x can be an ID, expression or Register ID = [COND] INSTR . Register +- i, where i is an integer In effect everything should work as before, only the PHA and GOTO addresses need to be defined like: HIT_0 = R[0xe0] or GOTO R[0x002] step.l3, step_pha.l3, het_pen.l3, hetept_pha.l3: made the (few) necessary changes as above; The *_l3.py files are identical to before. Sebastian Boden 2016-07-14 12:51:50 +00:00
  • b5d56ee938 configurations: add CRC to config summary lines Stephan I. Böttcher 2016-07-13 11:35:43 +00:00
  • 55f5efa891 step_config.py: fixed a small bug I noticed in the main function Sebastian Boden 2016-07-13 09:48:47 +00:00
  • 713103c184 step_config: Restructured to use one file per config. step_config.py imports all files and can be used as before. Jan Christoph Terasa 2016-07-13 07:39:58 +00:00
  • f5ca050881 step_ppss.py: Moved deadtime reset to an earlier point in time, after sending of HK. Jan Christoph Terasa 2016-07-13 07:38:33 +00:00
  • dfa18b207d hetept_config.py: updated the generic config (not sure if we still need this) Sebastian Boden 2016-07-12 12:11:12 +00:00
  • 9f5a47f99b solorc-hetept.py: changed StartNominal() make_hetept_files.sh: updated Sebastian Boden 2016-07-12 11:00:09 +00:00
  • dd2998db28 configurations.txt: STEP -> STEP-FM Jan Christoph Terasa 2016-07-12 08:24:45 +00:00
  • d519fde2e3 ept.l3: fixed a bug, where a CMP was comparing a register with a constant; also adapted PQM ifdef and moved calibration scaling to here from ept_calib.l3 ept_calib.l3: calibration should now be in keV/A, used new $LOG function to clean up the file hetept_config.l3: added ept_pha tags Sebastian Boden 2016-07-11 16:23:32 +00:00
  • b8587d04b6 step_dps.py: Added section printout. Jan Christoph Terasa 2016-07-11 12:17:04 +00:00
  • b5edf147fe step_dps.py: Fixed a bug in xyhist2, and added printing of resulting data product binnings. Jan Christoph Terasa 2016-07-11 09:16:31 +00:00
  • d8c21bbf2e step_dps.py: Added new 2d hist function with option for non-uniform xbins. Jan Christoph Terasa 2016-07-10 22:29:40 +00:00
  • 5b2f892af9 het_stopping_fwd.l3, het_calib.l3, hetept_config.l3: checking in the het stopping trigger from Jan Tammen that we tested at Himac hetept_config_stopping.py, hetept_config_himac.py: configuration files used at Himac (now updated to work with new hetept_config API) hetept_dps.py: added dataproducts for reading science data at Himac rshgse 2016-07-08 16:16:28 +00:00
  • 71777990e0 hetept_config_em2: fixed keV import to occur defore it's used rshgse 2016-07-08 16:11:59 +00:00
  • 1aaa246961 configurations: Added STEP-FM v0001 config. Jan Christoph Terasa 2016-07-07 15:36:04 +00:00
  • 19667b905d step_config: Added version number to magic. Jan Christoph Terasa 2016-07-07 13:47:41 +00:00
  • 0594bd7d69 step_base_config.py: Added workaround for not having a single ppss_instance in the config, when dealing with insertion slots. Jan Christoph Terasa 2016-07-07 12:15:02 +00:00
  • 7d545ad731 new script itf2eeprom.py: extract eeprom image from itf Stephan I. Böttcher 2016-07-06 17:51:23 +00:00
  • 5cc0ea91e0 configurations database: hetept version 1 bugfix. A bug in dps_product.data_size() resulted in random results. Comparissons between ModulsValue instances were random. This fix happend before the config was uploaded to the unit EEPROM. No version bump required. Stephan I. Böttcher 2016-07-05 20:26:54 +00:00
  • 29100a6a63 het_calib: more EM1 from run 2016-07-01-em1v10-lss-2 Stephan I. Böttcher 2016-07-05 20:16:10 +00:00
  • ccd8e37990 solomsg: add ModulusValue.__cmp__(), fixes randomnes bug in dps_product.data_size() Stephan I. Böttcher 2016-07-05 20:13:31 +00:00
  • fe76297c9f configurations database: add master index file Stephan I. Böttcher 2016-07-04 19:09:33 +00:00
  • f520f65e96 configurations database: create the directory tree Stephan I. Böttcher 2016-07-04 18:41:00 +00:00
  • eb312e1eb7 het_calib.l3: some measured EM1 points, to be continued. Stephan I. Böttcher 2016-07-04 16:19:16 +00:00
  • 30f94e8985 hetept_config: bump config magic version to 1 This marks the snapshot intended for EPD FM integration testing. Stephan I. Böttcher 2016-07-04 16:18:18 +00:00
  • 4d0b2a5928 hetept_config FM1 and FM2: shift hist activities Histogram window checkout raises the primary power consumption by a few mA. This patch shifts the scheduling of these activities to different times for the two flight models, and also the clear activity away from the STEP schedule. Stephan I. Böttcher 2016-07-04 16:15:13 +00:00
  • a871bd76d1 hetept_ppss: move insertion slot i800 to 860ms HET/EPT shall minimise use the SRAM bus simultaneously by multiple ports. i800 is meant for things like EEPROM writes or diagnostic reads. This moves the slot beyond hist clear. Stephan I. Böttcher 2016-07-04 16:08:05 +00:00
  • 44917d1e74 step_config: Added insertion slots. Jan Christoph Terasa 2016-07-04 13:19:09 +00:00
  • 2ff5a40465 hetept_l1l2: fix misguided attempt to properly reset the L1 triggers Stephan I. Böttcher 2016-07-01 18:23:48 +00:00
  • 186eb317e0 hetept_config: new API for passing L3 modules Stephan I. Böttcher 2016-07-01 12:31:13 +00:00
  • c4059c1558 hetept_l1l2: properly reset all triggers before set_default_trigger() Stephan I. Böttcher 2016-07-01 12:30:27 +00:00
  • 166b7edffa step_base_config.py: Refactored to provide a class, which allows easier access to table entries. Jan Christoph Terasa 2016-06-30 17:14:59 +00:00
  • 3ca2efa70c step.l3: Properly define V_SMALL. Jan Christoph Terasa 2016-06-30 14:20:49 +00:00
  • 2ef60b082d l3.py: fix bug with nested .ifs Stephan I. Böttcher 2016-06-30 13:32:35 +00:00
  • bc284a70c4 step.l3: Adopted to new Makefile semantics. Jan Christoph Terasa 2016-06-30 13:12:34 +00:00