occheung
occheung
> Stack overflow? The new firmware should detect those instead of corrupting memory. This may just be one such detection. @occheung It would be useful to know the value of...
> @occheung _sstack_guard of satman is 0x4002a000. Either the code should now panics at 0x4002a000, or the `_sstack_guard` was 0x40029000. The PMP region should only be 0x1000 large, otherwise we...
> * running `llvm-objdump -CD runtime.elf` gives no addresses that correspond to the reported PC where the exception is raised, contrary to @occheung 's demo in [Stack overflow protection #1764](https://github.com/m-labs/artiq/pull/1764)....
Can be reproduced with the following ARTIQ-Python code. ``` from artiq.experiment import * class Example(EnvExperiment): def build(self): self.setattr_device("core") @kernel def run(self): while True: print("hello world") ``` And manually turned the...
@airwoodix Also, pre-allocate the array instead of returning it from an RPC. Returning an array from RPC means [a lot of memory allocation](https://m-labs.hk/artiq/manual/faq.html#create-and-use-variable-lengths-arrays-in-kernels). (Actually this is the main cause) You...
Maybe we can trigger the stack restore thing by wrapping RPC inside a function, so it does not eat up 1000 bytes every iteration. What about wrapping the RPC function...
2 problems right there. First, the current AD9910 driver seems to be unable to support a sysclk frequency that is lower than the RTIO frequency. This is demonstrated by this...
Can be reproduced in ARTIQ `7.7663.51d2861e` with iIdentical hardware spec. Here are some log from `artiq_coreanalyzer -p` after running `artiq_sinara_tester`. ``` Log channel: 7 DDS one-hot: True OutputMessage(channel=5, timestamp=1057491096648, rtio_counter=1057490975016,...
>what's the real problem here? Does the print() RPC just take too long to return on my system? (testing Urukuls or Samplers works) Given that there is a `self.core.break_realtime` invocation,...
One source of large time loss can be found in `adf5356.sync()`. ```python @kernel def sync(self): """ Write all registers to the device. Attempts to lock the PLL. """ pre_pfd_counter =...