STM32F105: same firmware loaded to two devices but the one of them is not working as expected
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-19 7:05 AM - last edited on ‎2024-03-19 9:57 AM by mƎALLEm
Hello,
I read out bin file from MCU STM32F105 and tried to write to the same new MCU, but on new MCU firmware do not work correctly.
Different is between those mcu the old have marked CHN GQ and new one have MYS 99
Any ideas where is the problem?
- Labels:
-
STM32F1 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-19 7:11 AM
Hello,
It could be something related to the option bytes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-19 7:33 AM
I don't know the STM32 behaviour if you read a locked chip - does the read just fail? Or does the read proceed, but give rubbish data?
Also, perhaps the owner of the code has done something "clever" to prevent copying; eg, keying to the unique ID?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-19 8:12 AM - edited ‎2024-03-19 8:12 AM
Did you retrieve the all Flash content?
As it could be something related to the option bytes (different values). You can check and compare the content of the option bytes using STM32CubeProgrammer tool going to OB menu:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-19 3:02 PM
Perhaps review in the context of the rest of the circuit.
Does the external clock start? Any signs of life?
BOOT0 pulled LOW?
Perhaps review the code, check if that's got the potential to work properly, or has some secondary dependencies.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-20 12:55 AM
Chip is not locked, and firmware is working but partially, indicator is blinking, but MODE button do not work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-03-20 1:02 AM
Old chip is damaged, one pin is broken I have resoldered new chip to old pcb, so problem can be only with new chip or firmware.
