In my program, the Bootloader program starts at address 0 and then jump to app starts at address 0x6040. I need to read 4 bytes of address 0x6000 in the app routine. I used
vl32 = *((*uint32_t)0x6000);
or
vl8 [i] = * ((* uint8_t) (0 x6000 + i)); (i = 0... 3)
two way to read. The result is a reset of the MCU. How can I read the data of this address