Rlp Elf file making problem

I’ve done this already on my other computer few months ago so I know the elf file generation procedure, but I have difficulties to do it on my new PC. When I type “make” in command line I get following error:
… c:/yagarto/bin/…/ld.exe: region ‘SDRAM’ overflowed by 268 bytes
collect2: ld returned 1 exit status
make: *** [all] Error 1

By the way, I’m using yagarto tools on win7 os.

Any thoughts?

May be the size of your code is more than the size of allocatted region?

I don’t think that’s the problem. I’ve used this identical code before.

Is the base address correct?

Do you mean ADC_DATA_BASE_ADDRESS ? I left it unchanged, I’ve used it on my previous Panda 2 mC and it worked.

Some settings must be different from your previous setup. Different scatter file/settings?

1 Like

I’ve finally got it, my MakeFile was different, it was optimized to shrink elf file. When I use modified MakeFile, everything seems to be in order. Stupid mistake. You were right, thank you for your time.

No problem :slight_smile: I am glad you’ve resolved it. What are you working on?

I’m using Panda to get two-channel frequency of environmental sounds. It’s a project for science promotion event.

Sounds like fun. Good luck! :slight_smile:

Tx.