Hi,
customer wants to know per SW if a debugger is connected. In F280049 there was the bit RESC.bit.DCON. F28388 has only GLBL_OWNER_BITS.bit.OWNER. Is this the same?
Regards, Holger
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.
Hi,
customer wants to know per SW if a debugger is connected. In F280049 there was the bit RESC.bit.DCON. F28388 has only GLBL_OWNER_BITS.bit.OWNER. Is this the same?
Regards, Holger
Hello Holger,
In F280049 there was the bit RESC.bit.DCON. F28388 has only GLBL_OWNER_BITS.bit.OWNER. Is this the same?
It doesn't look like these are the same, per the register description the bit is for determining what owns the module (ERAD), it doesn't seem to be regarding who owns the device itself hence why there's an option for 'No Owner'. I will forward this to a debugger expert to see if there is some other possible status bit to look at.
Holger,
Unfortunately it seems like this DCON bit was added in F28004x and only exists in newer devices. I do not think any equivalent exists in older devices.
Best Regards,
Ben Collier
Hi Ben,
both devices are Gen 3 and the F28388D is 2 years younger. So why was it removed or is it a hidden bit and customer can use it?
Regards, Holger
Holger,
I'm not sure why it was removed, but the bit does not exist in F2838X devices. It may be difficult to find an answer for this.
Best Regards,
Ben Collier
Hi Ben,
so no possibility to recognize a connected debugger in SW? May be you can set some register bit per .gel file?
Regards, Holger
Holger,
That is a good idea, and it should be possible. I have not done something like this before, but the GEL file should be able to write some register upon connection, but that register would not be cleared if the JTAG probe is disconnected (until there is a device reset).
Let me know if you need help with this, and I will try to find the right expert to help you.
Best Regards,
Ben Collier
Hi Ben,
do you have any idea what register/bit could be used for this? Is writing to RAM also possible?
Regards, Holger
Holger,
I don't think it matters which memory location is used, I think writing to RAM should be possible.
Best Regards,
Ben Collier