Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldfire-gnu-discuss] Access Error When Running Factorical Sample on M52235EVB with CodeSourcery G++ Version 4.2-59-m68k-elf


  • To: Daniel McLean <daniel.mclean@xxxxxxxxxxxxxxx>
  • Subject: Re: [coldfire-gnu-discuss] Access Error When Running Factorical Sample on M52235EVB with CodeSourcery G++ Version 4.2-59-m68k-elf
  • From: Carlos O'Donell <carlos@xxxxxxxxxxxxxxxx>
  • Date: Wed, 09 Apr 2008 12:45:31 -0400

Daniel McLean wrote:
I can successfully run and debug all the samples from ROM (or RAM if they fit) except for the factorial.c example.

There is a small-factorial.c example (share/sourceryg++-m68k-elf-examples/small-factorial/small-factorial.c) which should fit anywhere.

This occurs on both the Dev Kit (M52235EVB) and a custom board I have here (both using the PE Micro pod)…

What board did you select for your project?

Is your project using a hosted or unhosted target configuration?

What board did you select when you created the debug configuration?

 6 __cs3_isr_access_error()  0x000094d2
 5 <symbol is not available> 0x44082700

This isn't a valid memory address for the board, which is why you faulted.

How did you build the example?

4 _localeconv_r() 0x00005174 3 vfprintf() 0x0000257c 2 printf() 0x000005a6 1 main() at C:\Documents and Settings\maczor\workspace\sample\factorial.c:15 0x0000051c

Cheers,
Carlos.
--
Carlos O'Donell
CodeSourcery
carlos@xxxxxxxxxxxxxxxx
(650) 331-3385 x716