Author Topic: Unexplained issue with an ST Microelectronics STM32F100C6T6 MCU  (Read 552 times)

0 Members and 1 Guest are viewing this topic.

Offline Sheen 78Topic starter

  • Newbie
  • Posts: 1
  • Country: nz
Unexplained issue with an ST Microelectronics STM32F100C6T6 MCU
« on: February 17, 2024, 09:22:16 am »
Hello All,

I have been working on a rather sophisticated switch-mode power supply out of a Crown professional audio amplifier.

The STMicroelectronics STM32F100C6T6 is used on the power supply PCB for housekeeping. It is also responsible for turning on/off of the unit.

« Last Edit: February 19, 2024, 01:10:24 am by Sheen 78 »
 

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5914
  • Country: es
Re: Unexplained issue with an ST Microelectronics STM32F100C6T6 MCU
« Reply #1 on: February 17, 2024, 11:27:54 am »
Upload the binary file, might give some hints.
Before programming, are you checking if the config RDP and WRP protection bits are all off?
If PB8 blinks, and it's not the power supply itself, clearly the MCU isn't being erased.

Must be the psu somehow. Have you checked the output with a scope? Maybe a slow turn-on or noisy output is triggering it.
« Last Edit: February 17, 2024, 12:32:49 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 
The following users thanked this post: Sheen 78

Offline wek

  • Frequent Contributor
  • **
  • Posts: 495
  • Country: sk
Re: Unexplained issue with an ST Microelectronics STM32F100C6T6 MCU
« Reply #2 on: February 17, 2024, 11:45:47 am »
Quote
It doesn't appear to regain "Virgin" status after a global erase

What exactly do you mean by "global erase"?

JW

PS. There are two bytes for user data storage in the Option Bytes, see Data0 and Data1 in PM0063.
PS2. If state is stored in FLASH - or in abovemention Option Bytes - the FLASH cells in question can be "worn out" if endurance limit is exceeded. FLASH cells then may excessively leak charge, not being able to retain their state. The result is unreliability in time and at elevated temperature, not necessarily detectable by simple checks when erasing/programming.
« Last Edit: February 17, 2024, 11:58:28 am by wek »
 
The following users thanked this post: Sheen 78


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf