Dear
Customer use our cc2540 in their product,about 1/200 product appear program loss issue lately,and it become nomal work after reload program,pls help provide some suggestions
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Dear
Customer use our cc2540 in their product,about 1/200 product appear program loss issue lately,and it become nomal work after reload program,pls help provide some suggestions
Hi,
Can you please provide some more details to try to help diagnose the issue: if you read out the flash of an affected board using a programming tool instead of just reloading it, do you see flash as being totally blank, or is it simply different than the expected memory? If it's different, can you provide info about what differences there are (e.g. blank sections, individual bad bytes, and are bits always going 1->0 on the failing units)?
Do you have OAD functionality in your application?
Do you use any locking/protection mechanism on the flash?
Regards,
Katie
Hi,
Thanks for your answer first.And the differences between normal and bad image file as follows:
1.from 00001000 to 00015000 total 80KB image codes lost ,instead by FF.
2.The right crc shadow 0x2012 ocupied by 0xFFFF,and the file name space has the same problem.
Please help us solve the issue.
Best regards.
Hi,
We use Universal Boot Loader for SOC-8051 by USB-MSD updating image run code. The UBL receives image data and erases the flash.I doubt that the problem occured in writing data to the flash,but i do not know why this would happen.
The GPIO set in the struct as follows:
I never use the GPIO P1.2 after boot.
As before I said,sometimes the problem happened when powered on,and sometimes it happened on working.tT
To deal with this problem,I have changed the bootloader codes not using the GPIO.
After some tests,the problem not happened again.