AVR EEPROM

All,
éÍÅÅÍ:
#include <avr/pgmspace.h>
#include <avr/eeprom.h>
...
unsigned char eeVar EEMEM = 0x34; //byte
unsigned int eeWord EEMEM = 0x5678; //word
const char __attribute__ ((section (".TestSec"))) str1[4] = "9753";
const UCHAR __attribute__ ((section (".platz1"))) val1 = 0x31;
const char __attribute__ ((section (".platz2"))) val2 = 0x52;
É Ó ÔÁËÉÍ (ÎÁ ×ÓÑËÉÊ ÓÌÕÞÁÊ ÐÒÉ×ÏÖÕ ÅÇÏ ÐÏÌÎÏÓÔØÀ)
# Makefile for the project wms
## General Flags
PROJECT = wms
MCU = atmega128
TARGET = wms.elf
CC = avr-gcc
CPP = avr-g++
## Options common to compile, link and assembly rules
COMMON = -mmcu=$(MCU)
## Compile options common for all C compilation units.
CFLAGS = $(COMMON)
CFLAGS += -Wall -gdwarf-2 -std=gnu99 -DF_CPU=11059200UL -Os
-funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums
CFLAGS += -MD -MP -MT $(*F).o -MF dep/$(@F).d
## Assembly specific flags
ASMFLAGS = $(COMMON)
ASMFLAGS += $(CFLAGS)
ASMFLAGS += -x assembler-with-cpp -Wa,-gdwarf2
## Linker flags
LDFLAGS = $(COMMON)
LDFLAGS += -Wl,-Map=wms.map
## Intel Hex file production flags
HEX_FLASH_FLAGS = -R .eeprom -R .fuse -R .lock -R .signature
HEX_EEPROM_FLAGS = -j .eeprom
HEX_EEPROM_FLAGS += --set-section-flags=.eeprom="alloc,load"
HEX_EEPROM_FLAGS += --change-section-lma .eeprom=0 --no-change-warnings
## Objects that must be built in order to link
OBJECTS = wms.o
## Objects explicitly added by the user
LINKONLYOBJECTS =
## Build
all: $(TARGET) wms.hex wms.eep wms.lss size
## Compile
wms.o: ../wms.c
$(CC) $(INCLUDES) $(CFLAGS) -c $<
##Link
$(TARGET): $(OBJECTS)
$(CC) $(LDFLAGS) $(OBJECTS) $(LINKONLYOBJECTS) $(LIBDIRS) $(LIBS) -o
$(TARGET)
%.hex: $(TARGET)
avr-objcopy -O ihex $(HEX_FLASH_FLAGS) $< $@
%.eep: $(TARGET)
-avr-objcopy $(HEX_EEPROM_FLAGS) -O ihex $< $@ || exit 0
%.lss: $(TARGET)
avr-objdump -h -S $< > $@
size: ${TARGET}
@echo
@avr-size -C --mcu=${MCU} ${TARGET}
## Clean target
.PHONY: clean
clean:
-rm -rf $(OBJECTS) wms.elf dep/* wms.hex wms.eep wms.lss wms.map
## Other dependencies
-include $(shell mkdir dep 2>/dev/null) $(wildcard dep/*)
=====
ÐÏÌÕÞÁÅÍ
=== Begin of wms_hex.txt ===
:10025000FC01E199FECF06C0FFBBEEBBE09A3196F0
:100260000DB20D9241505040B8F70895F894FFCF69
:0402700039373533B2
:010274003158
:010275005236
:00000001FF
=== End of wms_hex.txt =====
É
=== Begin of wms_eep.txt ===
:03000000347856FB
:00000001FF
=== End of wms_eep.txt =====
÷ AVR Studio 4.17
Memory Settings
ÄÏÂÁ×ÌÑÅÍ:
Eeprom .platz2 0x123
Flash .testSec 0x3456
Eeprom .platz1 0x357
ÐÏÌÕÞÁÅÍ
## Linker flags
LDFLAGS = $(COMMON)
LDFLAGS += -Wl,-Map=wms.map
LDFLAGS += -Wl,-section-start=.platz2=0x810123
LDFLAGS += -Wl,-section-start=.TestSec=0x68ac
LDFLAGS += -Wl,-section-start=.platz1=0x810357
## Intel Hex file production flags
HEX_FLASH_FLAGS = -R .eeprom -R .fuse -R .lock -R .signature
HEX_EEPROM_FLAGS = -j .eeprom
HEX_EEPROM_FLAGS += --set-section-flags=.eeprom="alloc,load"
HEX_EEPROM_FLAGS += --change-section-lma .eeprom=0 --no-change-warnings
HEX_EEPROM_FLAGS += --change-section-lma .platz2=0x123
HEX_EEPROM_FLAGS += --change-section-lma .platz1=0x357
É
=== Begin of wmshex1.txt ===
:10025000FC01E199FECF06C0FFBBEEBBE09A3196F0
:100260000DB20D9241505040B8F70895F894FFCF69
:0468AC003937353310
:02000004008179
:010123005289
:010357003174
:00000001FF
=== End of wmshex1.txt =====
eep - ÏÓÔÁÌÓÑ ÂÅÚ ÉÚÍÅÎÅÎÉÑ.
HÕ É ÓÏÂÓÔ×ÅÎÎÏ ×ÏÐÒÏÓ, ÐÏÞÅÍÕ ÄÁÎÎÙÅ ÐÒÅÄÎÁÚÎÁÞÅÎÎÙÅ ÄÌÑ *
.eep
ÐÏÐÁÄÁÀÔ × *.hex ?
Andrey
Reply to
Andrey Arnold
Loading thread data ...
All,
You wrote to All:
AA> Flash .testSec 0x3456
Flash .TestSec 0x3456
Andrey
Reply to
Andrey Arnold
Hi Andrey, hope you are having a nice day!
06 Feb 14, Andrey Arnold wrote to All:
AA> Flash .TestSec 0x3456
WBR, AVB
Reply to
Alexey V Bugrov
Hi Andrey, hope you are having a nice day!
05 Feb 14, Andrey Arnold wrote to All:
AA> HEX_EEPROM_FLAGS = -j .eeprom
AA> Memory Settings
AA> Eeprom .platz2 0x123 AA> Flash .testSec 0x3456 AA> Eeprom .platz1 0x357
[skip]
AA> HEX_EEPROM_FLAGS = -j .eeprom AA> HEX_EEPROM_FLAGS += --set-section-flags=.eeprom="alloc,load" AA> HEX_EEPROM_FLAGS += --change-section-lma .eeprom=0 --no-change-warnings AA> HEX_EEPROM_FLAGS += --change-section-lma .platz2=0x123 AA> HEX_EEPROM_FLAGS += --change-section-lma .platz1=0x357
-j sectionname --only-section=sectionname Copy only the named section from the input file to the output file. This option may be given more than once. Note that using this option inappropriately may make the output file unusable.
WBR, AVB
Reply to
Alexey V Bugrov
Alexey,
You wrote to Andrey Arnold:
AB> 05 Feb 14, Andrey Arnold wrote to All: AA>> HEX_EEPROM_FLAGS = -j .eeprom AB> ^^^ ÒÁÚ. AA>> ÷ AVR Studio 4.17 AA>> Memory Settings AA>> ÄÏÂÁ×ÌÑÅÍ: AA>> Eeprom .platz2 0x123 AA>> Flash .testSec 0x3456 AA>> Eeprom .platz1 0x357 AB> AA>> ÐÏÌÕÞÁÅÍ AB> [skip] AA>> HEX_EEPROM_FLAGS = -j .eeprom AA>> HEX_EEPROM_FLAGS += --set-section-flags=.eeprom="alloc,load" AA>> HEX_EEPROM_FLAGS += --change-section-lma .eeprom=0 AA>> --no-change-warnings HEX_EEPROM_FLAGS += --change-section-lma AA>> .platz2=0x123 HEX_EEPROM_FLAGS += --change-section-lma AA>> .platz1=0x357 AB> -j sectionname AB> --only-section=sectionname AB> Copy only the named section from the input file to the AB> output file. This option may be given AB> more than once. Note that using this option AB> inappropriately may make the output file unusable. AB> AB> þÔÏ ÐÒÏÓÑÔ, ÔÏ É ÄÅÌÁÅÔ. ëÏÐÉÒÕÅÔ ÔÏÌØËÏ ÓÅËÃÉÀ .eeprom, ÎÁ ÏÓÔÁÌØÎÙÅ AB> ÅÍÕ ÎÁÞÈÁÔØ. AA>> HÕ É ÓÏÂÓÔ×ÅÎÎÏ ×ÏÐÒÏÓ, ÐÏÞÅÍÕ ÄÁÎÎÙÅ ÐÒÅÄÎÁÚÎÁÞÅÎÎÙÅ ÄÌÑ *.eep AA>> ÐÏÐÁÄÁÀÔ × *.hex ? AB> ðÏÔÏÍÕ, ÞÔÏ objcopy ËÏÐÉÒÕÅÔ ÔÏÌØËÏ ÓÅËÃÉÀ .eeprom
é ÇÄÅ × ÅÅÐÒÏÍ ËÏÄÙ Ó ÁÄÒÅÓÁÍÉ 123 É 357?
äÁ, ÎÅ... ÎÅÚÁ×ÉÓÉÍÏ ÏÔ ÔÏÇÏ, ÞÔÏ ÒÅÐÌÉËÁ ÎÅ Ë ÍÅÓÔÕ... ÷ӣ ÂÙÌÏ ÂÙ ÓËÕÞÎÏ É ÎÅÉÎÔÅÒÅÓÎÏ, ÅÓÌÉ ÂÙ ÍÅÊË ÎÁÐÉÓÁÌ Ñ... ÷ ÔÏÍ-ÔÏ É ÄÅÌÏ, ÞÔÏ ÏÎ ÇÅÎÅÒÉÒÕÅÔÓÑ Á×ÔÏÍÁÔÉÞÅÓËÉ. é ÜÔÏ ÐÒÁ×ÉÌØÎÏ, ÉÂÏ ÎÁ ËÁÖÄÙÊ ÞÉÈ × ÍÅÊË ÂÅÇÁÔØ ÎÁÄÏÅÓÔ. HÏ × ÄÁÎÎÏÍ ÓÌÕÞÁÅ, ÐÏÈÏÖÅ, ÄÒÕÇÏÇÏ ×ÙÈÏÄÁ ÐÒÏÓÔÏ ÎÅÔ. á ÓÎÏ×Á ×ÏÚ×ÒÁÝÁÔØÓÑ ÎÁ ICCAVR ÏÞÅÎØ ÎÅ ÈÏÞÅÔÓÑ.
Andrey
Reply to
Andrey Arnold
Hi, All!
ñ ÎÅÐÒÉÌÉÞÎÏ ÍÎÏÇÏ ×ÒÅÍÅÎÉ ÐÏÓÌÅÄÎÉÅ Ä×Á ÄÎÑ ÐÏÔÒÁÔÉÌ ÎÁ ÔÏ, ÞÔÏÂÙ ÎÁÊÔÉ (ÇÏÔÏ×ÏÅ) ÒÅÛÅÎÉÅ. óÒÅÄÉ ÐÒÏÞÅÇÏ ÐÒÏÞÅÌ ÔÕÔÏÛÎÉÊ ÔÒÅÄ ÏÔ 2005-ÇÏ ÇÏÄÁ Ó ÕÞÁÓÔÉÅÍ ÷ÁÓÉÌÅ×ÓËÏÇÏ É ÍÎÏÇÉÈ ÄÒÕÇÉÈ. HÏ Ë ÓÏÖÁÌÅÎÉÀ ÐÒÉÅÍÌÅÍÏÇÏ ÄÌÑ ÍÅÎÑ ÒÅÛÅÎÉÑ ÄÌÑ WinAVR ÎÉ ÔÕÔ, ÎÉ × ÁÐÌÉËÁÛËÁÈ, ÎÉ... Ñ ÔÁË É ÎÅ ÎÁۣÌ, Á ×ÓÅ ÜÔÉ (ÐÒÅÄÌÁÇÁÅÍÙÅ) ÍÁÓÓÉ×Ù ÎÁ ×ÓÀ ÅÅÐÒÏÍ ÐÁÍÑÔØ, ÉÌÉ ÔÁÍ ÓÔÒÕËÔÕÒÙ, ËÏÔÏÒÙÅ ËÏÍÐÉÌÑÔÏÒ ÄÏÌÖÅÎ ÒÁÚÍÅÓÔÉÔØ ÐÅÒ×ÙÍÉ, éíèï ÞÔÏ-ÔÏ ÎÁ×ÒÏÄÅ ËÁÐÉÔÕÌÑÃÉÉ ÐÅÒÅÄ ÚÁÄÁÞÅÊ...
ôÅÐÅÒØ Ë ÄÅÌÕ. ðÒÏÂÌÅÍÁ × ÔÏÍ, ÞÔÏ ÎÕÖÎÏ × EEPROM ÒÁÓÐÏÌÏÖÉÔØ ÐÏ ÎÅÓËÏÌØËÕ ÄÅÓÑÔËÏ× ÐÁÒÁÍÅÔÒÏ× ÎÁÞÉÎÁÑ Ó ÎÅÓËÏÌØËÉÈ ÆÉËÓÉÒÏ×ÁÎÎÙÈ (ÎÅ ÉÚÍÅÎÑÅÍÙÈ ËÏÍÐÉÌÑÔÏÒÏÍ) ÁÄÒÅÓÏ×. úÁÞÅÍ ÔÁËÏÅ ÂÙ×ÁÅÔ ÎÕÖÎÏ, ÎÁÄÅÀÓØ, ÏÂßÑÓÎÑÔØ ÎÅ ÔÒÅÂÕÅÔÓÑ... ëÏÎÅÞÎÏ, ÐÒÉÞÉÎÁ, ÞÔÏ ÔÁËÏÅ × Ó×ÑÚËÅ "AVR Studio - WinAVR" ÎÅ ÐÏÌÕÞÁÅÔÓÑ × ÌÏÂ, ÔÏ ÂÉÛØ ÂÅÚ ÒÕÞÎÏÊ ÄÏ×ÏÄËÉ, ÜÔÏ ÎÅÄÏÒÁÂÏÔËÁ, ÎÏ ÞÔÏ ÄÅÌÁÔØ, ÎÅ ÍÅÎÑÔØ ÖÅ ÉÚ-ÚÁ ÜÔÏÇÏ ÐÌÁÔÆÏÒÍÕ. äÁ É ×ÒÅÍÅÎÉ Õ ÍÅÎÑ ÎÁ ÜÔÏ ÎÅÔ.
÷ ËÏÎÃÅ-ËÏÎÃÏ× ×ÙÒÉÓÏ×ÁÌÏÓØ ×ÏÔ ÔÁËÏÅ éíèï ×ÐÏÌÎÅ ÐÒÉÅÍÌÅÍÏÅ ÒÅÛÅÎÉÅ:
-------------------------- ÷ AVR Studio Projekt Configuration Options Memory Settings Add ÄÏÂÁ×ÌÑÅÍ:
Eeprom .platz2 0x123 Flash .TestSec 0x4444 Eeprom .platz1 0x235
(Flash ÂÕÄÅÔ 0x8888)
=== Begin of wms_h.txt ===
#include <avr/eeprom.h>
UCHAR myVar;
const UCHAR val1 __attribute__ ((section (".platz1"))) = 0x31;
#define EESIZE 12 // #define EE_DUMMY 0x000 // #define EE_VALUE1 0x001 // #define EE_WORD1L 0x002 // #define EE_WORD1H 0x003 // #define EE_VALUE2 0x004 //
UCHAR __attribute__ ((section (".platz2"))) val2[EESIZE] = { [EE_DUMMY] = 0x00, [EE_VALUE1] = 0x05, [EE_WORD1L] = 0x01, [EE_WORD1H] = 0x00, [EE_VALUE2] = 0xFF }; // ÷ ËÏÎÃÅ ÐÕÓÔØ ÐÏËÁ ÂÕÄÕÔ ÎÏÌÉËÉ...
=== End of wms_h.txt =====
÷ Makefile: =====================
## Linker flags LDFLAGS = $(COMMON) LDFLAGS += -Wl,-Map=wms.map LDFLAGS += -Wl,-section-start=.TestSec=0x8888 LDFLAGS += -Wl,-section-start=.platz2=0x810123 LDFLAGS += -Wl,-section-start=.platz1=0x810235
## á ÎÉÖÅ ÄÏÒÁÂÁÔÙ×ÁÅÍ ÎÁÐÉÌØÎÉËÏÍ Ä×Å ÓÔÒÏËÉ ÐÏ ÍÅÓÔÕ...
## Intel Hex file production flags HEX_FLASH_FLAGS = -R .eeprom -R .fuse -R .lock -R .signature
HEX_FLASH_FLAGS += -R .platz1 -R .platz2 HEX_EEPROM_FLAGS = -j .eeprom -j .platz1 -j .platz2
HEX_EEPROM_FLAGS += --set-section-flags=.eeprom="alloc,load" HEX_EEPROM_FLAGS += --change-section-lma .eeprom=0 --no-change-warnings HEX_EEPROM_FLAGS += --change-section-lma .platz2=0x123 HEX_EEPROM_FLAGS += --change-section-lma .platz1=0x235
## íÅÎÑÅÍ ÉÍÑ Makefile ÎÁ ÞÔÏ-ÎÉÂÕÄØ ÔÉÐÁ Make02AA ## É ÐÏÄÓÏ×Ù×ÁÅÍ ÅÇÏ, ÏÐÑÔØ ÖÅ × ÎÁÓÔÒÏÊËÁÈ AVR Studio ## ×ÍÅÓÔÏ default-ÎÏÇÏ.
=== Begin of wms.eep === :03000000347856FB :0C01230000050100FF00000000000000CB :010235003197 :00000001FF === End of wms.eep ===== (ôÕÔ × ÐÅÒ×ÏÊ ÓÔÒÏËÅ ÄÁÎÎÙÅ "ÉÚ ÏÂÙÞÎÏÊ" ÉÎÉÃÉÁÌÉÚÁÃÉÉ)
HÕ É ÒÁÂÏÔÁÔØ, ËÁË ÏÂÙÞÎÏ Ó EEPROM, ÉÓÐÏÌØÚÕÑ ÆÕÎÃÉÉ ÉÚ eeprom.h
myVar = eeprom_read_byte(&val2[EE_WORD1L]);
õÄÁÞÉ, Andrey
Reply to
Andrey Arnold
Hi Andrey, hope you are having a nice day!
06 Feb 14, Andrey Arnold wrote to Alexey V Bugrov:
WBR, AVB
Reply to
Alexey V Bugrov
ðÒÉ×ÅÔ!
07 Feb 14 02:50, you wrote to Andrey Arnold:
AB> åÓÌÉ ÖÅ ×ÏÐÒÏÓ ÓÏÓÔÏÑÌ × ÔÏÍ, ÐÏÞÅÍÕ WinAVR (ÉÌÉ AVR Studio) ÇÅÎÅÒÉÔ AB> ËÒÉ×ÙÅ ÍÅÊË-ÆÁÊÌÙ, ÔÏ ÎÁÄÏ ÂÙÌÏ ÔÁË É ÓÐÒÁÛÉ×ÁÔØ. ñ ÂÙ ×ÏÏÂÝÅ ÎÅ AB> ÓÏ×ÅÔÏ×ÁÌ ÜÔÉ ÏÂÏÌÏÞËÉ ÉÓÐÏÌØÚÏ×ÁÔØ, make/gcc/gdb ×ÐÏÌÎÅ ÄÏÓÔÁÔÏÞÎÏ, AB> ÈÏÔØ ÐÏ ÎÁÞÁÌÕ É ÎÅÐÒÉ×ÙÞÎÏ.
åÓÌÉ ÎÅÔ ÐÒÉ×ÙÞÎÏÇÏ ÐÒÏÇÒÁÍÍÅÒÓËÏÇÏ ÒÅÄÁËÔÏÒÁ, ÔÏ ÒÁÂÏÔÁÔØ Ó ÔÅËÓÔÏÍ × ÔÅÈ ÖÅ ÆÁÒÅ ÉÌÉ ÂÌÏËÎÏÔÅ ÎÅÕÄÏÂÎÏ. ëÏÇÄÁ Ñ ÎÁÞÉÎÁÌ ÂÁÌÏ×ÁÔØÓÑ WinAVR, ÓÒÁÚÕ ÐÅÒÅÄÅÌÁÌ ÓÔÁÎÄÁÒÔÎÙÊ ÍÅÊËÆÁÊÌ, ÞÔÏÂÙ ÏÎ ×ÙÔÁÓËÉ×ÁÌ ÉÚ ÏÂßÅËÔÎÏÇÏ ÆÁÊÌÁ ÓÌÏ×Á ÆÌÁÇÏ×, ÄÅÌÁÌ ÉÚ ÎÉÈ ÏÔÄÅÌØÎÙÅ .hex, Á ÐÏÔÏÍ ÐÏÄÓÏ×Ù×ÁÌ avrdude ÄÌÑ ÐÒÏÛÉ×ÁÎÉÑ. HÁ×ÅÒÎÑËÁ É ÄÒÕÇÉÅ ÓÅËÃÉÉ ÍÏÖÎÏ ÐÒÏÛÉÔØ ÐÏ ÎÕÖÎÙÍ ÁÄÒÅÓÁÍ ÔÁËÉÍ ÖÅ ÍÁÎÅÒÏÍ.
÷ÓÅÇÏ ÄÏÂÒÏÇÏ! å×ÇÅÎÉÊ íÕÚÙÞÅÎËÏ snipped-for-privacy@muzy-chen-ko.net (×ÓÅ ÄÅÆÉÓÙ ÕÂÒÁÔØ)
Reply to
Eugene Muzychenko
Alexey,
You wrote to Andrey Arnold:
AB>>> þÔÏ ÐÒÏÓÑÔ, ÔÏ É ÄÅÌÁÅÔ. ëÏÐÉÒÕÅÔ ÔÏÌØËÏ ÓÅËÃÉÀ .eeprom, ÎÁ AB>>> ÏÓÔÁÌØÎÙÅ ÅÍÕ ÎÁÞÈÁÔØ. AA>>>> HÕ É ÓÏÂÓÔ×ÅÎÎÏ ×ÏÐÒÏÓ, ÐÏÞÅÍÕ ÄÁÎÎÙÅ ÐÒÅÄÎÁÚÎÁÞÅÎÎÙÅ ÄÌÑ *.eep AA>>>> ÐÏÐÁÄÁÀÔ × *.hex ? AB>>> ðÏÔÏÍÕ, ÞÔÏ objcopy ËÏÐÉÒÕÅÔ ÔÏÌØËÏ ÓÅËÃÉÀ .eeprom AA>> é ÇÄÅ × ÅÅÐÒÏÍ ËÏÄÙ Ó ÁÄÒÅÓÁÍÉ 123 É 357? AB> á Ó ÞÅÇÏ ÏÎÉ ÔÁÍ ÄÏÌÖÎÙ ÂÙÔØ? ïÎÉ × ÄÒÕÇÏÊ ÓÅËÃÉÉ ÏÂßÑ×ÌÅÎÙ, ÉÈ AB> objcopy ÎÅ ËÏÐÉÒÕÅÔ. AA>> äÁ, ÎÅ... ÎÅÚÁ×ÉÓÉÍÏ ÏÔ ÔÏÇÏ, ÞÔÏ ÒÅÐÌÉËÁ ÎÅ Ë ÍÅÓÔÕ... AA>> ÷ӣ ÂÙÌÏ ÂÙ ÓËÕÞÎÏ É ÎÅÉÎÔÅÒÅÓÎÏ, ÅÓÌÉ ÂÙ ÍÅÊË ÎÁÐÉÓÁÌ Ñ... AB> îÕ ÔÁË ÎÁÄÏ ÂÙÌÏ ×ÏÐÒÏÓ ÐÒÁ×ÉÌØÎÏ ÆÏÒÍÕÌÉÒÏ×ÁÔØ, ÔÙ ÓÐÒÏÓÉÌ "ÐÏÞÅÍÕ AB> ÄÁÎÎÙÅ, ÐÒÅÄÎÁÚÁÞÅÎÎÙÅ ÄÌÑ *.eep ÐÏÐÁÄÁÀÔ × *.hex" - ÏÔ×ÅÔ, ÐÏÔÏÍÕ, AB> ÞÔÏ ÔÁË ÎÁÐÉÓÁÎ ÍÅÊËÆÁÊÌ.
... ÔÏÌØËÏ ÏÔ×ÅÔ ÎÅÐÒÁ×ÉÌØÎÙÊ.
AB> åÓÌÉ ÖÅ ×ÏÐÒÏÓ ÓÏÓÔÏÑÌ × ÔÏÍ, ÐÏÞÅÍÕ WinAVR (ÉÌÉ AVR Studio) ÇÅÎÅÒÉÔ AB> ËÒÉ×ÙÅ ÍÅÊË-ÆÁÊÌÙ, ÔÏ ÎÁÄÏ ÂÙÌÏ ÔÁË É ÓÐÒÁÛÉ×ÁÔØ.
÷ÏÐÒÏÓ ÂÙÌ ÐÏÓÔÁ×ÌÅÎ ÓÏ×ÅÒÛÅÎÎÏ ÐÒÁ×ÉÌØÎÏ.
á ÕÖ ÄÅÔÁÌÉ, ÐÏÞÅÍÕ ÉÍÅÎÎÏ ÏÎÉ ÎÅ ÐÏÐÁÄÁÀÔ × ååðòïí (ÍÁÌÏ ÌÉ ÍÏÖÅÔ Ñ ÇÄÅ-ÎÉÂÕÄØ ÇÁÌÏÞËÕ ÎÅ ÐÏÓÔÁ×ÉÌ), ÉÌÉ ÜÔÏ ÄÅÆÅËÔ ÐÒÏÇÒÁÍÍÙ, ÉÌÉ ÞÔÏ-ÔÏ ÔÁÍ Åݣ... ÇÕÒÕ É ÄÏÌÖÎÙ ÚÎÁÔØ. ðÏÔÏÍÕ ÏÎÉ É ÇÕÒÕ, ÞÔÏ ×̣Ô ÐÏÎÉÍÁÀÔ ÐÒÏÂÌÅÍÙ ÐÒÏÓÔÙÈ ÓÍÅÒÔÎÙÈ.
AB> ñ ÂÙ ×ÏÏÂÝÅ ÎÅ ÓÏ×ÅÔÏ×ÁÌ ÜÔÉ ÏÂÏÌÏÞËÉ ÉÓÐÏÌØÚÏ×ÁÔØ, make/gcc/gdb AB> ×ÐÏÌÎÅ ÄÏÓÔÁÔÏÞÎÏ, ÈÏÔØ ÐÏ ÎÁÞÁÌÕ É ÎÅÐÒÉ×ÙÞÎÏ.
äÁ Ñ É ÓÁÍ ÞÕ×ÓÔ×ÕÀ, ÞÔÏ ÏÔ WinAVR, ÄÁ Åݣ É × Ó×ÑÚËÅ Ó ÄÒÅ×ÎÅÊ 4-Ê ÓÔÕÄÉÅÊ, ÎÕÖÎÏ ÕÈÏÄÉÔØ... ÎÏ ÎÅ ÓÉÀ ÖÅ ÍÉÎÕÔÕ.
Andrey
Reply to
Andrey Arnold
07 Feb 14 20:31, you wrote to me:
Reply to
Eugene Muzychenko
icq:240059686, lj-user:nicka_startcev
Reply to
Nickita A Startcev
Hi Andrey, hope you are having a nice day!
07 Feb 14, Andrey Arnold wrote to Alexey V Bugrov:
WBR, AVB
Reply to
Alexey V Bugrov
Hi Eugene, hope you are having a nice day!
07 Feb 14, Eugene Muzychenko wrote to Alexey V Bugrov:
WBR, AVB
Reply to
Alexey V Bugrov
ðÒÉ×ÅÔ!
08 Feb 14 01:28, you wrote to me:
AB> òÅÄÁËÔÏÒ - ÜÔÏ ÓÏ×ÅÒÛÅÎÎÏ ÏÔÄÅÌØÎÁÑ ÓÕÝÎÏÓÔØ, ÏÎ ÓÏ×ÓÅÍ ÎÅ ÏÂÑÚÁÎ ÂÙÔØ AB> × ÓÏÓÔÁ×Å IDE
é ÞÔÏ ÍÏÖÅÔ ÂÙÔØ "ÉÎÔÅÇÒÉÒÏ×ÁÎÎÏÇÏ" × IDE ÂÅÚ ÒÅÄÁËÔÏÒÁ?
AB> ëÓÔÁÔÉ, × far'Å ×ÐÏÌÎÅ ÎÏÒÍÁÌØÎÙÊ ÒÅÄÁËÔÏÒ, ÎÏ ÂÌÅËÄÖÅËÁ É ÛÌÀÈ × ÎÅÍ, AB> ËÏÎÅÞÎÏ, ÎÅÔ.
ïÎ ÎÅ ÚÁÔÏÞÅÎ ÐÏÄ ÓÉÎÔÁËÓÉÓ ÑÚÙËÁ (Á×ÔÏÏÔÓÔÕÐÙ, ÐÏÄÓ×ÅÔËÁ É Ô.Ð.). äÁ, ÐÌÁÇÉÎÙ ÅÓÔØ, ÎÏ ×ÓÅ ÒÁ×ÎÏ Ö ÎÕÖÎÏ ÌÉÂÏ ×ÙÈÏÄÉÔØ ÉÈ ÎÅÇÏ ÐÅÒÅÄ ÓÂÏÒËÏÊ, ÌÉÂÏ ÐÅÒÅËÌÀÞÁÔØÓÑ ÎÁ ÄÒÕÇÏÅ ÏËÎÏ. á × IDE ×ÓÅ ÏËÎÁ ÍÏÖÎÏ ÐÏ×ÅÓÉÔØ × ÕÄÏÂÎÏÊ ËÏÎÆÉÇÕÒÁÃÉÉ, É ÐÅÒÅËÌÀÞÁÅÔ ÏÎÏ, ËÁË ÐÒÁ×ÉÌÏ, Á×ÔÏÍÁÔÉÞÅÓËÉ.
AB> éÍÅÎÎÏ ÔÁË. objcopy ÍÏÖÅÔ ÒÁÚÄÒÁËÏÎÉÔØ ÆÁÊÌ × ÌÀÂÏÊ ÐÏÚÅ, ÇÌÁ×ÎÏÅ AB> ÐÒÁ×ÉÌØÎÏ ËÌÀÞÉ ÚÁÄÁÔØ. ðÏÔÏÍÕ É ÎÁÄÏ ÎÅ ÐÏÌÅÎÉÔØÓÑ, Á ÎÁÐÉÓÁÔØ AB> ÍÅÊËÆÁÊÌ ÒÕËÁÍÉ.
õÄÉ×ÉÔÅÌØÎÏ, ÞÔÏ ÜÔÏ ÄÏ ÓÉÈ ÐÏÒ ÎÅ ÓÄÅÌÁÎÏ Á×ÔÏÍÁÔÏÍ, ÈÏÔÑ ÂÙ × ×ÉÄÅ ÛÁÂÌÏÎÁ. ïÞÅ×ÉÄÎÏ Ö, ÞÔÏ ËÏÌÉÞÅÓÔ×Ï ÓÌÕÞÁÊÎÙÈ ËÏÓÑËÏ× ÓÕÝÅÓÔ×ÅÎÎÏ ÓÎÉÖÁÅÔ.
÷ÓÅÇÏ ÄÏÂÒÏÇÏ! å×ÇÅÎÉÊ íÕÚÙÞÅÎËÏ snipped-for-privacy@muzy-chen-ko.net (×ÓÅ ÄÅÆÉÓÙ ÕÂÒÁÔØ)
Reply to
Eugene Muzychenko
ðÒÉ×ÅÔ!
08 Feb 14 12:20, you wrote to Nickita A Startcev:
SP> ñ ×ÏÔ ËÁË ÐÏÄÓÅÌ ÎÁ Visual Slickedit - ÔÁË ×ÓÅ ÐÒÏÅËÔÙ × ÎÅÍ É ÄÅÌÁÀ, SP> ÄÌÑ ÌÀÂÏÇÏ ÑÚÙËÁ É ÌÀÂÏÊ ÃÅÌÅ×ÏÊ ÓÉÓÔÅÍÙ...
é ËÁË, ÓÔÏÉÔ ÏÎ Ó×ÏÉÈ $299?
÷ÓÅÇÏ ÄÏÂÒÏÇÏ! å×ÇÅÎÉÊ íÕÚÙÞÅÎËÏ snipped-for-privacy@muzy-chen-ko.net (×ÓÅ ÄÅÆÉÓÙ ÕÂÒÁÔØ)
Reply to
Eugene Muzychenko
Alexey,
You wrote to Andrey Arnold:
AB>>>>> ðÏÔÏÍÕ, ÞÔÏ objcopy ËÏÐÉÒÕÅÔ ÔÏÌØËÏ ÓÅËÃÉÀ .eeprom AA>>>> é ÇÄÅ × ÅÅÐÒÏÍ ËÏÄÙ Ó ÁÄÒÅÓÁÍÉ 123 É 357? AB>>> á Ó ÞÅÇÏ ÏÎÉ ÔÁÍ ÄÏÌÖÎÙ ÂÙÔØ? ïÎÉ × ÄÒÕÇÏÊ ÓÅËÃÉÉ ÏÂßÑ×ÌÅÎÙ, ÉÈ AB>>> objcopy ÎÅ ËÏÐÉÒÕÅÔ. AA>>>> äÁ, ÎÅ... ÎÅÚÁ×ÉÓÉÍÏ ÏÔ ÔÏÇÏ, ÞÔÏ ÒÅÐÌÉËÁ ÎÅ Ë ÍÅÓÔÕ... AA>>>> ÷ӣ ÂÙÌÏ ÂÙ ÓËÕÞÎÏ É ÎÅÉÎÔÅÒÅÓÎÏ, ÅÓÌÉ ÂÙ ÍÅÊË ÎÁÐÉÓÁÌ Ñ... AB>>> îÕ ÔÁË ÎÁÄÏ ÂÙÌÏ ×ÏÐÒÏÓ ÐÒÁ×ÉÌØÎÏ ÆÏÒÍÕÌÉÒÏ×ÁÔØ, ÔÙ ÓÐÒÏÓÉÌ AB>>> "ÐÏÞÅÍÕ ÄÁÎÎÙÅ, ÐÒÅÄÎÁÚÁÞÅÎÎÙÅ ÄÌÑ *.eep ÐÏÐÁÄÁÀÔ × *.hex" - AB>>> ÏÔ×ÅÔ, ÐÏÔÏÍÕ, ÞÔÏ ÔÁË ÎÁÐÉÓÁÎ ÍÅÊËÆÁÊÌ. AA>> ... ÔÏÌØËÏ ÏÔ×ÅÔ ÎÅÐÒÁ×ÉÌØÎÙÊ. AB> ÷ ÞÅÍ, ËÏÎËÒÅÔÎÏ, ÎÅÐÒÁ×ÉÌØÎÏÓÔØ?
HÕ, ÎÁÐÒÉÍÅÒ, × ÔÏÍ, ÞÔÏ "ÎÏÒÍÁÌØÎÏ" ÏÂßÑ×ÌÅÎÎÙÅ ÐÅÒÅÍÅÎÎÙÅ ÄÌÑ ååðòïí, ÔÁËÉ ÐÏÐÁÄÁÀÔ ÔÕÄÁ ËÕÄÁ ÎÁÄÏ.
æÁÊÌ ÄÌÑ ÅÅÒ Ñ ÐÒÉ×ÏÄÉÌ × ÉÓÈÏÄÎÏÊ ÖÅ ÍÅÓÓÁÇÅ.
úù. ë ÒÁÚÇÏ×ÏÒÕ ÎÅ ÏÔÎÏÓÉÔÓÑ, ÎÏ ×ÓÔÒÏÅÎÎÙÊ ÓÉÍÕÌÑÔÏÒ-ÏÔÌÁÄÞÉË "ÎÅÐÒÁ×ÉÌØÎÏ" ÏÂßÑ×ÌÅÎÎÙÅ ÚÎÁÞÅÎÉÑ ÉÚ ååðòïí ÎÅ ÐÏÄÇÒÕÖÁÅÔ ÐÒÉ ÏÔÌÁÄËÅ. üÔÏ Ñ ÐÏËÁ ÎÅ ÐÏÂÅÄÉÌ... ÎÏ É ÂÅÚ ÜÔÏÊ ÐÏÂÅÄÙ ÖÉÔØ ÕÖÅ ÍÏÖÎÏ.
Andrey
Reply to
Andrey Arnold
Hello Nickita!
08 Feb 14 00:09, Nickita A Startcev wrote to Eugene Muzychenko:
Sergei
Reply to
Sergei Podstrigailo
Hi Eugene, hope you are having a nice day!
08 Feb 14, Eugene Muzychenko wrote to Alexey V Bugrov:
AB>> òÅÄÁËÔÏÒ - ÜÔÏ ÓÏ×ÅÒÛÅÎÎÏ ÏÔÄÅÌØÎÁÑ ÓÕÝÎÏÓÔØ, ÏÎ ÓÏ×ÓÅÍ ÎÅ ÏÂÑÚÁÎ ÂÙÔØ AB>> × ÓÏÓÔÁ×Å IDE EM> é ÞÔÏ ÍÏÖÅÔ ÂÙÔØ "ÉÎÔÅÇÒÉÒÏ×ÁÎÎÏÇÏ" × IDE ÂÅÚ ÒÅÄÁËÔÏÒÁ?
íÏÖÅÔ ÂÙÔØ ÉÎÔÅÇÒÉÒÏ×ÁÎ ËÒÁÊÎÅ ÕÂÏÇÉÊ ÒÅÄÁËÔÏÒ, ËÁË ÂÙÌÏ, ÎÁÐÒÉÍÅÒ × ÍÉËÒÏÞÉÐÏ×ÓËÉÈ IDE ÄÏ ÔÏÇÏ, ËÁË ÏÎÉ ÐÅÒÅÛÌÉ ÎÁ Netbeans.
AB>> ëÓÔÁÔÉ, × far'Å ×ÐÏÌÎÅ ÎÏÒÍÁÌØÎÙÊ ÒÅÄÁËÔÏÒ, ÎÏ ÂÌÅËÄÖÅËÁ É ÛÌÀÈ × AB>> ÎÅÍ, AB>> ËÏÎÅÞÎÏ, ÎÅÔ. EM> ïÎ ÎÅ ÚÁÔÏÞÅÎ ÐÏÄ ÓÉÎÔÁËÓÉÓ ÑÚÙËÁ (Á×ÔÏÏÔÓÔÕÐÙ, ÐÏÄÓ×ÅÔËÁ É Ô.Ð.).
Colorer ÓÔÁÎÄÁÒÔ ÄÅ ÆÁËÔÏ. ðÏÄÄÅÒÖ×ÁÅÔ ÓÉÎÔÁËÓÉÓ ÈÕÅ×ÏÊ ÔÕÞÉ ÒÁÓÒÏÓÔÒÁÎÅÎÎÙÈ ÑÚÙËÏ×.
EM> äÁ, ÐÌÁÇÉÎÙ EM> ÅÓÔØ,
âÅÚ ÐÌÁÇÉÎÏ× ÆÁÒ ÄÏÓÔÁÔÏÞÎÏ ÕÎÙÌ, ÐÏÜÔÏÍÕ ÇÏ×ÏÒÉÔØ ÐÒÏ ÔÁËÏÊ ×ÁÒÉÁÎÔ ÓÍÙÓÌÁ ÎÅ ÉÍÅÅÔ.
EM> ÎÏ ×ÓÅ ÒÁ×ÎÏ Ö ÎÕÖÎÏ ÌÉÂÏ ×ÙÈÏÄÉÔØ ÉÈ ÎÅÇÏ ÐÅÒÅÄ ÓÂÏÒËÏÊ, ÌÉÂÏ EM> ÐÅÒÅËÌÀÞÁÔØÓÑ ÎÁ ÄÒÕÇÏÅ ÏËÎÏ.
úÁÞÅÍ ×ÙÈÏÄÉÔØ? Ctrl+Tab.
EM> á × IDE ×ÓÅ ÏËÎÁ ÍÏÖÎÏ ÐÏ×ÅÓÉÔØ × ÕÄÏÂÎÏÊ EM> ËÏÎÆÉÇÕÒÁÃÉÉ, É ÐÅÒÅËÌÀÞÁÅÔ ÏÎÏ, ËÁË ÐÒÁ×ÉÌÏ, Á×ÔÏÍÁÔÉÞÅÓËÉ.
÷ ÆÁÒÅ ËÏÍÐÉÌÑÔÏÒ ÔÏÖÅ ÍÏÖÎÏ ÚÁÐÕÓËÁÔØ ÉÚ ÒÅÄÁËÔÏÒÁ, ÄÌÑ ÜÔÏÇÏ ÅÓÔØ ÐÌÁÇÉÎÙ. îÏ Ñ ÉÍÉ ÎÅ ÐÏÌØÚÕÀÓØ, ÓÍÙÓÌÁ ÍÁÌÏ.
AB>> éÍÅÎÎÏ ÔÁË. objcopy ÍÏÖÅÔ ÒÁÚÄÒÁËÏÎÉÔØ ÆÁÊÌ × ÌÀÂÏÊ ÐÏÚÅ, ÇÌÁ×ÎÏÅ AB>> ÐÒÁ×ÉÌØÎÏ ËÌÀÞÉ ÚÁÄÁÔØ. ðÏÔÏÍÕ É ÎÁÄÏ ÎÅ ÐÏÌÅÎÉÔØÓÑ, Á ÎÁÐÉÓÁÔØ AB>> ÍÅÊËÆÁÊÌ ÒÕËÁÍÉ. EM> õÄÉ×ÉÔÅÌØÎÏ, ÞÔÏ ÜÔÏ ÄÏ ÓÉÈ ÐÏÒ ÎÅ ÓÄÅÌÁÎÏ Á×ÔÏÍÁÔÏÍ, ÈÏÔÑ ÂÙ × ×ÉÄÅ EM> ÛÁÂÌÏÎÁ. EM> ïÞÅ×ÉÄÎÏ Ö, ÞÔÏ ËÏÌÉÞÅÓÔ×Ï ÓÌÕÞÁÊÎÙÈ ËÏÓÑËÏ× ÓÕÝÅÓÔ×ÅÎÎÏ ÓÎÉÖÁÅÔ.
ñ Ö ÔÅÂÅ ÕÖÅ ÏÂßÑÓÎÑÌ, ÞÔÏ ÁÔÍÅÌÏ×ÃÙÏ×ÃÙ ÍÕÄÁËÉ, ÐÏÔÏÍÕ ÞÔÏ ÎÅ ×ÙÒÁÂÏÔÁÌÉ ÅÄÉÎÙÊ ÓÔÁÎÄÁÒÔ ÏÐÉÓÁÎÉÑ ÆØÀÚÏ×. éÚ-ÚÁ ÜÔÏÇÏ ËÁÖÄÏÍÕ ÐÒÏÇÒÁÍÍÁÔÏÒÕ ÉÈ ÐÒÉÈÏÄÉÔÓÑ ÓËÁÒÍÌÉ×ÁÔØ ÐÏ-ÒÁÚÎÏÍÕ. þÔÏ ÔÏÌËÕ ÏÔ ÛÁÂÌÏÎÏ×? éÈ ÎÁ ×ÓÅ ÓÌÕÞÁÉ ÖÉÚÎÉ ÎÅ ÎÁÐÁÓÅÛØÓÑ.
WBR, AVB
Reply to
Alexey V Bugrov

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.