From: Shaun Jackman <shaunj@gray-interfaces.com>
To: gdb@sources.redhat.com
Subject: debugging an Atmel EB40 with a Jeeni
Date: Mon, 25 Sep 2000 11:29:00 -0000 [thread overview]
Message-ID: <00092512292800.00690@ed> (raw)
I have an Atmel EB40. I'm using GDB and a Jeeni to debug it.
When I set the ARM CPSR register, I get a data abort.
This shouldn't touch data at all. What's happening?
This GDB was configured as "--host=i586-pc-linux-gnu --target=arm-elf"...
(gdb) target rdi e=jeeni
JEENI (ADP, ARM7TDI) Rev 2.0
Rebuilt on Oct 18 1999 at 18:31:13
SN=0009J002 ENET=00:80:CF:00:09:E4
IP=192.168.2.2
Connected to ARM RDI target.
(gdb) set $cpsr=0x1f
RDI_read: data abort, no memory at specified address?
RDI_read: data abort, no memory at specified address?
Cannot access memory at address 0x852b5a7c
(gdb)
The address (0x852b5a7c) is way out in lala land and if
anything tried to access it it would definately cause a data abort.
Also, a really strange issue with a block memory clear hanging.
This GDB was configured as "--host=i586-pc-linux-gnu --target=arm-elf"...
(gdb) target rdi e=jeeni
JEENI (ADP, ARM7TDI) Rev 2.0
Rebuilt on Oct 18 1999 at 18:31:13
SN=0009J002 ENET=00:80:CF:00:09:E4
IP=192.168.2.2
Connected to ARM RDI target.
(gdb) set *(int*)0xffe00020=1
(gdb) set *(int*)0xffe00004=0x2002121
(gdb) set *(char*)0x20005a3 = 0
(gdb) set *(char*)0x20005a4 = 0
(gdb) set *(char*)0x20005a5 = 0
(gdb) set (char[0x5a5])*0x2000000={}
[hangs here, never hear a word from it again]
The two writes to 0xffe0xxxx map the sram to 0x2000000.
All the above writes work just fine, but any block clear larger than 0x5a4 hangs it.
Any idea what's happening here?
Thanks,
Shaun
next reply other threads:[~2000-09-25 11:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-09-25 11:29 Shaun Jackman [this message]
2000-09-25 11:53 ` Fernando Nasser
[not found] <Pine.LNX.4.21.0009251452260.994-100000@ed.gray.internal>
2000-09-25 14:29 ` Fernando Nasser
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=00092512292800.00690@ed \
--to=shaunj@gray-interfaces.com \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox