[SOLVED] Ozone and B-L072Z-LRWAN1 / STM32L072CZ

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

  • [SOLVED] Ozone and B-L072Z-LRWAN1 / STM32L072CZ

    Hello,

    I have a Board B-L072Z-LRWAN1 with an STM32L072CZ.

    I use Ozone V2.62 / 2019-04-09.

    I reflashed the ST-Link on the board, but only get:
    Debug.SetConnectMode (CM_DOWNLOAD_RESET);
    Debug.Start();
    Connection failed

    Is there any way to track the problems down any further?

    Does anybody use the LRWAN1 with Ozone successfully?

    EDIT:
    When I write that I reflashed the ST-Link, then this means I used the
    Segger tool to flash the alternative firmware that enables the use
    with Ozone. It seems the board is not supported by that SW and I
    think I have bricked my B-L072Z-LRWAN1. My fault, clear.
    If there is any way to fix this it would be great.


    Best regards
    Torsten

    The post was edited 1 time, last by tmohr ().

  • Hello Torsten,

    Thank you for your inquiry.
    The mentioned board should be compatible to the J-Link FW:
    segger.com/products/debug-prob…j-links/st-link-on-board/

    To verify functionality could you try using J-Link Commander and check if general connection to the target device is working?
    wiki.segger.com/J-Link_cannot_…ty_using_J-Link_Commander

    Could you post a screenshot of such a session?


    Best regards,

    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    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.
  • Hello Nino,

    Thanks for your help. Correct, the board should be supported.

    Please see the screenshot attached.
    It seems to fail on a very low level. It is the same result for both boards I have (STM32L072CZ).

    The standard program that is on the STM32L072CZ is still running as expected.

    The green LED in the STLINK part is blinking with approx. 5-10 Hz.

    I updated at least three STM32F407 Discovery the same way and they all work as expected.


    I have a normal standard J-Link, maybe I can use that one to reflash the standard ST-Link SW or the J-Link SW?


    Best regards
    Torsten
    Images
    • Screenshot_20190508_192623.png

      11.09 kB, 530×94, viewed 547 times
  • Hello Torsten,

    It seems like there is a generic USB issue with the converted ST-Link and the Linux version you are using.
    Which version are you using?
    Is it native or in a VM?
    Do you have another PC to test against?

    Best regards,
    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    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.
  • Hello Nino,

    I use openSUSE Leap 42.3.

    I debugged several STM32F407 Discovery on the same PC and OpenSuse installation.

    I can try another PC, but that may take some time. It will be a Windows 10 Laptop.


    Best regards
    Torsten
  • Hello,

    I just installed and tried the latest JLink on a MacBook.

    I get the same result as on Linux:

    tmohr ~ $ /Applications/SEGGER/JLink_V644h/JLinkExe ; exit;
    SEGGER J-Link Commander V6.44h (Compiled May 3 2019 17:40:43)
    DLL version V6.44h, compiled May 3 2019 17:40:32

    Connecting to J-Link via USB...FAILED: Cannot connect to J-Link via USB.
    J-Link>

    I also tried connecting to the LRWAN1 with an older version of Ozone on a Windows 10 PC but don't have a screenshot or log.
    Also there, the board is not found. It offers me to open an IP connection to debug.

    As I can debug the STM32F407 Discovery I rather think something went wrong with the update process.

    Do you think I can refresh the debug chip on the board somehow? I have a real JLink that I could use for that or the debugger part of an STM32F407 Discovery.


    Best regards
    Torsten
  • Hello Torsten,

    Generally when starting the Reflash utility you also get an option to restore the ST-Link.
    So we suggest to try that and then refnash it again to J-Link.
    It is possible that you might need a ST-Link image for restoring the device. In that case we suggest requesting such image directly at ST.

    Best regards,
    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    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.