> -----Original Message----- > From: > [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > org] On Behalf Of janeleee > Sent: Thursday, August 09, 2007 2:16 AM > To: avr-gcc-list@nongnu.org > Subject: [avr-gcc-list] I have met a problem..... > > > I try to insert a new section in FLASH, and at the same time, > some functions > will add into this section. In my project, I need call these > functions by > functions pointer, so i do the following test code: > #include <stdint.h> > > void foo(uint8_t* t) __attribute__((section(".mysection"))); > void (*pfun)(); <snip> > and add the -Wl,--section-start=.mysection=0x1c00 in link > option of WINAVR. > I try to compile this file, it works ok. but when i try to > load debugger, > the AVR studio 4.13 beta528 exit abnormally. > Now, I do not know where the problem is.......Need your help! :)
What version of WinAVR are you using? Eric _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list