Hello,
I'm playing with K82 and QSPI.
Where is a problem with a BOOTROM. It uses LE64 format for data storage while jlink uses LE32.
in this case I have couple of questions:
1) Is it possible to have an access to the processor via script file right before QSPI flashing?
I thought it could be SetupTarget(), but seems it isn't
If 1) - no
2) is it possible to extend JLinkDevices.xml without touching an original file?
Like create a separate JLInkDevices.xml file and add it to the jlink.dll via cmd line parameters?
I checked 10.2 paragraph and looks like it's impossible. Am I right?
if 2) - no.
Where can I find more information about Open Flashloader API?
a) which section is mandatory?
b) is it possible to use gcc for this loader creation?
c) Is it possible to provide a custom JLInkDevices.xml file to the jlink dll and which cmd line param could be used?
d) Is it possible to have a debug output in the custom loader from running gdbserver?
e) Is it possible to have more logs in the gdbsever in the part of custom flashloader?
f) At what address does jlink load the loader code in the target?
g) if answer in f) RAM - should I specify a RAM address of my target or I can set 0 as a base address in the ELF ?
Thank you for your answers.
I'm playing with K82 and QSPI.
Where is a problem with a BOOTROM. It uses LE64 format for data storage while jlink uses LE32.
in this case I have couple of questions:
1) Is it possible to have an access to the processor via script file right before QSPI flashing?
I thought it could be SetupTarget(), but seems it isn't
If 1) - no
2) is it possible to extend JLinkDevices.xml without touching an original file?
Like create a separate JLInkDevices.xml file and add it to the jlink.dll via cmd line parameters?
I checked 10.2 paragraph and looks like it's impossible. Am I right?
if 2) - no.
Where can I find more information about Open Flashloader API?
a) which section is mandatory?
b) is it possible to use gcc for this loader creation?
c) Is it possible to provide a custom JLInkDevices.xml file to the jlink dll and which cmd line param could be used?
d) Is it possible to have a debug output in the custom loader from running gdbserver?
e) Is it possible to have more logs in the gdbsever in the part of custom flashloader?
f) At what address does jlink load the loader code in the target?
g) if answer in f) RAM - should I specify a RAM address of my target or I can set 0 as a base address in the ELF ?
Thank you for your answers.