Checksum Failed

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

cross mob
Anonymous
Not applicable

Hi, 

   

when I try to program a code example on multifunction expansion card with FTSK programmer, I always receive the next programming log:

   
    Programming Terminated   
   
    ===> Checksum Failed   
   
    Doing Checksum   
   
    Doing Protect   
   
    Programming Succeeded   
   
    Programming Starting   
   
    Erase Succeeded   
   
    Silicon: 0038, Family/Die: 15, Major Rev: A   
   
    >>>Program Requested   
   
        
   
    PSOC seems is programed correctly but this error always appears.   
   
    Can someone help me?   
   
    Thanks   
0 Likes
15 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

This forum software is a bit weired, so can it be that we have to read the lines from bottom up?

   

If so, it seems to be correct: The last thing you (the programmer) do is burning some last fuses, so that the contents cannot be red out ("protect") This implements that a checksum cannot give a correct result since nothing meaningful can be red back from that point on. Solution? Try to disable check-summing the device.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

 Thanks for reply.

   

How Can I disable checksum?

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Don't know exactly, did you try to disable verification in the PSoC programmer ?

   

 

   

Bob

0 Likes
Anonymous
Not applicable

 Hi Bob,

   

Yes I try to disable verification, but the error appears.

   

I think this error could be caused by 'Doing Protect' action, after programation is corfirmed. Is posible disable it?

   

I dont find where.

   

 

   

Thanks

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

There is a file named "flashsecurity.txt" shown in the workspacwe explorer. Edit this file accordingly to unprotect your flash-areas if you want to.

   

 

   

Bob

0 Likes
Anonymous
Not applicable
    Hi Bob,   
   
        
   
    I have detected the problem but is very strange.   
   
        
   
    When I'm using the computer with a high comsuption of resources (like compiling a linux kernel) and then I try to program a PSoC, checksum process is OK, but when resources are free, checksum fails.   
   
        
   
    ???   
   
        
   
    It seems be fine when works slowly.   
   
        
   
    Is posible reduce the programming velocity ? Or do some similar?   
   
        
   
    Thanks   
0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

This looks a bit weired now, better try to file a technical case (under "Support -> Technical Support -> Create a Case" at the top of this page) to get some Help from Cypress directly.

   

 

   

Bob

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

This looks a bit weired now, better try to file a technical case (under "Support -> Technical Support -> Create a Case" at the top of this page) to get some Help from Cypress directly.

   

 

   

Bob

0 Likes
ArvindK_86
Employee
Employee
10 sign-ins 5 sign-ins 10 solutions authored

Yes, this does sound weird.. 

   

 

   

Do you have a spare system which you use to program your device? That will help you make sure it's the PC/software that is causing the problem.

   

 

   

Regards,

   

Arvind

0 Likes
Anonymous
Not applicable

Did you ever find out what was causing the problem?  I am getting the same error. Sometimes, the device does get programmed, but sometimes I get the error.

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

What hardware, which board, which PSoC, which programmer and which software version are you using?

   

 

   

Bob

0 Likes
MoHa_301381
Level 1
Level 1
5 replies posted Welcome! First question asked

 Hello

   

I have the same problem, the following message appears

   

Program Finished at 12:42:25 ص                                

   

                                                              | Programming Terminated

   

                                                              | ===> Protect Failed

   

                                                              | Doing Protect

   

                                                              | Programming Succeeded

   

                                                              | Programming Starting

   

                                                              | Erase Succeeded

   

Device set to CY8C24423A at 12:42:20 ص                         | 4096 FLASH bytes

   

Device Family set to 24x23A at 12:42:20 ص                    

   

                                                              | Automatically Detected Device: CY8C24423A

   

Program Requested at 12:42:19 ص                              

   
        
0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

You do not have a checksum faillure, but a protection faillure.

   

I would suggest to

   

First: switch off all protection completely and verify programming and project working correctly.

   

later: start switching on protecction which afaik cannot be verified (due to the protection)

   

 

   

Bob

0 Likes
Anonymous
Not applicable

 I as well get this

   

Verification of "Protect Area" is FAILED!

   

Programming Terminated

   

===> Protect Failed

   

Doing Protect

   
        
   
    I used to have the checksum fail until I turned everything in flashsecurity.txt to "U" or unprotected. I've also tried changing which aquire mode I'm in and have verification off. Any ideas?   
   
        
   
    I'm using Mini Prog3/1229DD000931   
0 Likes
Anonymous
Not applicable

 The cause for this issue may be the following:

   

 

   

1. Presence of Pull Up resistors on I2C lines. Refer to webpage: http://www.cypress.com/?id=4&rID=37644 to know more.

   

 

   

2. Make sure the VTARG pin is connected to VDD of PSoC. The MiniProg3 always checks that there is the correct voltage there, whether it is powered from the MiniProg or from the board.

   

 

   

Regards,

   

Saheem

0 Likes