Migrating cspybat scripts
Technical Note 231111
Architectures:
Arm
Component:
debugger
Updated:
12/4/2023 9:07 AM
Introduction
When migrating to IDE platform version 9.3, for example included in IAR Embedded Workbench for Arm version 9.50.1, cspybat scripts need to be migrated.
Discussion
This technical note gives the details of such a migration.
Migration
There are two suggested ways to migrate, so use either this solution...
- Let the 9.3 IDE generate new cspybat files, according to Technical Note 26068.
...or use this solution:
- Manually replace
--plugin="arm\bin\armbat.dll"
with--plugin="arm\bin\armLibsupportUniversal.dll"
in existing scripts.
Background
In IDE platform 9.3 there is a new DLL for use with cspybat, named armLibsupportUniversal.dll
.
The plugin files in arm\bin
(for use with the cspybat --plugin
option) have changed, the armbat.dll, armLibSupport.dll
and armLibSupportEclipse.dll
are replaced by armLibsupportUniversal.dll
.
This will break any existing cspybat scripts. The error message from an existing cspybat script will be:
Could not find the specified libsupport file: arm\bin\armbat.dll
Conclusion
Users using cspybat and migrating to an IAR Embedded Workbench product with IDE platform version 9.3 will have to migrate the script(s) for cspybat.
All product names are trademarks or registered trademarks of their respective owners.