I need to acces the NS9210 Special Function Registers like the SPI configuration register.
I’m however new to linux and can seem to find a way to access this register directly from my c program.
but as an alternative take a look at example:
DigiEL_LiveDVD/toolchain/builder/packages/memwatch
This example shows how to access real memory/registers from user space in a more simple way and it was tested to work on DEL.
Seems like i’m not there jet…
I was able to read/write the registers, but when i tried to write to the SPI Control registers (0x9003_1000 - 0x9003_7FFF), they didn’t change.
I’ve been searching for a while now what may be the cause of this problem, but so far i stil can’t write the SPI control register.