Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
bgColor#ffffff
titleQ

How to debug the ROM code startup phase at netX 90?

Panel
bgColor#ffffff
titleA

The ROM code has a trace buffer inside the internal RAM of netX 90 COM side. The trace buffer is used to log events and details of the startup phase while the ROM code is executed.

The trace buffer content can be decoded by Hilscher. Please provide a binary file of the trace buffer to the support team via netxsupport@hilscher.com


The trace buffer is stored in the netX internal RAM from 0x200A.0000 to 0x200A.7FFF inclusive.

Save it with a JTAG debugger.


(warning) Make sure to attach the debugger to the netX 90 COM side. NO access is possible from the netX 90 APP side to this memory area.(warning)


Example for netX Studio inside the GDB shell

    dump binary memory netX90_StartupDebugDump.bin 0x200A0000 0x200A8000

In order to connect to the netX 90 COM side with netXSTUDIO, please enable the respective support in the Edit→Preferences→General→netX Development dialog first.

Image Added


Choose Debug→Debug Settings ... → Target Board → netX 90 (COM)

Image Added




Example for the Lauterbach:

    data.save.binary /tmp/trace.bin 0x200A0000++0x7fff

Panel
bgColor#ffffff
titleSee also...

Filter by label (Content by label)
showLabelsfalse
spaces@self
showSpacefalse
cqllabel = "faq" and space = currentSpace()
labelsfaq