# Repalcement for xlnk.xlnk\_reset() in PYNQ v2.7

**URL:** <https://discuss.pynq.io/t/repalcement-for-xlnk-xlnk-reset-in-pynq-v2-7/3741>\
**Category:** Support\
**Created:** [February 25, 2022, 8:03am UTC](https://discuss.pynq.io/t/repalcement-for-xlnk-xlnk-reset-in-pynq-v2-7/3741 "2022-02-25T08:03:31Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Annew](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/annew/32/2944_2.png) [@Annew](https://discuss.pynq.io/u/Annew)\
**Post date:** [March 22, 2022, 7:04am UTC](https://discuss.pynq.io/t/repalcement-for-xlnk-xlnk-reset-in-pynq-v2-7/3741/8 "2022-03-22T07:04:49Z")

</div>

Hi  
Thank you ! I solved it !! `del` needs to company with ` gc.collect()`

```auto
import gc

params_w = np.fromfile("yolo.bin", dtype=np.uint32) 
np.copyto(weight_buffer, params_w)

del params_w
gc.collect()

```

---

_[View the full topic](https://discuss.pynq.io/t/repalcement-for-xlnk-xlnk-reset-in-pynq-v2-7/3741)._
