avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] Setting pin to high in function instead of main, inst


From: Johannes Bauer
Subject: Re: [avr-gcc-list] Setting pin to high in function instead of main, instructions in main never run?
Date: Thu, 01 Mar 2012 16:21:27 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110922 Thunderbird/3.1.15

On 01.03.2012 16:15, Johannes Bauer wrote:

> but the jump makes
> everything go south (no SP initialized).

I meant of course: The call. When the MCU tries to push the IP onto the
stack, you get a reset instead of the desired call behavior.

Best regards,
Joe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]