How to secure firmware?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

It would be great if I could stop anyone with a JTAG device from reading the firmware off my BCM943362WCD4.

How do I protect my firmware from being read off the device?

0 Likes
1 Solution
Anonymous
Not applicable

Writing 0xcc to RDP option byte makes it possible.

But it doesn't allow you(anyone) to use JTAG anymore.

So please use it very carefully.

For detail, please see programming manual of STM32.

View solution in original post

0 Likes
3 Replies
Anonymous
Not applicable

Writing 0xcc to RDP option byte makes it possible.

But it doesn't allow you(anyone) to use JTAG anymore.

So please use it very carefully.

For detail, please see programming manual of STM32.

0 Likes
Anonymous
Not applicable

Thank you for replying!

If I use this method, can I still over-write the firmware using the JTAG and OpenOCD?  

0 Likes
Anonymous
Not applicable

0xcc is the nuclear option.  It isn't reversible.  The Level 1 is probably more along the lines of what you are looking for.

Here is a more detailed answer, but as dmiya said, the STM32 programming manual has all the details.

http://stackoverflow.com/questions/32509747/stm32-read-out-protection-via-openocd

0 Likes