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
JTAG:
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...
SCI
*** 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.
Jacob,
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...)
Regards,
Trey
Trey German
C2000 Applications
Hello Trey,
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.
Thanks,
Jake