Skip to main content
Associate II
Oct 23, 2026 9:32 AM UTC
Question

STM32F207ZGT6 – Differences Between Silicon Revisions and DFU Failure

 

Hello,

We are using the STM32F207ZGT6 in our production boards and have identified two different silicon revision groups:

  • REV_ID = 0x201F (revision 2/3): DFU works correctly.

  • REV_ID = 0x203F (revision 4/5): DFU does not work.

The two board versions have an identical schematic, including the USB interface. However, the DFU functionality works with the older silicon revision and fails with the newer one.

Could anyone from STMicroelectronics clarify the following points?

  1. What are the detailed differences between silicon revisions 2/3 (0x201F) and 4/5 (0x203F)?

  2. Were any changes made to the USB OTG FS peripheral, clock startup, oscillator circuitry, electrical characteristics, or system boot behavior?

  3. When was silicon revision 4 (0x203F) first introduced into production?

  4. Is there a silicon revision history, release note, or PCN documenting these changes?

Any information or documentation from ST that could help us identify the root cause would be greatly appreciated.

Thank you for your help.

27 replies

mƎALLEm
ST Technical Moderator
Oct 23, 2026 10:15 AM UTC

Hello,

1- What kind of issue you are facing with USB OTG FS ST bootloader with revisions 4 & 5?

2- What clock frequency is used for HSE?

3- What is the bootloader revisions you have with (revision 2/3) and (revision 4/5)?

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
YannGAuthor
Associate II
Oct 23, 2026 10:29 AM UTC

Hello mƎALLEm,

Thank you for your reply. Please find the requested information below.

1. Issue with the USB OTG FS system bootloader

On STM32F207ZGT6 devices with silicon revisions 4/5 (REV_ID = 0x203F), Windows reports an Unknown USB Device – Device Descriptor Request Failed (USB\DEVICE_DESCRIPTOR_FAILURE, VID_0000&PID_0002). The USB DFU device is not enumerated.

Devices with revisions 2/3 (REV_ID = 0x201F) work correctly with the same board schematic.

We have verified the BOOT0, BOOT1, VBUS and NRST voltage levels and transitions on multiple boards. We have also checked the relevant resistors and the USB hardware.

2. HSE clock frequency

The HSE crystal frequency is 8 MHz.

The crystal currently fitted for testing is ECS-80-18-30Q-VY-TR.

The HSE oscillator does not appear to start when entering the system bootloader in DFU mode. On OSC_OUT, I observe approximately four pulses, about 700 ms apart, with an amplitude of around 2 V. Zooming in on these pulses reveals no 8 MHz oscillation.

I also measured NRST simultaneously with OSC_OUT and confirmed that NRST goes low at each pulse, indicating repeated MCU resets. VDD remains stable during these events.

3. System bootloader version

I read the bootloader version at address 0x1FFF77DE. The reported version is 3.3 on both silicon revision groups (revisions 2/3 and 4/5).

Could these observations be related to a change in the silicon revisions 4/5, particularly regarding HSE startup or the USB DFU system bootloader?

Could you please advise on any known limitations or differences between these revisions that might explain this behavior?

Thank you for your help.

mƎALLEm
ST Technical Moderator
Oct 23, 2026 10:45 AM UTC

Thank you for the inputs.

Please confirm the following:

1- Are all boards have the same hardware revision or the same schematic? you can have the same schematic but not the same PCB (different routing, different components ..). So the question is: if you replace the MCU in the working board by one in non-working board, do you see the same issue? could you please do the test if it was not already done?

2- As I understood OSC_OUT clock is available on (revision 2/3) while with (revision 4/5) is not meaning the HSE couldn't start with these revisions. please confirm.

 

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
YannGAuthor
Associate II
Oct 23, 2026 11:58 AM UTC

1. Hardware revision and PCB layout

The STM32 circuitry and all components directly involved in its operation are strictly identical between the two board generations. The PCB routing around the STM32, including the HSE oscillator and USB circuitry, has not changed.

An additional circuit stage was added elsewhere on the newer board, but this did not affect the routing around the STM32.

Regarding the crystal, replacing the new crystal with the original part did not resolve the issue. Therefore, the crystal change alone does not appear to be the cause.

I have not performed the MCU swap test yet because the working board is conformally coated and has a display soldered to the bottom side of the PCB. Removing and replacing the MCU would involve a significant risk of damaging the display of the board.

I expect to receive another board from our EMS shortly, without the display fitted. I will perform the MCU swap test on this board as soon as it is available and report the results.

2. HSE oscillator behavior

I confirm that the HSE starts correctly on revision 2/3 (REV_ID = 0x201F), whereas it does not start on revision 4/5 (REV_ID = 0x203F).

On revision 4/5, we observe repeated pulses on OSC_OUT, approximately 700 ms apart, with no visible 8 MHz oscillation. NRST goes low at each pulse, indicating repeated MCU resets. VDD remains stable during these events.

The system bootloader version read at address 0x1FFF77DE is 3.3 on both revision groups.

Best regards,

mƎALLEm
ST Technical Moderator
Oct 23, 2026 12:55 PM UTC

Ok. Thank your for the details. At this stage I cannot help you further on that. I’m escalating the case internally over this ticket number CDM0066843 (not accessible by the community users).

Please bear in mind that it will may take a while to have a feedback/answer from the internal teams. I may also get back to you for more questions if needed.

In mean time if possible to swap the chips as it will help on the analysis.

Thank you for your understanding.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
YannGAuthor
Associate II
Oct 23, 2026 1:18 PM UTC

Hello,

Thank you very much for your help and for escalating this case to your internal teams.

I appreciate your support and will be looking forward to their feedback. This issue is affecting 200 production boards, so any additional insight from your internal teams would be greatly appreciated.

Thank you again for your time and assistance.

Best regards,

mƎALLEm
ST Technical Moderator
Oct 23, 2026 1:20 PM UTC

You’re welcome. In mean time if possible to swap the chips and provide the result as it will help on the analysis.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
YannGAuthor
Associate II
Oct 23, 2026 1:24 PM UTC

Thank you. I will perform the chip swap as soon as I receive boards without displays, as removing the displays from the current boards would be risky.

In the meantime, I will continue investigating the issue and share any relevant findings.

STOne-32
ST Technical Moderator
Oct 26, 2026 7:57 PM UTC

Dear ​@YannG ,

 

Can you try on a failing board to have a 4MHz crystal instead of 8MHz , I know these are rare now on market.  The next step is to try to measure the HSI Frequency on the soldered failing devices ( Output on MCO , if you have means to upload a new cide via SWD ) versus well working devices.  

The rational of this question is here : How to optimize STM32 MCUs internal RC oscillator accuracy  It could be not a silicon revision but the way the batch is soldered on the PCB ( This is an LQFP144 ), section 2.2 and section 2.3 .

Hope it helps you

STOne-32. 

YannGAuthor
Associate II
Oct 30, 2026 11:25 AM UTC

Hello STOne-32,

Following our previous discussions regarding the USB DFU issue on our STM32F207ZGT6 boards, I would like to provide you with a summary of the additional tests we have performed and the solution we have decided to implement.

1. Crystal and oscillator tests

We performed several tests using different 8 MHz crystal references and oscillator technologies.

  • 4 MHz crystal: We tested a 4 MHz crystal in an HC49 package. With this configuration, USB DFU operation became systematic. This initially suggested that the issue could be related to the HSE oscillator startup or stability. However, this solution is not suitable for production, as our existing firmware is designed around an 8 MHz HSE and we cannot modify the firmware accordingly.

  • Standard 8 MHz crystal: We tested our usual reference, ECS-80-18-30B-AGN-TR, with a specified ESR of 100 Ω and 18 pF load capacitors. This is the crystal reference used on all our STM32-based boards. Unfortunately, we were unable to obtain consistent DFU operation on the affected boards, despite several replacement and configuration tests.

  • Alternative 8 MHz crystal: We also tested ECS-80-18-33-JGN-TR3, which has a smaller footprint and a higher ESR (approximately 400 Ω). This did not solve the issue either.

  • 8 MHz ceramic resonator: We tested a Murata 8 MHz ceramic resonator, CSTNE8M00G520000R0. With this component, USB DFU operation became systematic on two different boards, including a previously failing board.

Following this result, we continued looking for a resonator with improved frequency accuracy. We identified another 8 MHz resonator, CSTNE8M00GH5L000R0, featuring a frequency tolerance of ±0.07%. This is the best frequency accuracy we could find among the available alternatives.

2. HSI measurements and STM32 replacement

Following your recommendations, we also investigated the HSI clock using the MCO output on both a working and a failing board.

The measurements were approximately:

  • Working board: 16.04 to 16.08 MHz.

  • Failing board: 15.95 to 15.98 MHz.

These values are within the expected HSI accuracy range and did not reveal any significant difference that could explain the DFU issue.

We also replaced the STM32 on a failing board with an STM32 taken from a working board (revision previously identified as REV_ID 0x201F).

However, the failing board remained faulty after this replacement. Since the component removal and soldering operation may have affected the donor STM32, we cannot consider this test conclusive.

As previously discussed, we also observed a correlation between the silicon revisions:

  • REV_ID 0x201F: DFU operation observed on working boards.

  • REV_ID 0x203F: DFU failures observed on affected boards.

Nevertheless, our subsequent tests have not allowed us to establish whether the silicon revision is directly responsible for the issue.

3. Conclusion and production decision

Despite all these investigations, we have not been able to identify the exact root cause of the DFU failure when using our usual 8 MHz crystal, ECS-80-18-30B-AGN-TR (ESR 100 Ω).

In particular, we cannot explain why this crystal, which is successfully used on all our other STM32-based boards, does not provide reliable DFU operation on the affected boards.

However, tests with an 8 MHz ceramic resonator provided systematic and reproducible DFU operation on two different boards.

We have therefore decided to replace the standard crystal with the CSTNE8M00GH5L000R0 ceramic resonator (frequency tolerance ±0.07%) on the 200 affected production boards.

We will also implement a few additional component value changes as part of this rework, with the objective of improving overall board stability.

This solution allows us to retain the 8 MHz clock required by our existing firmware while ensuring reliable DFU operation, based on the tests performed so far.

We would nevertheless appreciate your feedback on these findings, particularly regarding the possible relationship between the STM32 silicon revisions and the HSE oscillator startup requirements of the system bootloader.

Thank you for your support and assistance throughout this investigation.

Best regards,

mƎALLEm
ST Technical Moderator
Oct 30, 2026 11:41 AM UTC

Hello,

Thank you for these inputs. Regarding this point:

We tested our usual reference, ECS-80-18-30B-AGN-TR, with a specified ESR of 100 Ω and 18 pF load capacitors

What did you use as load capacitors CL1 and CL2? based on the calculation you need to use 30pf for each CL1 and CL2.

How to select a compatible crystal and load capacitors for STM32 with layout guidelines

Especially this note:

 

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
AScha.3
Super User
Oct 30, 2026 2:05 PM UTC

Hi ​@YannG ,

if you want try: it seems, your problem coming from HSE not starting; so just try: reduce caps at crystal to 2x 12 PF.  (or even 2x 10 P.)

Try...now starting reliable ?

Reason is low gain of the inverter in the cpu oscillator, so high resistance (ESR 100 r) crystal + big load caps -- > no oszillation start.

If you feel a post has answered your question, please click on " Best Answer ".
STOne-32
ST Technical Moderator
Oct 30, 2026 6:53 PM UTC

Hi ​@YannG ,

 

I agree with comments from ​@mƎALLEm  and ​@AScha.3 , Try to reduce the CL1, CL2 to 10pF and let us know if it fix the failing boards.

Thank you for the detailed report .

Regards,

STOne-32

YannGAuthor
Associate II
Nov 2, 2026 7:39 AM UTC

Hello everyone,

First of all, I would like to thank you all for the interest and attention you are giving to this issue.

Regarding the HSE load capacitors, I have tested several external capacitance values ranging from 8 pF to 33 pF.

Unfortunately, none of these tests improved the startup behavior or resolved the DFU issue.

We have been using the same ECS-80-18-30B-AGN-TR 8 MHz crystal with 18 pF load capacitors on all our STM32-based boards for several years, without ever experiencing this type of issue.

The HSE still fails to start. On OSC_OUT, I consistently observe four startup attempts, spaced approximately 700 ms apart. NRST goes low after each attempt, causing the MCU to reset and retry. The supply voltage remains stable during these events.

At this stage, changing the external load capacitance alone does not appear to solve the problem.

Thank you again for your time and continued support.

mƎALLEm
ST Technical Moderator
Nov 3, 2026 8:58 AM UTC

Hello ​@YannG and thank you for the inputs.

According to the AN5067 “How to optimize STM32 MCUs internal RC oscillator accuracy” / Section 2.3 Internal oscillator drift and its impact:

I’m pretty sure you’re in this situation: HSI deviation due to re-flow process: mechanic stress during the die packaging + the PCB soldering process etc ..

So you need to use 4MHz, you don’t have other solutions.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
waclawek.jan
Super User
Nov 3, 2026 11:56 AM UTC

The incorrect “autobauding” issue is known for ‘F4 and ‘F7 and acknowledged in AN2606, too. 

> you don’t have other solutions.

There’s anecdotal evidence that deliberately heating the chip during bootloading may help.

An interesting option might be to try to use a custom non-standard host for DFU, where the host’s clock would be deliberately de-tuned. This could be a challenge to pull out, though. 

I’m not sure about the HSE startup issue in bootloader getting unreliable with the revision change. ST perhaps might want to dig into this deeper. You may want to try to replace the crystal by an oscillator (crystal-based or MEMS), although I’m not quite sure the bootloader will work with them.

JW

 

YannGAuthor
Associate II
Nov 4, 2026 7:53 AM UTC
Hello @mƎALLEm and @waclawek.jan,
 
Thank you both for your feedback and suggestions.
 
I understand the possible impact of the reflow process on HSI accuracy, as described in AN5067. However, some of my test results make me question whether HSI frequency deviation alone explains all the observations.
 
I have tested quartz crystals in HC49 packages at the following frequencies on the affected hardware: 4,8,12,16MHz.
These HC49 crystals have a significantly lower ESR than the SMD crystals tested.
I also successfully tested an external 8 MHz oscillator. Its output was connected directly to OSC_IN, with OSC_OUT left floating (Hi-Z), as described for an external clock source.
Importantly, this test was performed without modifying the existing STM32 clock configuration.
On the other hand, several 8 MHz SMD crystals fail, including our standard ECS-80-18-30B-AGN-TR crystal (ESR 100 Ω, CL 18 pF), which we have been using successfully on all our STM32-based boards for several years.
This difference between the SMD crystals, the HC49 crystals and the external oscillator makes me think that the issue could be related to the available HSE oscillator startup margin rather than solely to HSI frequency deviation.
 
There is another point that concerns us from a product reliability perspective.
When we program the board through SWD, with its original 8 MHz SMD crystal still fitted, the application starts and appears to operate normally.
Our application uses the external 8 MHz HSE through the PLL as its system clock. We do not use the HSI as a clock source in our application.
This raises an important question:
If the observed problem is indeed caused by an HSI frequency deviation, and the HSI is not used by our application, could this deviation have any other consequences during the lifetime of the product?
Could it lead to other unexpected behavior after the product has been delivered, even though the application starts and appears to operate correctly?
We would like to understand whether this is strictly a system bootloader limitation or whether it could indicate a more general reliability concern related to the MCU or the reflow process.
 
Following these results, we are considering redesigning some of our boards to use external 8 MHz oscillators instead of crystal-based oscillators.
However, this raises an important compatibility issue.
According to the STM32F207 reference manual (RM0033), an external clock source should normally be used in HSE Bypass mode, with HSEBYP and HSEON enabled. The external clock is connected to OSC_IN, while OSC_OUT is left floating.
Our existing application firmware configures the HSE using RCC_HSE_ON, as it was designed for a crystal.
During our external oscillator test, we connected the oscillator output to OSC_IN and left OSC_OUT floating, without modifying the existing STM32 clock configuration. DFU worked successfully.
Could you clarify whether HSE Bypass mode is strictly required when using an external oscillator with the STM32F207, both for the system ROM bootloader and for the user application?
In particular, is the successful DFU operation we observed with the external oscillator and the existing configuration a supported operating condition, or could it simply be a result of the particular test conditions?
 
We have an existing installed base of products sharing the same firmware. We cannot introduce a separate firmware version for the new hardware revision.
Therefore, any hardware redesign must remain fully compatible with our existing application firmware configured with RCC_HSE_ON.
Could you advise whether an external 8 MHz oscillator can be used in a way that remains compatible with this existing firmware, or whether another hardware solution would be recommended?
 
Before proceeding with the redesign, we would appreciate your opinion on the following points:
 
- How can the HSI frequency deviation hypothesis explain the successful DFU operation with HC49 crystals at 4, 8, 12 and 16 MHz, as well as with an external 8 MHz oscillator?
- Could the HSI deviation have any impact on application reliability if the HSI is not used by the application?
- Is HSE Bypass mode mandatory for an external oscillator, including when using the system ROM bootloader?
- Is there a way to use an external oscillator while retaining full compatibility with our existing firmware configured with RCC_HSE_ON?
 
Thank you again for your time and for helping us investigate this issue. We appreciate your continued support.
 
Best regards,
mƎALLEm
ST Technical Moderator
Nov 4, 2026 8:20 AM UTC

Dear ​@YannG,

The usage of 4MHz is s a recommendation which was based on tests and analysis done years ago following some customers who encountered the same issue as you. Crystals at 8 (resonators), 12 and 16 MHz could be fall in frequencies less than 16MHz that make the clock calculation of the bootloader determine the correct HSE clock. Also, the oscillator gain margin is an important parameter to select the suitable crystal for STM32 as stated in the article:

You need to use a crystal (XTAL) and not a crystal oscillator (XO). To my knowledge the bootloader was characterized with crystals not crystal oscillators. ​@STOne-32 correct me if I’m wrong.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
STOne-32
ST Technical Moderator
Nov 5, 2026 8:29 PM UTC

Hi ​@YannG ​@mƎALLEm 

That is true that Crystal HSE is the default mode in bootloader and bypass is not activated . However the hardware HSE stage on this MCU can work with an oscillator even the bypass mode is not selected and with valid pulse count the HSE ready will be set and run .

Regards,

STOne-32