2024-07-04 03:06 AM - edited 2024-07-04 03:07 AM
Hello,
I am using the sbsfu application. Once I have implemented the SBSFU firmware to the board, when I connect the board to the STM32Cubeprogrammer, the SBSFU application is in lock status because it has detected an intrusion. I would like to add a printf warning about the intrusion as soon as possible when this situation happens or when someone unauthorized tries to update the firmware. Is it possible to do the following and where should I add it?
2024-07-23 08:52 AM
2024-07-23 09:06 AM
2024-07-23 10:08 AM
Hi @Istillaga ,
OK on STM32U5 you have an internal tamper (tamp_itamp6) that detects a JTAG/SWD access.
You need to enable this tamper and store the event when it triggers.
Now, I don't think this can work with RDP Level 1 as MCU will be locked directly because of RDP Level 1.
You may check this with RDP Level 0.5 or RDP Level 2 I think.
Regarding the firmware update, you cannot detect any intrusion. The firmware update will never happen through JTAG. If someone tries to update the firmware using a binary that is not properly signed it will be just rejected. This will be visible on the default logs
Best regards
Jocelyn