KIT_A2G_TC377_SEC_GTW Flash

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

cross mob
Nikhil_U
Level 1
Level 1
First like given 5 questions asked 10 sign-ins

Our evaluation board is the TC377_SEC_GTW.

We tried to erase Pflash data, but it took 194 milliseconds to erase the operation, even if it was just one or a few sectors, and it stopped or paused all other processes for that period.

Since the Pflash erase operation is within the control of the Flash Controller, can I find out why the CPU is pausing for 194 ms during this operation?

Can you tell me why it's taking 194 ms and how the CPU determines that it must wait and pause all other processes while performing the erase PFlash operation?

We estimated the erase operation's time, which is 194 ms, and displayed it in the picture below.

9ff09b48-0411-42ab-9532-0bafa6150ca5.jpg

 

0 Likes
1 Reply
Anupama_A
Moderator
Moderator
Moderator
50 solutions authored 10 likes received 250 sign-ins

Hi @Nikhil_U , 

 

Can you please tell which memory range you're trying to erase and where is the code being executed?

You could also refer to the Data sheet to check erase time per sector.

Additionally, Could you tell how you are confirming CPU being halted ? For confirming the same, you could put some toggle LED code and see if it executes during that time.

 

Best regards, 

Anupama. 

0 Likes