Poll

 Is the code is locked

Is the code is locked
1 (50%)
is there a solution to unlock it?
1 (50%)

Total Members Voted: 2

Author Topic: help to read MCU firmware  (Read 1236 times)

0 Members and 1 Guest are viewing this topic.

Offline nassihTopic starter

  • Newbie
  • Posts: 7
  • Country: ma
help to read MCU firmware
« on: December 09, 2023, 11:49:40 am »
hello I am trying to export the contents and parameters of a tms320f28021 memory with the uniflash tool via debugger xds100 v2, but the problem is that I cannot read all the contents of the memory; an error message appears:  error memory map prevented reading 0x200000@data. Is the code is locked? If yes, is there a solution to unlock it? Is there another software similar than uniflash that can do this job?

 

Online jpanhalt

  • Super Contributor
  • ***
  • Posts: 3479
  • Country: us
Re: help to read MCU firmware
« Reply #1 on: December 09, 2023, 11:56:04 am »
There are numerous studies and attempts to unblock/unlock chips.  One method uses "decapping" followed by microscopic attachment to the chip.  Here's an old reference to get you started: http://core.kmi.open.ac.uk/download/pdf/72289.pdf
 

Offline nassihTopic starter

  • Newbie
  • Posts: 7
  • Country: ma
Re: help to read MCU firmware
« Reply #2 on: December 10, 2023, 12:34:37 pm »
thank you for the answer and the link, first I want to know if the code is locked, because I can export part of the memory
 

Offline nassihTopic starter

  • Newbie
  • Posts: 7
  • Country: ma
Re: help to read MCU firmware
« Reply #3 on: December 10, 2023, 12:39:45 pm »
please the link is not working if you can send another tanks
 

Online jpanhalt

  • Super Contributor
  • ***
  • Posts: 3479
  • Country: us
Re: help to read MCU firmware
« Reply #4 on: December 10, 2023, 02:20:46 pm »
I am sorry about that.  I almost always check a link that I post, but I didn't in that case.  Unfortunately, the pdf is too large to upload too.

Just search on "decapping."  That would lead to other references on bypassing firmware protection "fuses" and so forth.
 

Offline KG7AMV

  • Frequent Contributor
  • **
  • Posts: 321
  • Country: us
  • Rhine_Labs
    • My Personal Blog
Re: help to read MCU firmware
« Reply #5 on: December 12, 2023, 10:03:23 am »
Hello, I quickly looked at the device options form my Xeltek programmer software I do not see any options for security or protection on that device.

Some devices have alternate security/protection methods generally noted in the device info, this device had no notes but not uncommon for some devices to be missing the info. One common alternate method is that you need to edit the buffer at specific addresses basically a key. You may want to check the data sheet. Another is they lock out read attempts via SPI or other ISCP so can only be read in parallel mode.



Update I did look at device config and it is most likely locked with the key type protection. So unless you send it out to a pro (decaping and extraction) You are prob not getting the contents)



Form the look's of the device config they prob left some areas FFFF unlocked so part of the contents could be read such as serial number / model info but you are prob just getting jibberish on the read because its locked.

« Last Edit: December 12, 2023, 10:14:09 am by KG7AMV »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf