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

Carlos O'Donell carlos at codesourcery.com
Wed Apr 9 16:45:31 UTC 2008


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 at codesourcery.com
(650) 331-3385 x716



More information about the coldfire-gnu-discuss mailing list