This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

couldn't write anything to one register

What could be the problem if I'm not able to write this value to this register?

*AT91C_EMAC_TCR = 0x30;

If I take a look in the memory window I don't see this value in this register...

assembly-window shows this code for this c-line:

0x100002E4  E3A00030  MOV       R0,#0x00000030
0x100002E8  E2441911  SUB       R1,R4,#0x00044000
0x100002EC  E5810010  STR       R0,[R1,#0x0010]

Looks really good, but it doesn't work... I'm working with the AT91Rm9200 controller from Atmel.

best regards
Johannes

Parents
  • What is TCR? A transmit register?

    Note that special function registers are not identical to memory cells, i.e. you are not guaranteed to be able to read back what you write.

    Some registers can only be read. Some can only be written. Some can be written, but will have some bits replaced with ones or zero when reading back.

Reply
  • What is TCR? A transmit register?

    Note that special function registers are not identical to memory cells, i.e. you are not guaranteed to be able to read back what you write.

    Some registers can only be read. Some can only be written. Some can be written, but will have some bits replaced with ones or zero when reading back.

Children
No data