Question
Can't write to external SDRAM address 0xD0000000, only 0xD0000002
This code doesn't write anything:
*(__IO uint16_t*) 0xD0000000 = (uint16_t) 0x01;
However, this code does write:
*(__IO uint16_t*) 0xD0000002 = (uint16_t) 0x01;
As you can see, the only difference is the 2 vs 0 at the end. The 0xD0000000 address is defined in the .ioc settings and in the .ld.
What can this be? Where am I going wrong?
