[coldfire-gnu-discuss] dbg sprite configuration problems
Jaysen Roper
jaysenroper at livewire-gaming.com
Wed Aug 20 14:38:41 UTC 2008
C:\Games\demo>m68k-elf-readelf -a demo.elf Yielded...
SECTION HEADERS
[Nr] Name Type Addr Off Size ES Flg Lk Inf
Al
[11] .stack NOBITS 50000000 002000 001e00 00 WA 0 0
1
PROGRAM HEADERS
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
LOAD 0x000000 0x10010000 0x10010000 0x000d4 0x00428 RW 0x2000
LOAD 0x0006d8 0x100146d8 0x10014400 0x00000 0x0c33c RW 0x2000
LOAD 0x002000 0x50000000 0x50000000 0x00000 0x01e00 RW 0x2000
LOAD 0x002000 0x60000000 0x60000000 0x1dcec 0x1dcec RWE 0x2000
LOAD 0x020428 0x10010428 0x6001dcec 0x042b0 0x042b0 RW 0x2000
The only regions in the map file that start with 0x5000 are....
Name Origin Length
stacka 0x50000000 0x00001f00
fram 0x50001f00 0x00000100
----------
I assumed that fram length of 256 bytes would give it ranges 1f00-1fff
inclusive.
Jaysen
-----Original Message-----
From: Carlos O'Donell [mailto:carlos at codesourcery.com]
Sent: 20 August 2008 14:51
To: Jaysen Roper
Cc: coldfire-gnu-discuss at codesourcery.com
Subject: Re: [coldfire-gnu-discuss] dbg sprite configuration problems
Jaysen Roper wrote:
> m68k-elf-sprite: Got packet: 'm50001ff4,4'
> m68k-elf-sprite: Sent response: 'ffffffff'
> m68k-elf-sprite: Got packet: 'm50001ff8,4'
> m68k-elf-sprite: Sent response: 'ffffffff'
> m68k-elf-sprite: Got packet: 'm50001ffc,4'
> m68k-elf-sprite: Sent response: 'ffffffff'
> Cannot access memory at address 0x50002000 <<<<<<<<<<<<<< HERES MY ERROR
The address 0x50002000 is 1 byte outside of memory. If you use
m68k-elf-readelf -a to examine your binary, do you see anything
allocated to that address? If you compile your application with
-Wl,-Map,app.map does app.map contian anything allocated to that address?
Cheers,
Carlos.
--
Carlos O'Donell
CodeSourcery
carlos at codesourcery.com
(650) 331-3385 x716
More information about the coldfire-gnu-discuss
mailing list