[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Parallella Community • View topic - Debug halt from command line?

Debug halt from command line?

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

Moderator: aolofsson

Debug halt from command line?

Postby markd » Fri Aug 28, 2015 3:57 pm

I'm trying to put the Epiphany chip into a debug halt state using e-write, and it doesn't seem to be working.

If I understand correctly, writing a one to E_REG_DEBUGCMD should work
e-write 0 0 0xf0448 1

And then the E_REG_DEBUGSTATUS register should reflect that with a 1 in bit 0. But it returns 0 instead:

parallella@parallella:~$ e-read 0 0 0xf040c
[0x000f040c] = 0x00000000

(I had written an infinite loop and run it on core 0 0 prior to trying the debug break)

Also using e-read on almost any register returns 0 (including E_REG_PC) while running an example

I'm running ubuntu-14.04-headless-z7010-20150130.1.img
markd
 
Posts: 11
Joined: Mon Dec 17, 2012 3:28 am

Re: Debug halt from command line?

Postby sebraa » Fri Aug 28, 2015 4:39 pm

sebraa
 
Posts: 495
Joined: Mon Jul 21, 2014 7:54 pm


Return to Epiphany and Parallella Q & A

Who is online

Users browsing this forum: No registered users and 9 guests

cron