Hello,
my programm is stored at the start of flash memory at 0x8000000.
Some data should be stored in a different sector at address 0x8060000.
The Data is not flashed to the specific positon while using JLink. If i use Stlink, the data is flashed correct.
A demo programm is attached.
main.c:
char __attribute__((section (".myString"))) string[] = "String not programmed by JLink";
linker file:
STRING (rx) : ORIGIN = 0x8060000, LENGTH = 128K
.stringBlock 0x8060000 :
{
KEEP(*(.myString))
} > STRING
I have also tested the programm with Ozone. No data at the desired position in flash.
Regards,
Bastian
my programm is stored at the start of flash memory at 0x8000000.
Some data should be stored in a different sector at address 0x8060000.
The Data is not flashed to the specific positon while using JLink. If i use Stlink, the data is flashed correct.
A demo programm is attached.
main.c:
char __attribute__((section (".myString"))) string[] = "String not programmed by JLink";
linker file:
STRING (rx) : ORIGIN = 0x8060000, LENGTH = 128K
.stringBlock 0x8060000 :
{
KEEP(*(.myString))
} > STRING
I have also tested the programm with Ozone. No data at the desired position in flash.
Regards,
Bastian