cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L151RDT6 (SMD marked as rev V) but ST-Link utility displays "Unknown" revision ID and wrong flash size(256 isntead of 384KB) (ID_CODE = 0x10f86427) . Where I can find full list of silicon revisions of this particular MCU ?

OrestHWeng
Associate II
 
16 REPLIES 16
OrestHWeng
Associate II

In addition to that. Debug session allways start with the HardFault_Handler().

What I have noticed that for the particular MCU there is A, Z, Y, X, 1 revision (according to errata sheet) and no one has 10f8 ID CODE.

Looks like i got a clone.

OrestHWeng
Associate II

0693W00000QKsK4QAL.bmp

Don't use the ST-LINK Utilities, it has been deprecated for several years at this point. Use STM32 Cube Programmer.

The Reference Manual and the Errata?

The RM should have details of the Chip, Stepping/Revision, and also the address in OTP to read the tested flash size from.

https://www.st.com/resource/en/reference_manual/rm0038-stm32l100xx-stm32l151xx-stm32l152xx-and-stm32l162xx-advanced-armbased-32bit-mcus-stmicroelectronics.pdf

https://www.st.com/resource/en/errata_sheet/es0240-stm32l15xxc-stm32l15xxd-stm32l15xxca-stm32l162xc-stm32l162xd-device-errata-stmicroelectronics.pdf

STM32L15xxC STM32L162xC Rev 0x10F8 

Should be marked as "1" or "V", please attach a large, clear, in focus image of the part in question.

0693W00000QKsMAQA1.jpg

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

Pull current materials

https://www.st.com/en/microcontrollers-microprocessors/stm32l151rd.html#documentation

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

0693W00000QKsOVQA1.jpg0693W00000QKsOkQAL.bmp

Pull current tools, tools which are old are not future-proof, and will not be aware of any new die, mask sets, fabs or steppings

https://www.st.com/en/development-tools/stm32cubeprog.html

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

Cube Programmer also can not recognize the REV ID:

19:16:00 : Board    : --

 19:16:00 : Voltage   : 3.25V

 19:16:00 : SWD freq  : 4000 KHz

 19:16:00 : Connect mode: Normal

 19:16:00 : Reset mode : Software reset

 19:16:01 : Device ID  : 0x427

 19:16:01 : Revision ID : --

 19:16:01 : UPLOADING OPTION BYTES DATA ...

 19:16:01 :  Bank     : 0x00

 19:16:01 :  Address    : 0x40023c1c

 19:16:01 :  Size     : 136 Bytes

 19:16:01 :  Bank     : 0x01

 19:16:01 :  Address    : 0x1ff80000

 19:16:01 :  Size     : 136 Bytes

 19:16:01 : UPLOADING ...

 19:16:01 :  Size     : 1024 Bytes

 19:16:01 :  Address    : 0x8000000

OrestHWeng
Associate II

And the screenshot of document is page of ERRATA to L15xx family of devices

@Peter BENSCH​ @Nawres GHARBI​ @Sara BEN HADJ YAHYA​ 

Can you please review this situation with the consistency of the tools, docs, and markings. Thanks.

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