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.
Hello,
CCSv9.3 returns a Load program Error when launching a debug session when I try to debugging/programming a TMDSCNCD28335PGF R1.0 control card (i.e. F28335 PGF Control Card Version 1.0) with Docking Station USB-EMU [R3]). Please see hardware images at the bottom of this post.
The console shows (xxx are for privacy):
C28xx: GEL Output:
ADC Calibration not complete, check if device is unlocked and recalibrate.C28xx: Flash Programmer: Device is locked or not connected. Operation cancelled.
C28xx: File Loader: Memory write failed: Unknown error
C28xx: GEL: File: C:\xxx\xx\xxxx\xxx\xxxxxxx.out: Load failed.
It is possible the micro on the control card was password protected, I tried to following:
1. I set SW2 on the control card as follows:1 On, 2 On, 3 Off, 4 Off.
2. I set "The JTAG nTRST Boot-Mode" to Enabled - EMU1 is high, EMU0 is low and "The Power-On-Reset Boot_Mode" to "Enabled - EMU1 is high, EMU0 is low"
2. Connect to the target.
However, when I try to load the program I get the same failure message.
I am wondering if a xds100 JTAG debugger would work differently. Is it possible to connect a xds100 JTAG debugger to the JTAG connector at the same time as the USB connector is plugged in (for power. I don't have 5V power source that I can plug into JP1)?
Does my issue indicated the micro was password protected?
Stephen
Steven,
I am now looking at your question, should be getting back to you shortly
Regards,
PEter
Stephen,
Sorry about the delay, I just got some advice from the Control Card expert. This possibly looks like a device lock, could you check the lock bit?
Regards,
Peter
Ok, I don't have the device with me now, but I will take a look at it when I get it sometime this week.
What lock bit are you mentioning?
If you mean the password address, Is it possible to look at the memory by just connecting to the device? How would I tell if the device is locked?
Steven,
I will be getting back to you on this on Monday, sorry for the delay
PETer
Steven,
I apologize for not getting back to you, I am actively working on this post now.
Regards,
Peter
Howard,
Please take a look at the CSMSCR register (CSM Status and Control Register) - when bit 0 is one device is secure (CSM locked)
Regards,
Peter