Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] help required abt program memory

2008-04-01 by Zack Widup

Maybe you could post your code here?

Zack

On Tue, 1 Apr 2008, rakesh modi wrote:

> Hello,
> My problem is different, I have written a code for searial communication. so in that code when i m calling a data table which is pre-loaded with program in program memory, then my code work proper and transmits data on com port, but when i m loading data in data memory during execution of program and then if i call that data then i am not getting proper data on com port. I m working in assembely language on kit stk500. microcontroller is atmega32. plz reply me soon
>
> R.P.Modi
>
>
>
> ----- Original Message ----
> From: John Samperi <samperi@ampertronics.com.au>
> To: AVR-Chat@yahoogroups.com
> Sent: Monday, 31 March, 2008 1:27:38 PM
> Subject: RE: [AVR-Chat] help required abt program memory
>
> At 09:44 PM 31/03/2008, you wrote:
>> To change the flash memory from code, you use the spm instruction.
>
> Except that the SPM instruction does NOT work from normal memory
> but only from Bootloader memory.
>
> But is this what you want to know or is it just programming the chip
> with your code?
>
> May want to tell us which language you want to use too.
>
> Regards
>
> John Samperi
>
> ************ ********* ********* ********* ********* ********
> Ampertronics Pty.. Ltd.
> 11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
> Tel. (02) 9674-6495 Fax (02) 9674-8745
> Email: john@ampertronics. com.au
> Website http://www.ampertro nics.com. au
> *Electronic Design * Custom Products * Contract Assembly
> ************ ********* ********* ********* ********* ********
>
>
>
>
>
>      Save all your chat conversations. Find them online at http://in.messenger.yahoo.com/webmessengerpromo.php
>
> [Non-text portions of this message have been removed]
>
>

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.