Actions

icon Post
text/html Subscribe
text/html Unsubscribe

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

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


  • To: <coldfire-gnu-discuss@xxxxxxxxxxxxxxxx>
  • Subject: [coldfire-gnu-discuss] Access Error When Running Factorical Sample on M52235EVB with CodeSourcery G++ Version 4.2-59-m68k-elf
  • From: "Daniel McLean" <daniel.mclean@xxxxxxxxxxxxxxx>
  • Date: Wed, 9 Apr 2008 11:04:25 +1000

Hi,

 

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

 

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

 

Below is a stack trace from the debugger:

 

sample [C/C++ Local Application]          

            Sourcery G++ Debug Sprite for ColdFire ELF (9/04/08 10:58)
(Suspended)          

                        Thread [0] (Suspended: Signal 'SIGTRAP' received.
Description: Trace/breakpoint trap.)   

                                    6 __cs3_isr_access_error()  0x000094d2 

                                    5 <symbol is not available> 0x44082700 

                                    4 _localeconv_r()  0x00005174   

                                    3 vfprintf()  0x0000257c 

                                    2 printf()  0x000005a6    

                                    1 main() at C:\Documents and
Settings\maczor\workspace\sample\factorial.c:15 0x0000051c        

            m68k-elf-gdb (9/04/08 10:58)      

            C:\Documents and Settings\maczor\workspace\sample\Debug\sample
(9/04/08 10:58)     

 

I can reproduce this problem by changing the printf line in the helloworld.c
file printf("Hello World! %d", 25);

 

Any ideas on what is causing this?  I'm going to try the 4.2-111 version to
see if there is any difference.

 

Thanks

Daniel