Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

flash reading by avr,please

Status
Not open for further replies.

yaser

New Member
hi,
i'm yaser.i need help about AVR & flash canecting.
i want to know that how i can define flash as an hardware to avr?:confused:
tank u.
i'm electronic student:)
 
Languages such as C (WinAVR, ImageCraft, others) have means to place constant data in flash of the AVR. Since it has a separate address space for flash than RAM, and since flash is addressed in 16 bit words, not bytes, it's a bit tricky. In WinAVR (used with Atmel Studio), see the macros that have "_P" in them. such as printf_P() and others to declare strings and arrays to be flash-resident and not copied to RAM.

In assembly language, see the LPM instruction.
 
are u try yourself????????????????????????????????????
what kind of connecting are need?
SPI OR UART or USART or ......................
whay u want to have something to saying???????
for giving higher level in forum?
thank u for your guid.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top