Author Topic: hex/ words / bits / ascii, programming with Minipro tl866cs to a 93c56 soic  (Read 3323 times)

0 Members and 1 Guest are viewing this topic.

Offline drfriskerTopic starter

  • Newbie
  • Posts: 2
Hey guys, Using a minipro TL866CS to program a 93c56 fairchild soic chip.

The 93c56a x8 screenshot is the code, I want written to it. When I use the programmer to write it to the chip with this chip setting, It messes up the code and all I get are FA FB FA FB FB FA

The "format I need it in" screenshot is code that will correctly write to the chip, read, and verify, all day long. What im not sure of is this:

When I load my bin file that I wrote in the format of the "93c56a x8" first screenshot, into the format of the second screenshot, the code gets "translated" or something and I end up getting what is shown. is it the same code just in different address format? or is it completely different and I have to find a way to translate it?

I don't know how to translate it correctly? Can someone point me in the right direction?
 

Offline macboy

  • Super Contributor
  • ***
  • Posts: 2287
  • Country: ca
post the files you are loading.
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4700
  • Country: au
  • Question Everything... Except This Statement
Both should save to a bin file the same, it comes down to the fact that this series of memories can come in either 8 bit, or 16 bit (and some have an external pin to select) so select the correct device and it should save correctly, if things still come out backwards look for an edianess setting

Key things to look for is after writing, try and read back from the eeprom. if you get every second byte skipped, you tried writing 16 bit to an 8 bit device, if the second half is a perfect copy of the first half you wrote on 8 bit to a 16 bit device, and if you get jibberish, then check your connections,
 

Offline drfriskerTopic starter

  • Newbie
  • Posts: 2
there is only one file I'm loading, I attached it in the 1st screenshot of the data i want it in (from a pdf, the forum won't let me load .bin nor .zip)

The file I attached WILL open differently if you have a different chip selected. For example, load my bin file into FM93c56A (x8) @ SOIC ( 0x100 bytes) and it will load correctly. Programming to my chip- labeled with a fairchild F logo, and 93c56, it's a 8 pin soic- in this selected format will read back FA FA FA FB FA FA FB only, it says it fails verification, etc. So it obviously doesn't want 0x100 byte style written to it.

However, load the same bin file into FM93c56 @ SOIC8 (0x80 words) or FM93c56a (x16) @SOIC or FM93c56 and it will flip the positions of some of the cells, in word form. shown in second screenshot. notice the ascii code flips from iZ to Zi. This will write and read back to the chip correctly ( under the format is was just written under), but it's not in the format (0x100 bytes) I want it in.


say, I write it using FM93c56 @ SOIC8 (0x80 words) or FM93c56a (x16) @SOIC or FM93c56 above, as it will write and read correctly. But this time, choose to read from the chip I just wrote to, but chose to read it as 0x100 byte, it reads back the third attachment picture.

Is this wrong? Is my source code that I want to write to it just supposed to be in 0x80 words style? Am I looking too far into it, over reading perhaps? I haven't been able to test my application, but I also don't want to fry the circuitry its going into.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf