6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sat Nov 16, 2024 7:26 pm

All times are UTC




Post new topic Reply to topic  [ 269 posts ]  Go to page Previous  1 ... 8, 9, 10, 11, 12, 13, 14 ... 18  Next
Author Message
PostPosted: Sun Dec 08, 2013 9:23 pm 
Offline

Joined: Fri Dec 06, 2013 7:49 am
Posts: 8
BigDumbDinosaur wrote:
Do you have suitable test equipment to monitor the EEPROM pins to see what's going on?


I have a multimeter that I try to use to debug, but it doesn't feel like a very good method...

BigDumbDinosaur wrote:
Also, are you confident about your timing?


I was concerned that my write cycles were too short; I added some delays here and there but it didn't help.
It may also be that I'm not doing the I/O extender write operation properly, I'll have to look into that in more detail.

_________________
Aspiring homebrew- and replica builder.
Blog http://tobier.se
Hackaday http://hackaday.io/tobier


Top
 Profile  
Reply with quote  
PostPosted: Sun Dec 08, 2013 11:46 pm 
Offline

Joined: Sun Dec 08, 2013 5:18 am
Posts: 2
Turned out my issue was due to some damage my arduino suffered during a previous project. Picked up another one this afternoon and everything is working fine now.


Top
 Profile  
Reply with quote  
PostPosted: Mon Dec 09, 2013 5:10 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8491
Location: Midwestern USA
tobier wrote:
BigDumbDinosaur wrote:
Do you have suitable test equipment to monitor the EEPROM pins to see what's going on?

I have a multimeter that I try to use to debug, but it doesn't feel like a very good method...

At the least, you should invest in a good logic probe. If your finances allow it, a 'scope is often a big help in figuring out why something doesn't work.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Mon Dec 09, 2013 5:27 am 
Offline

Joined: Fri Dec 06, 2013 7:49 am
Posts: 8
BigDumbDinosaur wrote:
At the least, you should invest in a good logic probe. If your finances allow it, a 'scope is often a big help in figuring out why something doesn't work.


Thanks for the tip! A 'scope is a bit out of my price range for the occasional hobby projects, and I don't really have room for one either, but a logic probe shouldn't be a problem at all.

_________________
Aspiring homebrew- and replica builder.
Blog http://tobier.se
Hackaday http://hackaday.io/tobier


Top
 Profile  
Reply with quote  
PostPosted: Mon Dec 09, 2013 5:53 am 
Offline

Joined: Sun Jul 28, 2013 12:59 am
Posts: 235
BigDumbDinosaur wrote:
At the least, you should invest in a good logic probe. If your finances allow it, a 'scope is often a big help in figuring out why something doesn't work.

Is a logic probe something that one could reasonably put together oneself on the cheap, or is getting a used probe off of ebay or at an electronics swap meet a better use of one's time and money?

tobier wrote:
Thanks for the tip! A 'scope is a bit out of my price range for the occasional hobby projects, and I don't really have room for one either, but a logic probe shouldn't be a problem at all.

I forget how much I paid for my 'scope, but ISTR it being high-double-digits of USD. A used four-channel 200MHz Tektronics, if memory serves (it's about 60 miles away from me right now, so I can't easily check), with the fourth channel input capped off for some reason, and one of the knobs missing. I've only really used the one channel so far anyway. The probe that came with it was junk, so getting more probes was a bit of a priority, but there are guides out there to making your own cheap probes... (Part of me is thinking "it's only $100, where's the problem", while another part is remembering that there was a time in my life when $100 was a lot of money.)

Or you could go the really-cheap route and use any of the various "arduino oscilloscope" projects out there, but if you do you should be aware that the bandwidth is crap, the inputs aren't the nice high-impedance inputs, and so on. Probably not worth the bother.

I can't really make any suggestions on the space thing, I'm struggling with that one myself.


Top
 Profile  
Reply with quote  
PostPosted: Mon Dec 09, 2013 6:24 am 
Online
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8541
Location: Southern California
I briefly cover basic workbench equipment at http://wilsonminesco.com/6502primer/BasicWkbench.html . A good logic probe is more than just a light to tell you if a pin is high or low. If you know where to look though, you can often get a basic oscilloscope free, one that someone has replaced with more-modern equipment.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Tue Dec 10, 2013 5:55 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8491
Location: Midwestern USA
nyef wrote:
Is a logic probe something that one could reasonably put together oneself on the cheap, or is getting a used probe off of ebay or at an electronics swap meet a better use of one's time and money?

You could build one and, in fact, I have a schematic somewhere around here for a logic probe design that is (theoretically) good to at least 20 MHz.

That said, there are some instances where your time is worth more than the money saved rolling your own. I'd shop around for one, as reasonably good probes aren't too expensive. I did all the debugging on POC V1.0 with nothing more than a logic probe, even though I do have a scope.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Wed Dec 11, 2013 5:50 am 
Offline
User avatar

Joined: Sun Jun 30, 2013 10:26 pm
Posts: 1949
Location: Sacramento, CA, USA
GARTHWILSON wrote:
I briefly cover basic workbench equipment at http://wilsonminesco.com/6502primer/BasicWkbench.html . A good logic probe is more than just a light to tell you if a pin is high or low. If you know where to look though, you can often get a basic oscilloscope free, one that someone has replaced with more-modern equipment.


Since we're on the topic of oscilloscopes, do you think that I could use my Vantage Pro for low MHz digital design and diagnostics? It can do up to 8M samples/sec, but I'm not so sure that the probes supplied for automotive use would be suitable. Maybe I'll fire up my Apple //e one of these days and start poking around to see what happens ... if I accidentally kill it, it wouldn't be the end of the world, and at least my curiosity would be satisfied.

Mike


Top
 Profile  
Reply with quote  
PostPosted: Wed Dec 11, 2013 8:07 am 
Online
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8541
Location: Southern California
barrym95838 wrote:
Since we're on the topic of oscilloscopes, do you think that I could use my Vantage Pro for low MHz digital design and diagnostics? It can do up to 8M samples/sec, but I'm not so sure that the probes supplied for automotive use would be suitable.

8 MSPS is not fast enough for watching computer buses. A real oscilloscope with decent probes would definitely be better, probably in a lot of ways. A couple of good related topics are viewtopic.php?t=1617 and viewtopic.php?f=1&t=2013 .

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Thu Dec 19, 2013 2:23 am 
Offline

Joined: Tue May 28, 2013 1:42 am
Posts: 32
Ok, I haven't had a chance to test the new board design with 27SF512 chips yet, but I have tested it with 28C256 chips and it still works for them. I'll call that good enough to pop it back up for sale. For the record there were 8 people listed as waiting for it to come back in stock, and I only made 10. The price of this version is a bit higher, it's a lot more work to assemble (and I'm still selling them fully assembled/tested (aside from the voltage booster till I can get one of those chips)) and there are more components that I had to buy for it. But the price is still pretty reasonable. So anyways, it might sell out pretty quick again.
https://www.tindie.com/products/UnaCloc ... r-arduino/
Make sure you get the latest Java app and Arduino sketch from rpress's Github fork, to ensure compatibility with the new PCB. :)


Top
 Profile  
Reply with quote  
PostPosted: Sun Jan 04, 2015 3:49 am 
Offline

Joined: Sun Jan 04, 2015 2:49 am
Posts: 7
I know this thread has not seen much activity but... amazing work!

I am having a few issues biulding my programer.
I don't plan to use the pre-made sheild but rather make my own.

First issue is that no matter what Arduino firmware I use.
Mario's or Rpress's I get issues.
It "seems' like the GUI can not see the device.

With Mario's FW and his version of Simple JBurn 2 I get :
Code:
"Simple JBurn - Revision : $Revision: 1.5 $, $Date: 2013/07/19 05:44:46 $
Error: Not connected to any Programmer"

With Rpress's FW and his version of Simple JBurn 2 I get a seg fault (when selecting EEPROM size)
Code:
# Problematic frame:
# C  [librxtxSerial.so+0x7733]  Java_gnu_io_RXTXPort_nativeDrain+0xc3

I know my Arduino is plugged in. I can program it via the Ardino software.
I can also see it in lsusb:
Code:
Bus 002 Device 061: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x10c4 Cygnal Integrated Products, Inc.
  idProduct          0xea60 CP210x UART Bridge / myAVR mySmartUSB light
  bcdDevice            1.00
  iManufacturer           1 Silicon Labs
  iProduct                2 CP2102 USB to UART Bridge Controller
  iSerial                 3 0001
  bNumConfigurations      1


So if i run it via the Arduino serial monitor and send the "V" command for version I get :
Code:
MEEPROMMER $Revision: 1.4 $ $Date: July 31st, 2013 1:00pm $, CMD:A,R,r,w,W,V,C,E,P,p


So confused :D

Any hints or susgestions ?


Top
 Profile  
Reply with quote  
PostPosted: Sun Jan 04, 2015 4:19 pm 
Offline

Joined: Wed Jan 08, 2014 3:31 pm
Posts: 578
What OS are you using?

Does your OS require the installation of librxtx?

I built on of these programmers a few months ago and couldn't get JBurn to work on 64 bit Windows. So I ported Mario's software to C# and got it working. If this is your problem I can point you to my git repo.

Here's my fork of Mario's repo with a new sub-directory called WindowsJBurn

https://github.com/Martin-H1/MEEPROMMER


Top
 Profile  
Reply with quote  
PostPosted: Mon Jan 05, 2015 12:11 am 
Offline

Joined: Sun Jan 04, 2015 2:49 am
Posts: 7
Hi Martin_H,

I did see your fork on github ;) nice job.
I am using Linux, so that wont be much help for me.

I have the 64bit RXTX libraries installed... I wonder if it depends on the 32bit.
I know someone did a lot more work on the python script.. I may turn to that rather the the UI but I would like to test with the UI to ensure its working as designed.


Top
 Profile  
Reply with quote  
PostPosted: Mon Jan 05, 2015 12:42 am 
Offline

Joined: Sun Apr 10, 2011 8:29 am
Posts: 597
Location: Norway/Japan
Presumably this runs via a serial USB device.. do you have user access to the /dev/ttyUSB* device? That the Arduino tool has access could be that it's suid root or sgid a group with access.
It's a shot in the dark of course, but it's the most common problem for Linux users when working with the Propeller, for example.

-Tor


Top
 Profile  
Reply with quote  
PostPosted: Mon Jan 05, 2015 12:44 am 
Offline

Joined: Sun Jan 04, 2015 2:49 am
Posts: 7
Hi Tor,
My user has access to the tty devices. However even as root I get the same issue :)
Thanks anyways


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

All times are UTC


Who is online

Users browsing this forum: MSNbot Media and 15 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: