electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

Memory data file: Keil


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> Memory data file: Keil
Author Message
junaid



Joined: 06 Jul 2006
Posts: 11


Post04 Sep 2006 13:39   

Memory data file: Keil


Hi Folks,

I am using Keil compiler for MCS-51 target. I need an initialisation file for RAM(data memory).
I think the initialisation file for ROM is .hex file generated by compiler.

I have got program which move data between memories and I could generate . hex file and run on keil simulator.

So can anybody tell me how to generate or get the file for data memory?
I need it for VHDL model of 8051.

Thanx in advance,
Junaid
Back to top
Google
AdSense
Google Adsense




Post04 Sep 2006 13:39   

Ads




Back to top
kordix



Joined: 18 Jan 2006
Posts: 64
Helped: 5


Post05 Sep 2006 3:26   

Re: Memory data file: Keil


I don't understand your question!
but hope this will help u:

I don't even remember where did i get it!



Sorry, but you need login in to view this attachment

Back to top
kordix



Joined: 18 Jan 2006
Posts: 64
Helped: 5


Post05 Sep 2006 3:28   

Memory data file: Keil


this is a VHDL design for the 8051.
Back to top
junaid



Joined: 06 Jul 2006
Posts: 11


Post05 Sep 2006 8:36   

Re: Memory data file: Keil


Hi Kordix,

Thanx for that stuff that will be helpfull for me.
Actually I am looking for generation hex file for data memory in Keil compiler.

I need to have a file to inilialise data memory.


Regards,
Junaid
Back to top
bis_



Joined: 21 Jun 2006
Posts: 50
Helped: 13


Post05 Sep 2006 10:36   

Re: Memory data file: Keil


The initialization of the data variables in RAM and XRAM is done at the startup phase of the MCU51 program based on the datas stored in ROM for "initialized variables" segment by the linker. There are no need to initialize it by FPGA configuration. But if you like it: the data can be resolved directly from .hex file using proper offsets for the initialization segment. Look at file "startup.a51" and output linker map files.

bis
Back to top
junaid



Joined: 06 Jul 2006
Posts: 11


Post05 Sep 2006 12:46   

Re: Memory data file: Keil


Hi Bis,

Thanx a lot. You cleared my question. So the compiler explicitly doesn't generate .hex file for RAM n XRAM.

Actually I need it for initialising RAM in VHDL model using file I/O. If you have info. on this it would be very nice.

Regards,
Junaid
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> Memory data file: Keil
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
KEIL:Inserting assembly statement in C source file with KEIL (4)
simulation of lcd on memory in keil (2)
What's kind of memory type of 80C51's data memory? (3)
Keil C CODE MEMORY INITIAL ADDRESS??? (2)
Using Program memory as Data memory (9)
8051, keil , assembly DATA (4)
Hex file generation in 8051 (Keil) (8)
Format file for Keil and Intel OMF (1)
syntax in Keil to generate a hex file from ALP (1)
how to read a bin file in matlab-eeg data file. (2)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS