2025-11-18 6:19 AM - last edited on 2025-11-18 8:37 AM by mƎALLEm
I recently purchased some STMF303 boards for implementing a free pre-compiled HEX file.
I received the boards with the STM32F303CCT6 chip, but the pre-compiled file was for the STM32F303CBT6 chip. The HEX loads but does not run on any 303CCT6.
Are there significant compatibility differences between the CCT6 and CBT6 chips that would justify this?
Could I have lost the purchased boards?
Thank you.
Solved! Go to Solution.
2025-11-19 3:34 AM
@ValterMatos wrote:
therefore we lack sufficient knowledge to debug a complex HEX file.
Debugging is something related to the source code not to the HEX file.
"Debugging" HEX file is something to do with experts.
2025-11-18 6:27 AM - edited 2025-11-18 6:35 AM
Hi,
the STM32F303CCT6 has 256kB Flash, while STM32F303CBT6 has only 128kB.
So a binary for STM32F303CBT6 should fit
I see no other differences. The problem should be somewhere else.
P.S.: ... and 40kB SRAM instead of 32, but should be no harm as well.
2025-11-18 8:45 AM
Hello @ValterMatos and welcome to the ST community,
This information is provided in the product datasheet / Section 8 Ordering information:
and in Table 2. STM32F303xB/STM32F303xC:
The difference is in the Flash and RAM size . I don't see other differences. So if you have a hex file working fine on CBT6 that should work on CCT6.
Are you sure the boards are OK? boot pin? power? etc ..
2025-11-18 9:29 AM
@ValterMatos wrote:I recently purchased some STMF303 boards for implementing a free pre-compiled HEX file.
Are you sure those boards are actually suitable for that hex file?
Are you sure that they work at all ?
Please share details of this mystery Hex file?
Have you discussed this with the author/provider of the Hex file?
2025-11-18 11:56 AM
The files were shared at:
https://disk.yandex.ru/d/QJmF7P2byAYma
https://disk.yandex.ru/d/zgN9puZg3NKG8m
The idea was to train a group of students in electronics to make an oscilloscope STM as a work tool. As we don't have enough experience in STM programming, we decided to select a shared project.
I spoke with the author who reported having no problems at the time when using the 303CBT6.
Maybe we'll try another project.
Thank you.
2025-11-19 12:10 AM
Hello,
Unfortunately we cannot progress based on the information you shared with us. If you have the same board with CBT6 and confirm the hex file is working fine.
2025-11-19 2:16 AM - edited 2025-11-19 2:18 AM
So can you not get the author of the project to share the source, so that you can easily debug what's actually happening on your board?
Again:
Are you sure those boards are actually suitable for that hex file?
Are you sure that they work at all ?
PS:
Or, conversely, send one of your boards to the author, and have them test/debug it?
2025-11-19 3:21 AM
Unfortunately, the author does not share the source code. At the time, he used the 303CBT6. All the boards we received were 303CCT6, which is apparently compatible and even better. We followed all the resources requested by the shared electronic circuit and used STLink to program the HEX.
We programmed other files on the boards for testing and they are good. I believe that the shared HEX, shown in the previous message, may be corrupted.
We will try to switch to another project with available source code that uses the 303CCT6 boards we have.
It is a study project for students with limited resources.
Thank you very much for your help.
Thank you
2025-11-19 3:28 AM
We are still in the early stages of developing STM microcontroller programming, therefore we lack sufficient knowledge to debug a complex HEX file.
Thank you all for your help and understanding.
2025-11-19 3:34 AM
@ValterMatos wrote:
therefore we lack sufficient knowledge to debug a complex HEX file.
Debugging is something related to the source code not to the HEX file.
"Debugging" HEX file is something to do with experts.