Skip to main content
Visitor II
December 5, 2024
Solved

70% of new boards (STM32L433RCT6) cannot program

  • December 5, 2024
  • 2 replies
  • 1469 views

We have new boards with STM32L433RCT6 as MCU and only 30% of boards can program with STM32CubeProgrammer. Other boards just cannot connect to ST-LINK. I have tried these:

1. Use "under reset" mode, not working

2. Use JTAG signals. The good board can be connected and the bad one still cannot.

3. Use UART bootloader with BOOT0 pull up. The good board can be connected and the bad one still cannot. 

I have checked every pin of STM32L433RCT6, and found there is a 2Hz square wave on PB8, I disconnected external connection to PB8, and the square wave still there. If I press reset button, it will go to low. Is this normal?

Can anyone help me? I really appreciate any help. Thank you!

 

 

    This topic has been closed for replies.
    Best answer by Tesla DeLorean

    I'm not sure of the System Loader behaviour in the Level Two state, but that's where I'd start.

    2 replies

    Graduate II
    December 5, 2024

    Isn't initial board bring up part of the job?

    Review the design again, review the net list, review the power connections. If you have empty boards, or solder-test samples, perhaps probe and check continuity there.

    Check part orientation. Check soldering, perhaps X-Ray. Check voltages at power pins.

    Insure VDDA/VSSA are powered, check NRST is nominally HIGH

    The SWD connection should work unless the pins are non-functional, incorrect, reassigned by running code, or unpowered.

    FC_UAuthor
    Visitor II
    December 5, 2024

    Thank you for your reply!

    I have worked on these boards for over a week, so I have already checked every pin of STM32L433RCT6 and haven't found problem except PB8. 

    We have checked SWD signals using oscilloscope, and I have measured every power pins.

    Is it normal for PB8 output the 2Hz square wave on a brand new board? Does that mean the STM32L433RCT6 chips are not new?

    FC_U_0-1733441985347.png

    Could you help to check if the schematic is correct? Thank you!

    Graduate II
    December 6, 2024

    I'm not aware of PB8 being involved, it is a TIM-CH1 pin, would need to check AN2606 or disassemble the system loader. You could take a working one, erase it, or pull BOOT0=HIGH and see if it also outputs this 2Hz square wave. That would be a quick we to determine normalized behaviour.

    By default these don't start an external clock

    These were sourced from a legitimate distributor? Any visual difference in markings of ones that work, vs ones that do not? Perhaps a picture, large, clear and in focus, in it's PCB context?

    Not sure there's any magic about the LCD models/power. Ive used STM32L432KB/KC in the QFN28 form-factor

    FC_UAuthor
    Visitor II
    December 9, 2024

    We have replaced STM32L433RCT6 for all the boards that cannot programming, and now all boards are good!

    There's no 2Hz square wave on PB8 for the new boards. Maybe the chips are already programmed?

    Is there a way to check whether  the chip is on Level 2 protection?

    Thank you!

    Graduate II
    December 9, 2024

    I'm not sure of the System Loader behaviour in the Level Two state, but that's where I'd start.