Friday, November 24th 2017, 9:23pm UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

georgd

Beginner

Date of registration: Jul 21st 2016

Posts: 4

1

Wednesday, October 25th 2017, 3:25pm

Injection of file content into RAM

Does JLINK able to inject some data from a file into the RAM memory of the target processor during debug session?

Thanks in advance,
Georg D.

SEGGER - Nino

Super Moderator

Date of registration: Jan 2nd 2017

Posts: 352

2

Wednesday, October 25th 2017, 3:35pm

Hello,

Thank you for your inquiry.
It is most likely possible
What setup were you thinking on?
What debug software are you using?
During runtime or when CPU is halted?
Is it a specific file format or a simple binary file?

Best regards,
Nino

georgd

Beginner

Date of registration: Jul 21st 2016

Posts: 4

3

Wednesday, October 25th 2017, 3:49pm

The processor used is STM32F407, the IDE is Keil MDK.
It would be enough to inject a file content in the halted state of processor.
The binary format is good enough.

Georg D.

SEGGER - Nino

Super Moderator

Date of registration: Jan 2nd 2017

Posts: 352

4

Wednesday, October 25th 2017, 5:00pm

Hello Georg,

Generally the J-Link can do that. But how depends on the debugger you are using.
For Keil MDK please contact Keil and ask them if MDK offers this feature.
Alternatively you can use our IDE independent cross-platform debug software Ozone which is free to use with a J-Link Plus or higher.
There you have a option in the memory window called "Load memory data" which does exactly what you are looking for.
More information about Ozone can be found here: https://www.segger.com/products/developm…-link-debugger/

Best regards,
Nino