I am trying to use the Segger J-Flash to program my TMS470R1B1M. I am currently using the MSM & Flash security modules. I currently cannot figure out how to unlock the Flash memory in the j-flash project configuration.
Does anyone know how in the Segger J-flash software to make it unlock the flash security module? Thanks! This is most urgent.
I can load & reprogram the device using the IAR embedded workbench and know my keys and how to load them. I also know how to unlock the MSM as i can read the memory after connecting using the J-flash.
Unfortunately, we do not have much experience here using the Segger tools with the TMS470R1B1M. I would try contacting Segger to see if they can help you with this.
John Hall
Safety MCU Software Team
If my reply answers your question please click on the green button "Verify Answer"
i guess what I am trying to ask is for an exact set of steps to manually unlock the flash. I can unlock it using the IAR embedded workbench, however, that just abstracts the process by having special flash loader directives.
I know the general steps are
read the FSM password locations in flash (0xFFF0 - 0xFFFF for the TMS4701R1B1M).
Write the FSM passwords to a register or registers to unlock. Can you flesh out the details for me? I think if i have the steps to manually unlock it I can figure out how to configure the J-Flash software. I am also contacting Segger but was hoping that TI or people on the forums had used the J-Flash software to program the TMS470s for production.
can anyone confirm the steps to unlocking the Flash memory on the TMS470R1B1M?
Jonathan ,
You may have to read the Flash protection key values (4 Word) and write the same into FMPKEY Register.
For TMS470R1x the protection keys should be at the last four words of the first sector.
You may refer the device data sheet for this.
- Pratip
Do i need to read the first word, write the first word, read the second, write the second, etc? Or is it like the MSM where you read all 4 and then write all 4?
You need to do all the four writes one after the other at once..
Jonathan,
We hope you were able to resolve your issue.
This query is on one of our older architecture and we were not able to help you quick.
We will wait for you confirmation until 14th Feb and close on this.
You may anyways file a new query if you still continue to face any issue.