- Log Out
- Settings
- My Profile
- Notifications
  - No new messages
  - Inbox
- Welcome, neazoi

+ Post New Thread + Reply to Thread + Mark as Solved
Results 1 to 8 of 8

# Thread: Burning raw data into EPROM

- ###### LinkBack

  - LinkBack URL
  - About LinkBacks
  - Bookmark & Share
  - Digg this Thread!
  - Add Thread to del.icio.us
  - Bookmark in Technorati
  - Tweet this thread

- ###### Thread Tools

  - Show Printable Version
  - Email this Page…
  - Download This Thread
  - Subscribe to this Thread…
  - Mark this thread as solved…

- ###### Search Thread

  - Advanced Search

1. Yesterday, 12:47 #1
   neazoi
   - View Profile
   - View Forum Posts
   - Private Message
   - View Blog Entries
   - Visit Homepage
   - View Articles
   - Give Away Points
   Advanced Member level 2

   Join Date
     Jan 2008
   Location
     Greece
   Posts
     696
   Helped
     8 / 8
   Points
     4,827
   Level
     16

   ## Burning raw data into EPROM

   > hello,
   > I would like to program two 2716 eproms to build this:
   > http://www.galacticelectronics.com/4...lockMicro.HTML
   > The micro-instruction logic is here:
   > http://www.galacticelectronics.com/4...ROMDetail.HTML
   > Starting at address zero and incrementing by one for each line. The first 8 bits are stored into the first eprom and the next 8 bits are stored into the second eprom. Both eproms share the same address. The HEX code for eprom 0 and 1 is shown at the end of each line.
   > I would like a little bit of help of how to create the HEX file for loading into the programming software.
   > Should I open a hex editor and copy each Hex value for each eprom, starting at address 0?

   Edit Post Reply Reply With Quote Multi-Quote Msg Report Post View Profile Private Message

2. Yesterday, 16:08 #2
   FvM
   - View Profile
   - View Forum Posts
   - Private Message
   - View Blog Entries
   - View Articles
   - Add as Contact
   Advanced Member level 5
   Achievements:
   Awards:

   Join Date
     Jan 2008
   Location
     Bochum, Germany
   Posts
     16,196
   Helped
     4468 / 4468
   Points
     108,806
   Level
     80

   ## Re: Burning raw data into EPROM

   > A hex editor would generate a binary file, which is just the right way, because a hex file has a special format that you can't easily write by hand. Google for Intel hex format to learn about the difference.
   > Either your programmer understands raw binary, or you need to a bin2hex converter.
   > Copying the hex columns to the editor window seems to be the easiest way.

   1 members found this post helpful.
   Reply Reply With Quote Multi-Quote Msg Report Post View Profile Private Message Give Points Add as Contact

3. Today, 08:00 #3
   neazoi
   - View Profile
   - View Forum Posts
   - Private Message
   - View Blog Entries
   - Visit Homepage
   - View Articles
   Advanced Member level 2

   Join Date
     Jan 2008
   Location
     Greece
   Posts
     696
   Helped
     8 / 8
   Points
     4,827
   Level
     16

   ## Re: Burning raw data into EPROM

   > That is a little bit strange. If I copy the column to the hex editor it seems it inserts some empty bytes between wanted ones
   > It may be the new line character of the editor
   > Which ones should I copy, the HEX of the binary bits?
   > The hex editor accepts 16 bits for each address, but I have only 8. How should I cope with this?

   > Last edited by neazoi; Today at 12:23.

   Edit Post Reply Reply With Quote Multi-Quote Msg Report Post View Profile Private Message

4. Today, 13:31 #4
   FvM
   - View Profile
   - View Forum Posts
   - Private Message
   - View Blog Entries
   - View Articles
   - Add as Contact
   Advanced Member level 5
   Achievements:
   Awards:

   Join Date
     Jan 2008
   Location
     Bochum, Germany
   Posts
     16,196
   Helped
     4468 / 4468
   Points
     108,806
   Level
     80

   ## Re: Burning raw data into EPROM

   > Some understanding of the hex editor tool will be required for this operation...
   > You have entered the hex bytes in ASCII mode, but you need to insert it in binary (or "hex") mode. I don't know if and how it's supported by your editor. I found, that PSPad e.g. can insert that columns as they are.

   Attached Files
   - hex.zip (272 Bytes)

   1 members found this post helpful.
   Reply Reply With Quote Multi-Quote Msg Report Post View Profile Private Message Give Points Add as Contact

5. Today, 13:46 #5
   neazoi
   - View Profile
   - View Forum Posts
   - Private Message
   - View Blog Entries
   - Visit Homepage
   - View Articles
   Advanced Member level 2

   Join Date
     Jan 2008
   Location
     Greece
   Posts
     696
   Helped
     8 / 8
   Points
     4,827
   Level
     16

   ## Re: Burning raw data into EPROM

   > Originally Posted by FvM
   > Some understanding of the hex editor tool will be required for this operation...
   > You have entered the hex bytes in ASCII mode, but you need to insert it in binary (or "hex") mode. I don't know if and how it's supported by your editor. I found, that PSPad e.g. can insert that columns as they are.
   > The same happens if I open the file on the hex editor of the pspad...
   > Could you help me with this?
   > I attach you the splitted files, both in HEX and in BIN (both ascii)

   Attached Files
   - ROM0HEX.txt (254 Bytes)
   - ROM0BIN.txt (638 Bytes)
   - ROM1BIN.txt (638 Bytes)
   - ROM1HEX.txt (254 Bytes)
   Edit Post Reply Reply With Quote Multi-Quote Msg Report Post View Profile Private Message

6. Today, 14:06 #6
   FvM
   - View Profile
   - View Forum Posts
   - Private Message
   - View Blog Entries
   - View Articles
   - Add as Contact
   Advanced Member level 5
   Achievements:
   Awards:

   Join Date
     Jan 2008
   Location
     Bochum, Germany
   Posts
     16,196
   Helped
     4468 / 4468
   Points
     108,806
   Level
     80

   ## Re: Burning raw data into EPROM

   > I don't understand what you're asking for.
   > I know, how iit works, you can either use the files appended with my post or try to learn it yourself.

   1 members found this post helpful.
   Reply Reply With Quote Multi-Quote Msg Report Post View Profile Private Message Give Points Add as Contact

7. Today, 14:09 #7
   neazoi
   - View Profile
   - View Forum Posts
   - Private Message
   - View Blog Entries
   - Visit Homepage
   - View Articles
   Advanced Member level 2

   Join Date
     Jan 2008
   Location
     Greece
   Posts
     696
   Helped
     8 / 8
   Points
     4,827
   Level
     16

   ## Re: Burning raw data into EPROM

   > Originally Posted by FvM
   > I don't understand what you're asking for.
   > I know, how iit works, you can either use the files appended with my post or try to learn it yourself.
   > Oh I am really sorry, I haven't noticed your attached files!
   > Thank you very much for the help!
   > By looking at your files, basically one should type in the HEX data sequensially, in the HEX area of the editor (if I understood that well).
   > I was confused because the memory of the EPROM (where the bin file will be burned in) is 8 bits long, whereas the HEX edit area has 16 positions. But I suppose these are two different things. The programmer knows how to handle the sequencial bin file for each EPROM type...?

   > Last edited by neazoi; Today at 14:29.

   Edit Post Reply Reply With Quote Multi-Quote Msg Report Post View Profile Private Message

8. Today, 15:00 #8
   FvM
   - View Profile
   - View Forum Posts
   - Private Message
   - View Blog Entries
   - View Articles
   - Add as Contact
   Advanced Member level 5
   Achievements:
   Awards:

   Join Date
     Jan 2008
   Location
     Bochum, Germany
   Posts
     16,196
   Helped
     4468 / 4468
   Points
     108,806
   Level
     80

   ## Re: Burning raw data into EPROM

   > What I actually did to generate the file.
   > 1. Copied a hex column, as from your ROMHEX.txt files to clipboard
   > 2. Opened PSPad in hex mode and pasted the clipboard as hex text.
   > 3. Saved to a file.

   Did you find this post helpful? Click:
   Reply Reply With Quote Multi-Quote Msg Report Post View Profile Private Message Give Points Add as Contact

+ Post New Thread + Reply to Thread + Mark as Solved
Quick Navigation Microcontrollers Top

- Site Areas
- Settings
- Private Messages
- Subscriptions
- Who's Online
- Search Forums
- Forums Home
- Forums
- EDA Theory
  1. Electronic Elementary Questions
- EDA Software
  1. Software Links
  2. Software Requests
  3. Software Problems, Hints and Reviews
  4. Linux Software
- Digital Design and Programming
  1. ASIC Design Methodologies and Tools (Digital)
  2. PLD, SPLD, GAL, CPLD, FPGA Design
  3. Microcontrollers
  4. Digital Signal Processing
  5. Embedded Systems and Real-Time OS
  6. PC Programming and Interfacing
  7. Network
  8. Digital communication
- Analog Design
  1. Analog Circuit Design
  2. Analog IC Design and Layout
  3. RF, Microwave, Antennas and Optics
  4. Electromagnetic Design and Simulation
  5. Power Electronics
  6. Tubes and Retro
- Hardware and PCB Design
  1. Show DIY
  2. Hobby Circuits and Small Projects Problems
  3. Professional Hardware and Electronics Design
  4. PCB Routing Schematic Layout software and Simulation
  5. Robotics and Automatics Forum
  6. Service Manuals, Requests, Repair Tips
  7. Mechanical Engineering and Design
  8. Other Design
- Science
  1. Mathematics and Physics
  2. Heuristic methods, Machine Learning, AI, and Soft Computing
- General Computer
  1. General Computer
- Others
  1. About EDAboard.com
  2. EDA Jobs, Promotions, Advertising
  3. Business Special Interest Group
  4. Off Topic Chat
  5. Trashcan

## vBulletin Message

Cancel Changes

### Errors

### The following errors occurred with your submission

Okay

### Quick Reply

Rich Text Editor

Editor Toolbars Remove Format Paste as plain text Bold Italic Underline Font Font Size Size Text Color Smiley Link Email Unlink Insert Image Insert Video Wrap [QUOTE] tags around selected text Wrap [CODE] tags around selected text Wrap [HTML] tags around selected text Wrap [PHP] tags around selected text
Auto-Saved

Posting Quick Reply - Please Wait Add an Image

- Attachments:

« question about internal interrupt-MikroC !!! | - »

#### Similar Threads

1. ###### burning bin files to raw hard disk on ubantu linux (13)

2. ###### Burning Eprom using emu8086 (0)

3. ###### burning hex file into pic (4)

4. ###### How can I convert a text (*.txt) file into raw binary? (3)

5. ###### How to add audio data into an EPROM? (3)