[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Access to R_PORT_PB_DATA
I'm trying to write a device driver that uses PB general I/O. In order to do
that, the driver accesses pins of the register R_PORT_PB_DATA (they are set
to output) in the following ways:
What happens is that the system crashes. The same happens, when I'm
addressing the discrete general ports, too.
I'm using the development board with the ETRAX 100LX, Linux 2.4.5,
devboard_lx-R2_0_0 and cris compiler 1.13.
Does anyone know what's wrong about my code?