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]Message
[AVR-Chat] help required abt program memory
2008-04-01 by rakesh modi
Attachments
- No local attachments were found for this message.