The background is [2] (I have two xCORE-XA Core Module boards that I found some use for). I am also aware that the processor and the board have been obsoleted and that support is to be removed from xTIMEcomposer.
I run 14.4.1 I get this "xrun: Invalid executable file passed" when I do Run As | ARM Application. I have tested with 14.3.3 but cannot really see any difference in behaviour (even if the 14.3.3. build log does not include the Rebuild lines.)
The build goes like this:
Code: Select all
09:50:57 **** Build of configuration Default for project AN00141 ****
xmake CONFIG=Default all
Checking build modules
No build modules used.
Building xCORE binary
Rebuild .build/_iflag.rsp
Analyzing AN00141.xc
Rebuild .build/_pca.rsp
Propagating analysis
Creating dependencies for AN00141.xc
Compiling AN00141.xc
Rebuild .build/_obj.rsp
Creating AN00141.xe
Constraint check for tile[0]:
Cores available: 8, used: 1 . OKAY
Timers available: 10, used: 1 . OKAY
Chanends available: 32, used: 0 . OKAY
Memory available: 65536, used: 1660 . OKAY
(Stack: 340, Code: 1212, Data: 108)
Constraints checks PASSED.
Building ARM binary
Warning: Support for xCORE-XA is to be removed from the next major version of xTIMEcomposer
Rebuild .build__arm/_iflag.rsp
Creating dependencies for AN00141.c
Compiling AN00141.c
Creating AN00141
Build Complete
09:50:58 Build Finished (took 1s.307ms)
Analyse Binary gives me:
Code: Select all
An internal error occurred during: "Load /Users/teig/workspace/AN00141/bin/AN00141 Into Binary Analyser".
java.lang.NullPointerException
Code: Select all
bash-3.2$ xflash /Users/teig/workspace/AN00141/bin/AN00141.xe --arm-binary /Users/teig/workspace/AN00141/bin/AN00141
Error: F03139 xCORE image is too big for the ARM flash partition
Code: Select all
xrun /Users/teig/workspace/AN00141/bin/AN00141.xe
But if I test for the ARM I get:
Code: Select all
bash-3.2$ xrun /Users/teig/workspace/AN00141/bin/AN00141
xrun: Invalid executable file passed
Code: Select all
bash-3.2$ xflash /Users/teig/workspace/_kode24_xcore200_1q2020/bin/_kode24_xcore200_1q2020.xe
Error: F03122 No Arm Binary supplied, please use option --arm-binary
So if there is any way to trick xflash not to ask for the ARM binary this, it's all I need (even if the toolset (seems to) build the binary as faulty(?))
[1] xCORE-XA - Application Development
[2] Missing xCORE XA Module Board Hardware Manual circuit diagram