Memory browser crash - General Discussion and Assistance - CHDK Forum

Memory browser crash

  • 0 Replies
  • 1760 Views
*

Offline fudgey

  • *****
  • 1705
  • a570is
Memory browser crash
« on: 12 / August / 2009, 09:10:26 »
Advertisements
Attached is a patch to fix debug menu memory browser crash when attempting to read memory between 0x2000000 and below 0xffc00000 (currently version in svn checks the address range, but that dereferencing thing right after causes a crash at least on my a570).

The reason I didn't commit this to svn is that there's another minor bug affecting most cameras (a careful reader may already have noticed it from the previous sentence), i.e. ROMBASEADDR is hard coded, but newer cams have 0xff810000 instead of 0xffc00000. Anyone more competent than I have a good idea how to get ROMBASEADDR from platform/*/sub/*/makefile.inc propagate for use in core/gui_debug.c?

And now that we're at it, is 0x2000000 still valid for all cameras for the other limit, or are there other known ranges that are readable?

 

Related Topics


SimplePortal © 2008-2014, SimplePortal