Main Site Documentation

RLPLite + FEZ Cerberus Mainboard - help getting started


#1

I’m having a hard time getting started with RLP on the Cerb. If anyone could point me in the right direction then I would be greatfull :slight_smile:

I’ve downloaded and installed uVision v4 and v5.

Sitting here with v4 now, and reading the how-to’s on this site, but cant get the damn thing to compile.

This mobo: https://www.ghielectronics.com/catalog/product/349
Following this tutorial: https://www.ghielectronics.com/docs/153/rlplite

I’ve choosen STM32F405VG as MCU instead of Atmel->AT91SAM9RL64 as the tutorial for the Fez Hydra stated.

The memory address is bugging me here:

[quote]For FEZ Hydra, In the text field R/O Base: you will put the address 0xA0000000 and in the text field R/W Base: you will put 0xA0080000. These addresses are the locations on FEZ Hydra that has been reserved for executing RLPLite functions. The total memory allocation is one megabyte (0x100000) at address base 0xA0000000.

The FEZ Cerberus family has two different deployment regions depending on which firmware is used:

For the Ethernet firmware, the region is 12KB (0x3000) and begins at address 0x2001A000.
For the Non Ethernet firmware, the region is 8KB (0x2000) and begins at address 0x20000000.[/quote]

From this site: https://www.ghielectronics.com/docs/46/cerb-family

RLPLite
Non Ethernet/Game-O: 8KB (0x2000) at adress 0x20000000

Whats R/O Base and what is R/W Base?

I’m at the moment set up with R/O Base: 0x2000 and R/W Base: 0x20000000 - but that stuff wount compile. (using the sample code from the tut)

Error message from uVision:

[quote]Rebuild target 'Target 1’
compiling RLPLite.c…
RLPLite.c(49): warning: #550-D: variable “i” was set but never used
int i;
RLPLite.c: 1 warning, 0 errors
linking…
.\RLPLite1.axf: Error: L6320W: Ignoring --entry command. Cannot find argument ‘Reset_Handler’.
.\RLPLite1.axf: Warning: L6320W: Ignoring --first command. Cannot find argument ‘__Vectors’.
Not enough information to list image symbols.
Not enough information to list the image map.
Finished: 2 information, 1 warning and 1 error messages.
".\RLPLite1.axf" - 1 Error(s), 2 Warning(s).
Target not created[/quote]


#2

Got the stuff compiling by poking into this project

https://www.ghielectronics.com/community/codeshare/entry/553 ;D