Handshake between Zerynth and F&C SAM3X fails


#1

Hey!

I have a problem with uploading my program to my SAM3X. The Compilation works but after the Handshake info the messages at the end of the post appear. I already had some problems since the update to r2.1.0. Every few days I had to virtualize the device again to use it, but now even that does not work…
Does anybody know how to fix this?

Thanks in advance for your help!

Max

Messages:

[info] Compilation Ok
[info] Searching for device 71ad23545102b2d34dd3c18c49adbd79b5589893 with alias zs:flipnclick_sam3x:71ad23545102b2d34dd3c18c49adbd79b5589893
[info] Probe sent
[info] Got header: r2.1.0 CWR-kJ17SvKaCR23biMOtA flipnclick_sam3x 02130215d42325031333030343030353 ZERYNTH
[info] Found VM CWR-kJ17SvKaCR23biMOtA for flipnclick_sam3x
[info] Handshake
[info] symbols: 3
[info] membase @200721D8
[info] romstart @000C0000
[info] flash @00040000
[warning] There are 5 missing symbols! This VM does not support the requested features!
Traceback (most recent call last):
File “C:\Users\maxi\zerynth2\dist\r2.1.0\ztc\ztc.py”, line 111, in
cli()
File “C:\Users\maxi\zerynth2\sys\python\lib\site-packages\click\core.py”, line 716, in call
return self.main(*args, **kwargs)
File “C:\Users\maxi\zerynth2\sys\python\lib\site-packages\click\core.py”, line 696, in main
rv = self.invoke(ctx)
File “C:\Users\maxi\zerynth2\sys\python\lib\site-packages\click\core.py”, line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “C:\Users\maxi\zerynth2\sys\python\lib\site-packages\click\core.py”, line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “C:\Users\maxi\zerynth2\sys\python\lib\site-packages\click\core.py”, line 534, in invoke
return callback(*args, **kwargs)
File “C:\Users\maxi\zerynth2\dist\r2.1.0\ztc\uplinker\uplinker.py”, line 199, in uplink
_uplink_dev(dev,bytecode,loop)
File “C:\Users\maxi\zerynth2\dist\r2.1.0\ztc\uplinker\uplinker.py”, line 254, in _uplink_dev
thebin = relocator.relocate(symbols,_memstart,_romstart)
File “C:\Users\maxi\zerynth2\dist\r2.1.0\ztc\uplinker\relocator.py”, line 227, in relocate
addr = vcobj.symbols[nn]
KeyError: ‘__struct_pack’


#2

Hi @Max,

last Zerynth update came with both a Studio/Libraries and a VM update, so, to continue using your devices, you need to create an updated Virtual Machine (P01) and virtualize the device again.

Let me know if this solves your issue :slight_smile:


#3

Hey!

Thank you for your help! It worked.:grin: