cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103VFT6 99CBK 93 A MYS 99 322

FLast.14
Associate III

Hi 

 

Since almost 10 years I'm working with STM32F103VF microcontroller with KEIL IDE, and I don't have any problem. But yesterday I received the last batch from my PCB manufacturer, and it installs that reference STM32F103VFT6 as always, but I can't debug with KEIL. And I don't understand why. 

 

I erased all sectors, and with ST-link Utility I can program my device successfully, but I can't debug with KEIL. 

 

Is anything to take into account to debug it? 

If I check the completely name writted in the microcontroller I can see: STM32F103VFT6 99CBK 93 A MYS 99 322

Is this batch the problem?

 

Regards, 

12 REPLIES 12
STOne-32
ST Employee

Dear @FLast.14 ,

 

Can you provide a picture of top marking ? Also using ST-link utility to have the UniqueID in that device .

how many parts are impacted ? And finally what means You can not debug ? If possible to provide more details with MDK Keil ?  Most probably it is not a genuine ST product and please check with you PCB manufacturer on their sources .

 

Cheers,

STOne-32

Dear @STOne-32 

The picture of uC is:

Image (2).jfif

 

I do the follow steps:

1) Open the keil and compile. Press "Start Debug Session"

2) The following messages appear:

FLast14_0-1705905918272.png

FLast14_1-1705905925114.png

 

3) then I open St-link Utillity, and connect the target. The go to Target menu > Option bytes, I DON'T change anything, only "apply" the current options:

FLast14_2-1705906005844.png

4) Then go to Keil again, and press "Start Debug" and it

FLast14_3-1705906136830.png

5) But the cursor do not is in "main" function. 

FLast14_4-1705906371011.png

6) If I burn this part of the project with the St-link utility, there is no problem and the code progresses and the device works fine. So, I can't debug. 

 

My project has three parts: Bootloader, a Module, and application part.  From bootloader the code jumps to application part, and it when is working the device does some queries to Module part and it answers. 

FLast14_5-1705906956540.png

 

About Keil + St-link:

FLast14_6-1705907046056.png

What do you think can be happening?

Thanks

 

FLast.14
Associate III

When I do the same with old board:

FLast14_7-1705907778883.jpeg

There is no problem, I can debug:

FLast14_8-1705907801700.png

FLast14_9-1705907823254.png

 

 

Hi @FLast.14 ,

 

The marking of the device shows it is not an ST genuine Part as we never split the STM32F103VFT and then 6 on new line .

as shown in the working MCU .

 

please contact your manufacturer/supplier 

Ciao ,

STOne-32

 

FLast.14
Associate III

FLast14_0-1705913099819.jpeg

 

Thank you, I will contact with my manufacturer.... 

 

FLast.14
Associate III

Hi

I've contacted with my components supplier, this is an official distributor from ST in Spain, and they say:

 

FLast14_1-1706007633709.png

@STOne-32 do you have any other answer?

Regards, 

What version of the Keil tools and ST DLLs are you using here?

They might need update.

 

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Hi @FLast.14 ,

Yes, now the right path is to Open an official Ticket on our Online support, you will be in touch first with our regional team : Technical and Quality for follow-up of this unusual strange case indeed .

Cheers,

STOne-32.

Not addressing your specific issue, but here are Keil's most recent versions

https://developer.arm.com/documentation/ka005381/latest/

Notionally living in C:\Keil\ARM\STLink depending on your install.

You could also install a current version of the MDK and move files, but just be aware the MDK 5.3x doesn't ship with the version 5 compiler, but only version 6, and that might take some rework of code/projects if they are old.

 

The newer / alternate mask sets should be very similar, but would check the errata, and whatever @STOne-32 can offer in regards to deltas and differences, and differences in System Loader placed in the devices.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..