I am going to implement a RLP driver for a DOG 132x32 LCD display. It use an āSPI likeā interface that Iām going to bit-bang instead of using up an SPI port.
Iāll probably wait for the SDK release since I have many other things to do.
@ Gus, Iām trying to follow the tutorial by āDelegateVoidā that you mention in the first post of this thread ([url]http://www.itcrowd.be/getting-started-with-ghi-rlp[/url] ). I get to the point of editing the rlp.h file ā what is RLP_ADDRESS and RLP_SIZE for Panda? Itās populated and commented out for ChipworkX EMX but not for others that are now rlp-enabled. How would I go about getting this information short of asking the forum/you?
Iām assuming others will need this info for domino, mini, rhino.
You should use the example we provide. There is 2 examples specifically made fro USBizi. At the end of the docs, there is a link to a zip file with the examples.
At the bottom of the docs there is indeed a link to a zip file (itās where I go the rlp.h file I mentioned). rlp.h from the zip file contains the code:
// !!! The user must set these settings according to used platform !!!
// ChipworkX
//#define RLP_ADDRESS 0xA0000000
//#define RLP_SIZE 0x001FB3FC
ā¦so Iāve worked my way through the example/tuturial. Lots of gotchaās. When I run now I get a OOM message when the ELF file tries to load. The file is 35kB by itself, for just the āadd two numbersā C example code.
a) is the file size appropriate? should I do something else to make it smaller?
b) has anybody got RLP to work on Panda?
hereās the screen dump:
GC: 1msec 18696 bytes used, 35436 bytes available
Type 0F (STRING ): 96 bytes
Type 11 (CLASS ): 720 bytes
Type 12 (VALUETYPE ): 72 bytes
Type 13 (SZARRAY ): 372 bytes
Type 15 (FREEBLOCK ): 35436 bytes
Type 17 (ASSEMBLY ): 8928 bytes
Type 18 (WEAKCLASS ): 48 bytes
Type 19 (REFLECTION ): 48 bytes
Type 1B (DELEGATE_HEAD ): 180 bytes
Type 1D (OBJECT_TO_EVENT ): 48 bytes
Type 1E (BINARY_BLOB_HEAD ): 5700 bytes
Type 1F (THREAD ): 384 bytes
Type 20 (SUBTHREAD ): 48 bytes
Type 21 (STACK_FRAME ): 1056 bytes
Type 27 (FINALIZER_HEAD ): 48 bytes
Type 31 (IO_PORT ): 72 bytes
Type 34 (APPDOMAIN_HEAD ): 72 bytes
Type 36 (APPDOMAIN_ASSEMBLY ): 804 bytes
Failed allocation for 2843 blocks, 34116 bytes
A first chance exception of type āSystem.OutOfMemoryExceptionā occurred in mscorlib.dll
An unhandled exception of type āSystem.OutOfMemoryExceptionā occurred in mscorlib.dll
Please compile your project with the linker script and make file from the example provided by us. You have something off and this is why your elf file is large.
Before you do anything, compile the example we provide AS IS and try it please.