a tool or library that can be controlled by the .NET Framework Library (.DLL) to edit an .elf file

351 Views Asked by At

I will use the Jlink Plus in Automated test applications for the ECU (NXP S32K312). I'm in the process of developing a .NET Framework Library (.dll) (API) that is used to control the SEGGER Jlink plus remotely from Test Automation .NET Framework.

I need the following functions which I didn't find in the Jlink.dll from the SDK:

  • Flashing .elf file to ECU

  • Variables Operations : ReadVariable WriteVariable

  • a memory dump of a selected memory section

  • SetBreakpointToFunctionStart(name of function)

  • SetBreakpointToFunctionEnd(name of function)

  • SetBreakpointWhenVariableChange(name of variable)

  • SetBreakpoint

Unfortunately, the Jlink.dll does not support editing and uploading the .elf file. The Jlink.dll supports only the following file types: *.mot • *.srec • *.s19 • *.s • *.hex • *.bin

Therefore I need a tool or a library that can extract the debugging information like (the address and size of the variables in memory) from the .elf file and at the same time be controlled by the .Net framework.

Then I can e.g. pass the address and size of a Jlink.dll and call the JLINKARM_ReadMem() function of Jlink.dll.

Best regards, Abdul

0

There are 0 best solutions below