The following error resolution occurs when compiling a ZigBee program using IAR Embedded Workbench:
ERROR[E12]: Unable to open file ' C:\Program files\iar systems\embedded Workbench 5.3\8051\config\lnk51ew_cc2530f256.xcl ‘
The error should not be found in the config file.
Here's how to fix it:
If you are a win7 system and are 64-bit, then you need to modify the link path, the use of 32-bit system when the installer is the default in \program Files, if it is a 64-bit system, then the default location should be \program Files (x86) Therefore, you need to modify the config path. In general, the file can be found under the following path
C:\Program Files (x86) \iar systems\embedded Workbench 6.0 Evaluation\8051\config\devices\texas instruments\lnk51ew_ Cc2530f256.xcl
Depending on the software loading path, there may be a slight difference.
The steps are as follows:
1) Right click on Project Select option ...
2) Find Linker->config
3) Modify linker command file
C:\Program Files (x86) \iar systems\embedded Workbench 6.0 Evaluation\8051\config\devices\texas instruments\lnk51ew_ Cc2530f256.xcl
Re-make to resolve the error.
Zigbee debugging Problem Error[e12]: Unable to open file ' lnk51ew_cc2530b.xcl '