stephan
b1f8eab1ff
flash_CHAOS: bitfiles
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9033 bc5caf13-1734-44f8-af43-603852e9ee25
2024-07-07 20:45:10 +00:00
stephan
e7f9aeddb3
libirena: avoid inf or nan in HC σs
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9032 bc5caf13-1734-44f8-af43-603852e9ee25
2024-07-07 20:44:57 +00:00
stephan
7e45137a6f
avr/chaos/read_adc: properly saturate the residuals
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9031 bc5caf13-1734-44f8-af43-603852e9ee25
2024-07-07 20:43:46 +00:00
stephan
565e1e060c
flash_CHAOS: bitfiles
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9029 bc5caf13-1734-44f8-af43-603852e9ee25
2024-07-07 17:45:32 +00:00
stephan
183064be14
flash_CHAOS: CRON:
...
- reset fifos 0,1 (S==0)
- C use `nm/count`
- 'W' when S==1, 'W' or 'H' when S==5, LED period 8s
- `chaos/adc` with explicit args
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9028 bc5caf13-1734-44f8-af43-603852e9ee25
2024-07-07 17:43:57 +00:00
stephan
c1e143165a
flash_CHAOS: SAFE H=100, do not reenable SD
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9027 bc5caf13-1734-44f8-af43-603852e9ee25
2024-07-07 17:34:35 +00:00
stephan
862387250f
chaos.python: read_adc, eeprom
...
read_adc: fix σ. Add σv.
eeprom: function to read, verify write eeprom via ihex files
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9026 bc5caf13-1734-44f8-af43-603852e9ee25
2024-07-07 17:33:04 +00:00
stephan
0b0f91ed5a
avr/chaos: read_adc optimization
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9025 bc5caf13-1734-44f8-af43-603852e9ee25
2024-07-07 17:30:27 +00:00
stephan
5bc347013f
libirena: pressure: do not expect incomplete packets
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9024 bc5caf13-1734-44f8-af43-603852e9ee25
2024-07-07 17:29:23 +00:00
stephan
ab7daf735d
irenafile: 2nd pressure, chaos HK
...
HK: parse up to 16 type of HK packet
0x4a20: old HK w/o message
0x4a21: HK w/ message
0x4a2c: chaos HV ADC readings
pressure: 2nd sensor, bit 7 in header.
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9023 bc5caf13-1734-44f8-af43-603852e9ee25
2024-07-07 16:41:58 +00:00
stephan
bcffd2cc2a
avr/chaos: fix sense of conf.wdt_toggle
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9020 bc5caf13-1734-44f8-af43-603852e9ee25
2024-07-06 09:26:31 +00:00
stephan
f97ba19e10
avr/chaos: hv_led improvements, spi_busy, …
...
- Do not toggle the HV LED at every command.
- Toggle with 'W' and 'H'.
- Remove `conf.wdt_save_addr`.
- Add `conf.wdt_toggle`, toggle period of the HV LED in ISR.
- 'H' etc turns the LED on, `hv_led_on()`.
- At boot, only do `hv_safe()` when `conf.safe` (EEPROM[0]).
- 'r' 1 reads `adc_hv`
- Sanitize arg `read_adc(…, n)`
- `spi_busy()`, break out of long loops when SPI SSEL is asserted.
- `clear_spi_busy()` in the main loop, when SSEL is asserted,
answer with a busy message.
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9019 bc5caf13-1734-44f8-af43-603852e9ee25
2024-07-06 09:24:42 +00:00
stephan
28a92f03c6
avr/spi_slave: Tx gets a const *
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9018 bc5caf13-1734-44f8-af43-603852e9ee25
2024-07-06 09:12:53 +00:00
stephan
08309b3ef3
chaos: ifc-board hv control
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9017 bc5caf13-1734-44f8-af43-603852e9ee25
2024-07-04 18:00:48 +00:00
stephan
0c5abd3c04
avr/chaos 'w': hv_safe()
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9016 bc5caf13-1734-44f8-af43-603852e9ee25
2024-07-01 15:03:43 +00:00
stephan
86725822d4
avr/chaos: use WDCE to set WDIE
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9015 bc5caf13-1734-44f8-af43-603852e9ee25
2024-07-01 14:38:10 +00:00
stephan
e392567688
chaos/wdt: kick wdt in isr, and more wdt mods
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9014 bc5caf13-1734-44f8-af43-603852e9ee25
2024-07-01 14:01:33 +00:00
stephan
ae980fe830
chaos.hvc(): fix and improve args syntax, swap ADC gains
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9013 bc5caf13-1734-44f8-af43-603852e9ee25
2024-07-01 09:32:18 +00:00
stephan
0f9751b0a6
avr/chaos: INPDIS, swap ADC channels 1,2
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9012 bc5caf13-1734-44f8-af43-603852e9ee25
2024-07-01 09:31:21 +00:00
stephan
8188fdb93b
avr/chaos/hvosc: init drives PWM pins 0
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9011 bc5caf13-1734-44f8-af43-603852e9ee25
2024-07-01 09:30:50 +00:00
stephan
8f974dc7a8
flash_CHAOS: fix new syntax choas/cmd 'L'
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9010 bc5caf13-1734-44f8-af43-603852e9ee25
2024-06-28 15:32:56 +00:00
stephan
06e7e834c0
flash_CHAOS: fix pressure/inj
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9009 bc5caf13-1734-44f8-af43-603852e9ee25
2024-06-28 15:31:55 +00:00
stephan
c7bb573edf
chaos: fix .find_resonance(), fix .hvc()
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9008 bc5caf13-1734-44f8-af43-603852e9ee25
2024-06-28 15:31:13 +00:00
stephan
b64b024ca1
chaos_hv: do not default to AVR io
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9007 bc5caf13-1734-44f8-af43-603852e9ee25
2024-06-28 12:27:51 +00:00
stephan
e7e60c45bb
IRENA.awk: SampleSync: add SA to output
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9006 bc5caf13-1734-44f8-af43-603852e9ee25
2024-06-28 12:23:56 +00:00
stephan
21008fbdd1
flash_CHAOS: eth/init/full_duplex
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9005 bc5caf13-1734-44f8-af43-603852e9ee25
2024-06-21 08:33:25 +00:00
stephan
ca9f0b96de
flash_CHAOS: var/cache
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9004 bc5caf13-1734-44f8-af43-603852e9ee25
2024-06-21 08:33:01 +00:00
stephan
ecaf553451
IRENA CHAOS: add channel name CHK, alias for B
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9003 bc5caf13-1734-44f8-af43-603852e9ee25
2024-06-21 08:31:29 +00:00
stephan
0276df321f
irenarc-chaos: 25mV, KeepAlive sends 'Ping'
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9002 bc5caf13-1734-44f8-af43-603852e9ee25
2024-06-21 08:30:39 +00:00
stephan
10f0fd4bc3
flash_CHAOS: fix IRENA.RC
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9001 bc5caf13-1734-44f8-af43-603852e9ee25
2024-06-20 15:07:38 +00:00
stephan
6b3732a82b
CHAOS/INIT.RC: read SN*.RC after FPGA init and continue
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@9000 bc5caf13-1734-44f8-af43-603852e9ee25
2024-06-20 15:07:10 +00:00
stephan
6c6068e920
irenarc chaos
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@8999 bc5caf13-1734-44f8-af43-603852e9ee25
2024-06-20 15:04:22 +00:00
stephan
c7cd687896
chaos.chaosh: mod .read_adc()
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@8998 bc5caf13-1734-44f8-af43-603852e9ee25
2024-06-20 15:03:57 +00:00
stephan
54da3475b5
IRENA.AWK: add CHAOS()
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@8997 bc5caf13-1734-44f8-af43-603852e9ee25
2024-06-20 15:02:27 +00:00
stephan
ce43c6e087
arm/chaos: harden hvc, fix read_adc()
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@8995 bc5caf13-1734-44f8-af43-603852e9ee25
2024-06-06 19:35:44 +00:00
stephan
d1885e847a
avr: fix read_adc(), fix 'LF' command
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@8994 bc5caf13-1734-44f8-af43-603852e9ee25
2024-06-06 19:35:17 +00:00
stephan
c847b9037a
flash_CHAOS: medium gain premaps s/3.3pF/3pf/
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@8993 bc5caf13-1734-44f8-af43-603852e9ee25
2024-06-06 15:26:22 +00:00
stephan
1a708c6c4d
arm: chaos.py read_adc(): changed format of repeat count
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@8992 bc5caf13-1734-44f8-af43-603852e9ee25
2024-06-06 15:21:27 +00:00
stephan
dbf7e66a24
arm: chaos/adctrigger: changed format of repeat count
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@8991 bc5caf13-1734-44f8-af43-603852e9ee25
2024-06-06 15:19:02 +00:00
stephan
296c2e6237
udpterm: fix unterminated cmd
...
when sending commands without termination, residual numbers
in the receiver buffer may extend numbers trailing the command,
leading to
Error: integer reaching beyond end of cmd
Send commands terminated with '\0'
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@8990 bc5caf13-1734-44f8-af43-603852e9ee25
2024-06-06 15:16:47 +00:00
stephan
e603e8cf1c
flash_CHAOS: gains update
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@8989 bc5caf13-1734-44f8-af43-603852e9ee25
2024-06-05 07:16:47 +00:00
stephan
3db7ee007d
avr/ads8688: fix adc_gain cmd endianess
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@8988 bc5caf13-1734-44f8-af43-603852e9ee25
2024-06-04 16:33:47 +00:00
stephan
7b9ddc8fc5
avr/chaos: "L" eeprom load conditional
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@8987 bc5caf13-1734-44f8-af43-603852e9ee25
2024-06-04 16:20:00 +00:00
stephan
c94c9adbb7
avr/ads8688: fix read_adc command endianness
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@8986 bc5caf13-1734-44f8-af43-603852e9ee25
2024-06-04 16:04:01 +00:00
stephan
e5561c9825
avr/ads8688: fix ads8688_read()
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@8985 bc5caf13-1734-44f8-af43-603852e9ee25
2024-06-04 15:14:13 +00:00
stephan
3a278701ad
avr/chaos: fix ADS8868 SDO input s/PORT/PIN/
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@8984 bc5caf13-1734-44f8-af43-603852e9ee25
2024-06-04 11:54:10 +00:00
stephan
5f2a53b4b8
avr/chaos: fix DDR
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@8983 bc5caf13-1734-44f8-af43-603852e9ee25
2024-06-04 09:32:12 +00:00
stephan
65e3d1d47d
flash_CHAOS: channel list
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@8982 bc5caf13-1734-44f8-af43-603852e9ee25
2024-06-03 19:24:14 +00:00
stephan
f47fc77c5b
avr/chaos: fix SPI ports
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@8981 bc5caf13-1734-44f8-af43-603852e9ee25
2024-06-03 18:33:17 +00:00
stephan
cf7d5ee718
avr/chaos: fix LED ports
...
git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/arm@8980 bc5caf13-1734-44f8-af43-603852e9ee25
2024-06-03 18:32:57 +00:00