Yahoo Groups archive

AVR-Chat

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

Thread

[AVR-Chat] help required abt program memory

[AVR-Chat] help required abt program memory

2008-04-01 by rakesh modi

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. I am sending tweo files with this. In this test1.asm is working code while test3.asm is not working. plz reply me soon
 
R.P.Modi
Show quoted textHide quoted text
----- 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
************ ********* ********* ********* ********* ********



 
<!--

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

2008-04-02 by Raymond Hurst

You have lost me. We went from an ADC issue to a serial comm Issue.

Or is it a data or progam memory issue?

 

Also, the attachments didn't come through.

 

Ray Hurst



[Non-text portions of this message have been removed]

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.