6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Nov 24, 2024 12:15 pm

All times are UTC




Post new topic Reply to topic  [ 269 posts ]  Go to page Previous  1 ... 12, 13, 14, 15, 16, 17, 18  Next
Author Message
PostPosted: Thu May 04, 2017 6:58 pm 
Offline

Joined: Thu May 04, 2017 6:46 pm
Posts: 1
Hello I've been tinkering with this and I'm stuck, I'm trying to get this to program an at29c010a 128k chip from atmel, I added the shift registers so I'd have 17 bits of addressing, I can get it to read out data, using the nano/ch340 Chinese sweatchips, changed the code to use long since int is a 16 bit variable and I need 17, but it will not write anything, which could just be a w/e pulse mismatch but I'm using the arduino serial terminal to send commands/test the circuit, but when try to write it just hangs and the duino won't respond unless you reset( no light flash unless I send a read command)


Top
 Profile  
Reply with quote  
PostPosted: Thu May 04, 2017 9:38 pm 
Offline
User avatar

Joined: Fri Dec 11, 2009 3:50 pm
Posts: 3367
Location: Ontario, Canada
Welcome, Universal2600 :)

One thing you could do is treat the at29c010a 128k chip as a 64k chip by tying address input A16 high or low. Then the remaining sixteen address inputs would come from the programmer.

Two things arise from this. As a temporary, workaround solution it would allow you to program the chip (although rather inconveniently) in two separate passes. There'd be no need for hardware or software to support a 17-bit address, so these options could be omitted or temporarily bypassed.

If you're unable to make this work then it probably indicates a defective at29c010a or some other underlying issue. In other words bypassing your 17-bit mod's allows you to isolate certain parts of the problem -- which of course is a fundamental troubleshooting technique.

HTH -- good luck!

Jeff

_________________
In 1988 my 65C02 got six new registers and 44 new full-speed instructions!
https://laughtonelectronics.com/Arcana/ ... mmary.html


Top
 Profile  
Reply with quote  
PostPosted: Thu Jul 13, 2017 11:58 pm 
Offline

Joined: Tue Jun 27, 2017 8:10 pm
Posts: 13
Just wanted to say thanks to rpress and marc to helping with the schematic on this programmer. I've made some boards based on the optimized version that rpress did.I also got it looking close to what unaclocker had. Haven't soldered anything yet but will this weekend.
Will report back when soldered and tested.

Here are some pictures in the mean time:
http://i1337.photobucket.com/albums/o670/theodor613/DSCN1448_zpsmicdhbpi.jpg
http://i1337.photobucket.com/albums/o670/theodor613/DSCN1449_zpski6ofnum.jpg
http://i1337.photobucket.com/albums/o670/theodor613/DSCN1452_zps9nlbroxs.jpg
http://i1337.photobucket.com/albums/o670/theodor613/DSCN1454_zpsusuokytb.jpg

Sorry for the links but the images are big.
In the last photo, i did not account for the zif socket size as i ordered the socket after i had submitted the gerbers. But the regular dip socket will be fine for me as i have a ic puller.


Top
 Profile  
Reply with quote  
PostPosted: Fri Jul 14, 2017 3:46 am 
Offline

Joined: Tue Jun 08, 2004 11:51 pm
Posts: 213
I use a 28C64 on my 6530 to 6532 adapter. I don't use a programmer,
I just use the 6502 on my KIM-1 and program it in place.
I'd think it would be a big deal to even used a C64 or less without
too much effort.
I'd use my EPROM programmer but the 28C64 is one of those
surface mount ones ( I think it is called a sot ).
The programming isn't too complicated.
I copy from an EPROM but I could just as easily used a serial input.
Dwight


Top
 Profile  
Reply with quote  
PostPosted: Fri Jul 14, 2017 4:35 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
(Welcome theodor613! It's best if you do attach images, but if they are big, better not to inline them. The forum software will automatically show a reasonably-sized preview.)


Top
 Profile  
Reply with quote  
PostPosted: Fri Jul 14, 2017 12:02 pm 
Offline

Joined: Tue Jun 27, 2017 8:10 pm
Posts: 13
Ok, I will keep that in mind when I post up the boards after soldering the components.


Top
 Profile  
Reply with quote  
PostPosted: Fri Jul 14, 2017 10:38 pm 
Offline

Joined: Tue Jun 08, 2004 11:51 pm
Posts: 213
I think the jest of my post was lost.
These chips were really intended to be programmed in place. No need to
make a special programmer.
Even with the chicken-and-egg problem, most any machine,
that runs, with an extra, empty, EPROM socket, can be easily be made
into a FLASH programmer with minimal write enable logic.
Dwight


Top
 Profile  
Reply with quote  
PostPosted: Sat Jul 15, 2017 12:50 am 
Offline

Joined: Tue Jun 27, 2017 8:10 pm
Posts: 13
I am using this programmer just to program the 27sf512 chips.

I have everything soldered on one board. Everything goes smoothly(had a finicky USB wire connecting to my Leonardo and uno) but i am getting a failure for the verifying part.


Top
 Profile  
Reply with quote  
PostPosted: Sat Jul 15, 2017 2:08 am 
Offline

Joined: Tue Jun 08, 2004 11:51 pm
Posts: 213
You might check the data sheet for this chip. Unlike the 28C512, these need 12V applied to the correct pins to program. The 28Cxx parts have a built in charge pump circuit to create their programming voltage. 27sfxx do not program the same as the 28Cxx parts.
Dwight


Top
 Profile  
Reply with quote  
PostPosted: Sat Jul 15, 2017 1:57 pm 
Offline

Joined: Tue Jun 08, 2004 11:51 pm
Posts: 213
I should note that the data sheet I saw had the incorrect
timing diagram for reading the value. One should use the
levels stated in the table and not the diagram.
Dwight


Top
 Profile  
Reply with quote  
PostPosted: Sat Jul 15, 2017 2:01 pm 
Offline

Joined: Tue Jun 27, 2017 8:10 pm
Posts: 13
Dwight, there is a charge pump circuit on the boards. Rpress has created the circuit to program the 27xXxX chips. It has worked before on their boards. I've double tripled check my traces and everything goes where it should. Next step would be my soldering. The caps and solder for them were exactly the same size. It might not have a proper connection. Gonna solder 2 more boards, one with hot air soldering and one with my reflow oven.

dwight wrote:
I should note that the data sheet I saw had the incorrect
timing diagram for reading the value. One should use the
levels stated in the table and not the diagram.
Dwight


I've message rpress about the reading issue.


Top
 Profile  
Reply with quote  
PostPosted: Sat Jul 15, 2017 2:24 pm 
Offline

Joined: Tue Jun 08, 2004 11:51 pm
Posts: 213
As long as the Vpp is right, it should work.
It does need you to erase them before programming.
You can only flip bits one way by writing, unlike the
28C parts.
When you verify, does it show you the value read?
Did you check capacitor polarity?
Can you post the schematic?
Dwight


Top
 Profile  
Reply with quote  
PostPosted: Sat Jul 15, 2017 6:54 pm 
Offline

Joined: Tue Jun 27, 2017 8:10 pm
Posts: 13
Schematic is on page 8 and fourth post down. Polarity on the capacitors are correct. It is failing because it won't erase. So even though it says it wrote the data, it shows as nothing has changed.


Top
 Profile  
Reply with quote  
PostPosted: Sat Jul 15, 2017 6:58 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10986
Location: England
(You can link to a specific post using the little icon to the left of Posted: - in this case, here.)


Top
 Profile  
Reply with quote  
PostPosted: Sat Jul 15, 2017 9:47 pm 
Offline

Joined: Tue Jun 08, 2004 11:51 pm
Posts: 213
I see no schematic there?
In any case, if I understand right you are using an arduino.
It sounds like you need to write some board test programs
to measure and verify things without a flash chip in the socket.
Dwight


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 269 posts ]  Go to page Previous  1 ... 12, 13, 14, 15, 16, 17, 18  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 64 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: