[SOLVED] J-Flash 4.88b does not connect to STM32F042C6 ...

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

  • [SOLVED] J-Flash 4.88b does not connect to STM32F042C6 ...

    .. and so does not IAR EW 7.2 with the dll-file from Segger.
    Actually, it connects succesfully for an instance, but disconnects immediately with below message in J-Flash:

    Connecting ...
    - Connecting via USB to J-Link device 0
    - J-Link firmware: V1.20 (J-Link ARM-Pro V1.x compiled Dec 3 2013 14:20:30)
    - Target interface speed: 5 kHz (Fixed)
    - Initializing CPU core (Init sequence) ...
    - Initialized successfully
    - Target interface speed: 4000 kHz (Fixed)
    - Connected successfully
    WARNING: Supply voltage too low, disconnecting target!

    Using the same circuit with a STM32F072 ( pin compatible, but with larger flash and RAM) does not show the problem, both J-Flash and IAR EW run flawlessly.

    I also saw that the Flash memory size under 'Select device' is wrong ( 64k instead 32k). Same is true for the STM32F042C4 ( listed with 32k instead of 16k).

    Has anyone observed something similar?

    Best regards,
    Gerhard
  • Hi,

    Thanks for the hint, we will check the flash sizes.

    WARNING: Supply voltage too low, disconnecting target!

    Is your target powered via the J-Link or via an external power supply / USB?
    This message indicated, that J-Link could not measure any target voltage on pin 1 of its 20-pin connector.
    Note that the target reference voltage is mandatory for J-Link to allow the level shifters on it to operate properly.


    - Alex
    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.
  • Hi,

    You were right. The flash sizes used by J-Flash were incorrect. We corrected them.
    The correction will be part of the next J-Link software version.


    Best regards
    Erik
    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.
  • Hi,

    Thank you for the quick response.

    We power our circuit over USB.

    As mentioned in my first message the same cicuit works properly with a STM32072CB, which only differs from the pin compatible STM32042C6 by the size of its internal memory.
    When I address the working STM32072CB as a STM32042C6, I see again the low voltage warning.

    Best regards,
    Gerhard
  • Hi,

    We tried to reproduce this issue here, but so far everything works just fine.
    Whatsoever, we found a problem in the connecting sequence of the STM32F04 device which
    may cause the behavior you are seeing. This will be also fixed in the new which is planned to be
    available for download tomorrow.

    Could you please give the version (V4.90) a try, once it is available?


    Erik
    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.
  • Hi,

    V4.90 has just been released:
    segger.com/jlink-software.html


    - Alex
    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.
  • Hi Gerhard,

    Thanks for the feedback.
    Good to hear that everything is working now.
    We will close this thread.


    - Alex
    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.