diff --git a/pyocd/coresight/discovery.py b/pyocd/coresight/discovery.py index becb2533c..9482f652f 100644 --- a/pyocd/coresight/discovery.py +++ b/pyocd/coresight/discovery.py @@ -262,7 +262,7 @@ def _create_root_component(self, cmpid): memif = APAccessMemoryInterface(self.dp, ap_address) # Instantiate the component and attach to the target. - component = cmpid.factory(memif, cmpid, cmpid.address) + component = cmpid.factory(memif, cmpid, 0) self.target.add_child(component) component.init() except exceptions.Error as e: