#define BASE_ADDRESS 0x00000000;
int main(void)
{
int *addr = (int *)BASE_ADDRESS;
*addr++ = 0x00000001;
*addr++ = 0x00000002;
*addr++ = 0x00000003;
*addr++ = 0x00000004;
*addr++ = 0x00000005;
while(1);
}
Hello, describe your chip which you have tried to program.
Hi,
First of all, check how this address is declared (Read Only, W/R )?
Just a moment. what is address 0x00000000? In ST microprocessors this address of ST bootloader. You cannot write in this address.
After checking, microprocessor change address to 0x08000000 address. This is the address of the internal flash.
Shmuel