[SOLVED] Ozone: Debug at power-on conditions

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] Ozone: Debug at power-on conditions

    Hi,

    we have a problem where we need to debug the conditions at very close time to the power-on state.
    If we switch on the device and then connect with Ozone manually, it is already too late.

    Is there a way to have Ozone start the debugging session automatically when the J-Link Pro detects a connected device?

    Or can the J-Link Pro maybe cache some data before Ozone connects to it?

    Maybe a stupid question but after two days of fiddling with this and on a Friday evening, my brain is fried. :D

    Cheers
  • Hi,

    The Arm debug interface is unfortunately not designed to catch such power on issues directly.
    So proper debugging as you know it with J-Link usually will not work. The only viable way is to write debug messages or variable values to some buffer on target side that gets written after startup. Then you can attach with J-Link at a later point and read out the data buffer.

    For a minimal footprint and maximal performance of such implementation we recommend RTT:
    segger.com/products/debug-prob…about-real-time-transfer/

    Best regards,
    Nino
    Please read the forum rules before posting: Forum Rules

    Keep in mind, this is not a support forum. Its main purpose is user to user interaction.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • Hi,

    Great to hear that you are up and running.

    We will consider this thread as closed now.

    Best regards,
    Nino
    Please read the forum rules before posting: Forum Rules

    Keep in mind, this is not a support forum. Its main purpose is user to user interaction.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.