DEBUGCMD and MBKPT_FLAG in DEBUGSTATUS

Any technical questions about the Epiphany chip and Parallella HW Platform.

Moderator: aolofsson

DEBUGCMD and MBKPT_FLAG in DEBUGSTATUS

Postby timpart » Tue Jan 14, 2014 1:37 pm

Following on from I was wondering how the MBKPT_FLAG is unset following it being set by a MBKPT instruction. That led to the following speculation...

Presumably it must happen as a result of writing 00 to DEBUGDMD, as DEBUGSTATUS is read only.

Do the contents of bit 1 when writing to DEBUGCMD affect the contents of MBKPT_FLAG? Thus writing 00 would clear it.

If so does it only affect the local core copy MBKPT_FLAG or does the zero propagate to other cores in the group? (That impacts whether one or many writes to DEBUGCMDs are needed to clear the MBKPT_FLAGs.)

If it propagates, would writing 11 to DEBUGCMD effectively cause a MBKPT?

Thanks in advance,

Tim
timpart
 
Posts: 302
Joined: Mon Dec 17, 2012 3:25 am
Location: UK

Re: DEBUGCMD and MBKPT_FLAG in DEBUGSTATUS

Postby aolofsson » Wed Jan 15, 2014 3:41 am

User avatar
aolofsson
 
Posts: 1005
Joined: Tue Dec 11, 2012 6:59 pm
Location: Lexington, Massachusetts,USA

Re: DEBUGCMD and MBKPT_FLAG in DEBUGSTATUS

Postby timpart » Wed Jan 15, 2014 12:27 pm

Thanks Andreas. The EARM describes DEBUGSTATUS as just readable. So it is writable as well but this is not recommended. If features are added in the future it may be even less desirable to do so, so I'll stay away from that.

Tim
timpart
 
Posts: 302
Joined: Mon Dec 17, 2012 3:25 am
Location: UK


Return to Epiphany and Parallella Q & A

Who is online

Users browsing this forum: No registered users and 19 guests