Interface and Connectivity ICs
MEMS and Sensors
Analog and Audio
EMI Filtering and Signal Conditioning
Power Management and Motor Control
SPC5 Automotive MCUs
ST25 NFC/RFID Tags and Readers
Switches and Multiplexers
STM32 MCUs Community
MEMS and Sensors Community
Automotive MCUs Community
STM8 MCUs Community
Help the community
Share your activities
Contribute your knowledge
About this community
to create and rate content, and to follow, bookmark, and share content with other members.
Question asked by
on Jul 17, 2007
on Jul 17, 2007 by 18340
Show 0 Likes
No one else has this question
Mark as assumed answered
This content has been marked as final.
Show 1 comment
(Required, will not be published)
Jul 17, 2007 2:25 PM
Apologees but I'd like to finish up a few things on this thread.
I'm trying to use the Cosmic compiler to read and write to EEPROM on a ST7FLITE39.
I'm using ST7VD to develop my code.
I have added eeprom.s and eeprom.i to my project.
I declare my variables as
e.g. @near @eeprom unsigned char myVar = 0;
Then I disable automatic linker file generation in Project Settings > Linker > Input.
Then I add line to my linker file
+seg .eeprom -b 0x1000 -m 0x20
And in my code I set myVar:
myVar = 1;
When I attempt to load this in ST7VP I receive :
Address 0x1000 is out of range and is ignored!
If I ignore this and program I can program the Program memory. On running the application I expect to see 0x01 in Data Memory location 0x1000 when I read the Data Memory tab from the IC using ST7VP.
This is not the case.
My remaining questions are:
Should I receive the address out of range error?
Are there any further modifications required for the eeprom code to work?
Show 0 Likes
Retrieving data ...
2018 STM32 Wish List
STM32-C2C (Cellular to Cloud) Web Concierge Portal
STM32F769I-DISCO: No audio output from wm8994
STM32CubeMX V4.24.0 code generation failure (bug report)
CubeMX SDIO DMA FatFS configuration