Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: FREERTOS problem on gcc and LPC2138

2005-10-22 by rseku

I am using Crossworks for ARM 1.5. I think now, there are some project 
settings, which change code. Strange is that project compiles only for 
Thumb mode. Although it compiles also for ARM mode, but code doesn't 
want to download to the chip with Wiggler from Olimex.


robert

Guillermo Prandi wrote:

> --- In lpc2000@yahoogroups.com, "FreeRTOS Info" <nospam@F...> wrote:
> 
>>>I wonder... what does this instruction aim for?:
>>>
>>>asm volatile ( "LDR LR, [LR, #+60]" );
>>>
>>>What is LR+60 pointing to? Why 60? Why not 56 or 64?
>>
>>The stack frame is always the same, and this is the offset to the 
> 
> return
> 
>>address once the context has been restored.
>>
>>Regards,
>>Richard.
>>
>>
>>http://www.FreeRTOS.org
>>
> 
> 
> Oh, I see... 60 = 15 (registers) x 4 (bytes per register).
> 
> Thanks, Richard.
> 
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.