Hi,
I have an fpga which is accessed from ARM as a memory-mapped device.
A register in fpga is used to drive a I2C bus connected to a device . Two bits in the register represent clock and data lines of the bus.
When I try to write into this register from ARM software as shown below, write is not happening. ARM is running at 48 Mhz.
int* reg = 0x44400030;
*reg = 0x3;The above code is not able to modify the register.
But when I write using Lauterbach trace32 command as shown below, it works.
data.set SD:0x44400030 %LE %LONG 0x3
What could be the reason ?
Please advise. thanks shankar