Yahoo Groups archive

Lpc2000

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

Message

Re: flash read

2006-05-31 by Karl Olsen

--- In lpc2000@yahoogroups.com, "lpc.lover" <lpc.lover@...> wrote:
>
> I need help about read information in flash memory.
> 
> I have write this smole code in assembler:
> 
> Read_Addrs:
>   LDR    r0,=addrsb  // address to store the value in ram
>   LDR    r4,=addrsa  // address to read the value in flash
>   LDR    r11, [r4]   // read of the value in flash 

>   STR    r0, [r11]   // storage of the value in ram

You want: STR r11, [r0]

Karl Olsen

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.