electronics forum

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

How to write bin file for EEPROM initialization for Proteus7


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> How to write bin file for EEPROM initialization for Proteus7
Author Message
neoaspilet11



Joined: 29 Sep 2005
Posts: 276
Helped: 21
Location: Cebu, Philippines


Post06 Jun 2007 0:24   

eeprom initialization


Hello Evrybody,

Does anybody know how to write binary file to be loaded to a microntroller for EEPROM initialization using proteus VSM?

Thanks
Back to top
nomad13



Joined: 29 Jan 2007
Posts: 154
Helped: 12


Post06 Jun 2007 0:40   

eeprom and proteus use a hex file


On the property(edit component) you can find initial contents of memory selection.

See the pictures below:

How to write bin file for EEPROM initialization for Proteus7

Select the binary file simply by browsing it:

How to write bin file for EEPROM initialization for Proteus7
Back to top
Google
AdSense
Google Adsense




Post06 Jun 2007 0:40   

Ads




Back to top
neoaspilet11



Joined: 29 Sep 2005
Posts: 276
Helped: 21
Location: Cebu, Philippines


Post06 Jun 2007 1:23   

eeprom binary file


Hello Nomad13,
That was quick. I mean I don't know how to create binary file from my EEPROM values. I tried to export a EEPROM contents of MPLAB but the output file is a hex fille.

I appreacite very much you help.

Thanks
Back to top
svicent



Joined: 11 Jul 2001
Posts: 413
Helped: 23


Post06 Jun 2007 18:17   

proteus eeprom bin


You can use the Intel HEX to BINARY File Converter Utility

h**p://www.keil.com/download/files/hex2bin.zip

This utility program creates a BINARY file from an Intel HEX file. You can use BINARY files with most EPROM programmers and you can easily use them for CRC or checksum calculations. Options for this utility program are listed below:

Syntax: HEX2BIN [/option] hexfile [binfile]

hexfile is the Intel HEX input file
binfile is the binary file to create

option may be any of the following

/Ln Binary file length
/Pn Pad data for binary file
/On Address offset (to add to HEX records)
/M Merge data into existing BIN file
/Q Quiet mode (no statistics are displayed)
/X Don't process ext. segment/linear address records

/? This help text
Back to top
Kurenai_ryu



Joined: 10 Jun 2006
Posts: 179
Helped: 22
Location: Bolivia


Post08 Jun 2007 17:47   

converter arquivo bin de eeprom para texto


you can also create a simple text file "noname.txt" write some ASCII and rename to "noname.bin" proteus will load the ascii in the eeprom easily... you could also search for an hex-editor like ultraview or free hex editor...

don't forget, after changin the EEprom file in the pic or the external eeprom, JUST DON'T FORGET to "Reset Model Persistent Data" to make effect the bin file... I have suffered very much before learning that isue....
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 -> How to write bin file for EEPROM initialization for Proteus7
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
How can I convert from BMP to BIN for loading eeprom? (3)
Generate BIn file from ASM file for 89c2051 (2)
how to translate .bin file to .csv file or ascii file?? (2)
How to write a file logging for testbenches monitoring (6)
generate bin file for PIC (6)
How to write a good script file for synopsys DC (dc_cammand) (3)
how to write sdf file for this and gate ? (1)
How to write input file in Hspice for fully differential amp (2)
how to read a bin file in matlab-eeg data file. (2)
how to record RAM data into PC like E/EEPROM bin/hex? (1)


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