Just received some custom boards using an F28335. These boards are set up for flash programming using either JTAG (currently using a Blackhawk USB2000) or using an SCI port using the c2prog utility.
After powering up and checking power supplies, ect., I attempted to program these boards and received the following errors
C28xx: Flash Programmer: Error erasing Flash memory.C28xx: Flash operation timed out waiting for the algorithm to complete. Operation cancelled.C28xx: Trouble Writing Memory Block at 0x324a8f on Page 0 of Length 0x484 Cannot write to target
Please note that at 0x324a8f on Page 0 is where my .cinit section is located...
*** PLEASE RESET TARGET IN SCI BOOT-LOADER MODE ***Connecting with target (autobaud)... OK.Bootloading... failed (no response)!
However I am able to connect to the MCU by going to:
At this point I am able to connect to the controller and I am seeing assembly in the Disassembly window. I have tried to erase the Flash, and program the flash using the 'On Chip Flash' tools but have not had any luck. I was hoping that maybe someone here would be able to help me out with something I may be over looking.
I've seen similar issues when the flash is not correctly powered. Can you confirm that VDD3VFL is powered correctly to 3.3V? Ground are equally important as well. Do both F28335's on the board behave the same way? (I've seen the schematics...)
The power supplies are providing 3.3V. And we have not been able to detect any grounding problems to this point.
The work around that we were able to find was that we jumpered the two GPIO84 pins for both DSPs together, then jumpered them to ground which allowed us to flash these devices using C2Prog. After they have been programed with this utility we have no issues connecting the JTAG.
We have not been able to see how we are unable to erase or write to flash initally.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.