cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F303CCT6 vs STM32F303CBT6

ValterMatos
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions

@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.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

View solution in original post

15 REPLIES 15
mfgkw
Senior II

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.

mƎALLEm
ST Employee

Hello @ValterMatos and welcome to the ST community,

This information is provided in the product datasheet / Section 8 Ordering information:

mALLEm_1-1763483972215.png

and in Table 2. STM32F303xB/STM32F303xC:

mALLEm_2-1763484103542.png

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 ..

 

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Andrew Neil
Super User

@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?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
ValterMatos
Associate II

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.

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. 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

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?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
ValterMatos
Associate II

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

ValterMatos
Associate II

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.


@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.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.