Definition of "app_start"

Go To Last Post
4 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I found the following command in bootloader code:

asm volatile("rjmp app_start");

Compiled as:
asm volatile("rjmp app_start");
1f5c:	51 c0       	rjmp	.+162    	; 0x2000

Just wondering where "app_start" is defined? I searched through some files of WinAVR and forum, but found nothing.

Does someone know...?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

@Mr MIC

Could it come from here

http://lists.gnu.org/archive/htm...

/Bingo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi

I think thats my code :-)
app_start has to be defined on the linker command line with --defsym=app_start=0.

Matthias

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks for information. The makefile was one of the files I didn't search through. :roll:

@ Matthias
Yes, it's from your code. I'm not sure if you have got my Email since I never got an answer.
Anyway, it doesn't matter now...