How to detect STM32F437 vs STM32F427 via software? Am I victim of chip fraud?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-29 7:04 AM
Hi,
I have a chip marked as STM32F437 but my software fails on running the SHA256 algorithm on the hardware crypto module.
The only difference to the STM32F427 is the additional presence of a hardware crypto accelerator in the STM32F437.
How can I check that the crypto module is present and enabled?
When I check the DBGMCU_IDCODE register I read 20016419h on both.
That means
-DEV_ID: 2001h STM32F42/STM32F43 Rev 3,4,5, and B.
-REV_ID: 419h STM32F42 STM32F43
So I can not differentiate between STM32F42 and STM32F43.
How can I do that?
Is there any known criminal chip cloning known for STM32F437?
I attach pictures of the chip that works as expected and a chip that dos not work.
Thanks in advance, Adib.
--
- Labels:
-
Cryptography
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-30 2:07 AM
here a more crisp picture of the bad chip.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-09-30 2:09 AM
Here is the description of the Chipmarkings as read from the device datasheet STM32f437.
For me the 2 and the 3 in the second line, right position, are the revision codes.
Maybe a synonym to line codes?
Regard, Adib.
--
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-01 1:26 AM
I have a Nucleo-F429ZI and build a simple app using CubeMX pretending a F439ZI.
When I access the HASH module there is no bus error or similar.
It looks like reading all zeroes from this (nonexisting) HASH module.
The default generated system ISR should call an endless loop.
Is there a need for additional setting on a register to call the error trap in this case?
Regards, Adib.

- « Previous
-
- 1
- 2
- Next »