We have just started experimenting with RLP on EMX module and would like to set up an environment that allowed us to debug native code before deploying on EMX module.
Since Yagarto way to set up an environment is not so easy, we’d like to use CrossWorks for ARM 2.0 IDE to deploy native code on a Embedded Artists LPC2478 board, just to use exactly same target processor for code generation.
We tried to build a proof-of-concept sample that includes RLP.h (for prototypes and signatures), a simple RLP.c with native call implementation and a main.c tester that let us to simulate loading and calling of native module from .NET MF. We succeeded in debugging on EA boards via JTAG very easily, but
generated ELF file cannot be loaded by RLP subsystem on EMX (FEZ-Cobra). It raises an exception.
Looking at .lds linker script and to makefile we know there must be something that breaks ELF loading, but we don’t know what.
Additionally, it seems not so simple to use an external linker script in CrossWorks and not possible at all to import a MAKEFILE.