Parallax Forums
  HomeLog InRegisterCommunity CalendarSearch the ForumHelp
   
Parallax Forums > Public Forums > Propeller Chip > EEPROM Failure? Wierd Problem.  Forum Quick Jump
 
New Topic Post Reply Printable Version
[ << Previous Thread | Next Thread >> ] | Show Newest Post First ]

redrocker
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Apr 2009
Total Posts : 10
 
   Posted 10/30/2009 11:40 AM (GMT -8)    Quote This PostAlert An Admin About This Post.
The problem is my USB Protoboard will only work if the usb cable from the computer is still plugged in during boot up.



About an hour ago I was ecstatic. I had just finished the first working version of my very first project. Everything is running fine, so I decide to download the program to the EEPROM and remove the USB Cable.
When I the switch on the power at first everything seems normal. The LCD screen has loaded the first page and gives me a menu, but when I press a button on the key pad nothing happens.

Has anyone ever had this problem before?

More INFO:

The program is loaded and verified in EEPROM.
If I remove the USB cable shortly after power up everything works fine. (?)

There are many devices in the project. So I thought I would first trouble shoot the keypad and LCD. I wrote a simple test program that displays a number for each key I press on the LCD. I then demonstrated that the program works on my PPDB( parallax professional development board). That is I loaded the program to EEPROM, unplug usb cable, powered off/on to success.

However, when I load the exact same program (to EEPROM) to the USB protoboard, unplug usb cable, power on--Nothing. Do the same thing with the cable in=success.

Any suggestions would be greatly appreciated.

Thanks

Adam
Back to Top
 

James Long
Lil Brother SMT Assembly Services



Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Aug 2004
Total Posts : 976
 
   Posted 10/30/2009 11:58 AM (GMT -8)    Quote This PostAlert An Admin About This Post.
redrocker said...
The problem is my USB Protoboard will only work if the usb cable from the computer is still plugged in during boot up.



About an hour ago I was ecstatic. I had just finished the first working version of my very first project. Everything is running fine, so I decide to download the program to the EEPROM and remove the USB Cable.
When I the switch on the power at first everything seems normal. The LCD screen has loaded the first page and gives me a menu, but when I press a button on the key pad nothing happens.

Has anyone ever had this problem before?

More INFO:

The program is loaded and verified in EEPROM.
If I remove the USB cable shortly after power up everything works fine. (?)

There are many devices in the project. So I thought I would first trouble shoot the keypad and LCD. I wrote a simple test program that displays a number for each key I press on the LCD. I then demonstrated that the program works on my PPDB( parallax professional development board). That is I loaded the program to EEPROM, unplug usb cable, powered off/on to success.

However, when I load the exact same program (to EEPROM) to the USB protoboard, unplug usb cable, power on--Nothing. Do the same thing with the cable in=success.

Any suggestions would be greatly appreciated.

Thanks

Adam


There are a couple of things you didn't mention.

Are you powering the circuit from the same supply for testing both items?

This sounds like a power problem, not an EEPROM problem.

If you can cycle power after a download to the USB protoboard, with the USB cable plugged in, and the propeller work....then the EEPROM is working correctly. After power off the EEPROM has to supply the program to run.

EDIT.......sorry....are you saying if you boot the protoboard with the cable it works, even after the cable is unplugged???

James L


James L
Partner/Designer
Lil Brother SMT Assembly Services

Are you addicted to technology or Micro-controllers..... then checkout the forums at Savage Circuits. Learn to build your own Gizmos!

Post Edited (James Long) : 10/30/2009 8:11:46 PM GMT

Back to Top
 

James Long
Lil Brother SMT Assembly Services



Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Aug 2004
Total Posts : 976
 
   Posted 10/30/2009 12:12 PM (GMT -8)    Quote This PostAlert An Admin About This Post.
If the last edit is the case..

I think the eeprom is only being totally powered from the USB cable.

You may need to ohm out the eeprom connections on the protoboard. You may find a power/ground trace to the eeprom (from the regular power supply) to have a problem.

James L


James L
Partner/Designer
Lil Brother SMT Assembly Services

Are you addicted to technology or Micro-controllers..... then checkout the forums at Savage Circuits. Learn to build your own Gizmos!

Back to Top
 

mikediv
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Dec 2007
Total Posts : 455
 
   Posted 10/30/2009 2:02 PM (GMT -8)    Quote This PostAlert An Admin About This Post.
I agree with Red but we still need more info I had something similar happen and it turned out to be power related with the USB cable plugged in it seemed to supply some power to my proto board enough to work but when I un-plugged cable the batteries were to low
I have seen this happen a few times I do not have a PPDB is it the same I/O as your proto board? are you using the same size eeproms in both circuits? 256,512,1024?
Back to Top
 

MagIO2
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Mar 2009
Total Posts : 595
 
   Posted 10/30/2009 2:15 PM (GMT -8)    Quote This PostAlert An Admin About This Post.
Is there a pullup on the propeller reset line? Maybe the USB-chip has a free floating output which tends to ground in case there is no power via USB-plug.
Back to Top
 

Phil Pilgrim (PhiPi)
Registered Member



Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Feb 2006
Total Posts : 5998
 
   Posted 10/30/2009 3:21 PM (GMT -8)    Quote This PostAlert An Admin About This Post.
This is a known issue that has nothing to do with the EEPROM. What's happening is that the USB keeps resetting the Prop when the USB cable is unplugged, due to being powered through an I/O pin. There have been numerous threads that address it:

forums.parallax.com/forums/default.aspx?f=25&m=192068
forums.parallax.com/forums/default.aspx?f=25&m=333972
forums.parallax.com/forums/default.aspx?f=25&m=318261

-Phil
Back to Top
 

James Long
Lil Brother SMT Assembly Services



Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Aug 2004
Total Posts : 976
 
   Posted 10/30/2009 3:30 PM (GMT -8)    Quote This PostAlert An Admin About This Post.
Phil Pilgrim (PhiPi) said...
This is a known issue that has nothing to do with the EEPROM. What's happening is that the USB keeps resetting the Prop when the USB cable is unplugged, due to being powered through an I/O pin. There have been numerous threads that address it:

forums.parallax.com/forums/default.aspx?f=25&m=192068
forums.parallax.com/forums/default.aspx?f=25&m=333972
forums.parallax.com/forums/default.aspx?f=25&m=318261

-Phil


That is interesting reading......thanks Phil. I had missed those threads in the past.

Thanks for adding the information.

James L


James L
Partner/Designer
Lil Brother SMT Assembly Services

Are you addicted to technology or Micro-controllers..... then checkout the forums at Savage Circuits. Learn to build your own Gizmos!

Back to Top
 

redrocker
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Apr 2009
Total Posts : 10
 
   Posted 10/30/2009 5:23 PM (GMT -8)    Quote This PostAlert An Admin About This Post.
Wow. I love these forums. Have not failed me yet. Thank you everyone for your quick responses.
 
Will not get around to correcting the problem unitl Monday but I am sure the 1K pull up or removing the Debug software will do it.
 
Thanks Again!
 
Adam
Back to Top
 
[ << Previous Thread | Next Thread >> ]
New Topic Post Reply Printable Version
 
Forum Information
Currently it is Friday, November 20, 2009 10:22 PM (GMT -8)
There are a total of 393,733 posts in 55,521 threads.
In the last 3 days there were 82 new threads and 703 reply posts. View Active Threads
Who's Online
This forum has 17687 registered members. Please welcome our newest member, mark09.
50 Guest(s), 5 Registered Member(s) are currently online.  Details
Chris Savage (Parallax), benty, Todd Chapman, micromang, Highlandtinker