Spot is hanging up

5 views
Skip to first unread message

tim10243

unread,
Oct 26, 2009, 11:45:37 AM10/26/09
to spot-development
Hi,
I made it - my first spot is nearly finished. I see something on the
display. The joystick is working. But then ...... http://www.eyris.net/spot/display_tx.jpg
a weird symbol is shown as soon as I try to change from TX to RX mode
and the spot is not frozen until I switch it of.
Has anyone of you an idea what the reason could be?
Regards
Tim

Till Seyfarth

unread,
Oct 26, 2009, 4:33:06 PM10/26/09
to spot-dev...@googlegroups.com
Tim,

I can see on your picture that you have changed the source code... so without further info it's really hard to try a diagnosis. Let me offer a hint for debugging instead: use the LED for finding the exact moment at which the device freezes. From my own experience I'd say it's hanging in the "waiting for fifo ready" routine (it's part of the switching between operating modes). But it could just as well be an error in the display structures (which have been changed obviously).

And don't forget to let us know about your improvements!

Hope this helps!
Till

tim10243

unread,
Oct 27, 2009, 2:19:40 AM10/27/09
to spot-development
hi till,

i got the atmega with the software on from a friendly member of this
group.
his spot is running. so i fear its more a hardware problem - maybe my
soldering skills are too poor
the moment the device is freezing is when the joystick is on TX and i
move the joystick to the right to change into RX
today I´ll assemble some more spots with the same software on its
atmegas. if they all show the same mistake i would say its the
software - if some of them are running well i must be a mistake in my
way of assembling

tim

tim10243

unread,
Oct 27, 2009, 8:00:27 AM10/27/09
to spot-development
i just finished the second spot - same behavior: it freezes when
trying to change from TX mode to RX
after the first device with this problem i thought, that there are
three possible reasons:
- i made a made a mistake by accident like a soldering point became
too big and connecetd two pins which should not be connected
- i made a made a fundamental mistake at the assembly like making
connections which are wrong
- the software is not OK
reason number one seems to be not the right one, because i don´t think
that the same accident would happen twice
i´m gonna doublecheck the connections and the circuit as soons as i
can and tell you the results.
tim

Ep Woody

unread,
Oct 27, 2009, 9:44:02 AM10/27/09
to spot-development
It's real simple to build an ISP cable. You'll find the circuit here :
http://www.robs-projects.com/mp3proj/images/ISPCable.gif

You might change the 220ohm resistors for 100 ohm variants.

If you want to be sure, you'd better take the .hex file from this
site. That version has been used many times.

Good luck!

Erwin

Till Seyfarth

unread,
Oct 27, 2009, 11:31:08 AM10/27/09
to spot-dev...@googlegroups.com
Tim,

what's happening if you press joystick-right or -left directly after startup?

I'm asking because this normally should also result in a communication - which would fail, as there are no receivers around. So "Aus" should blink twice. Or does it freeze as well?

Cheers 
 Till

tim10243

unread,
Oct 30, 2009, 4:34:00 AM10/30/09
to spot-development
Hi Till, hi Marc,

its a little bit embarrassing for me, but I have to confess that I
forgot to connect GND to the RFM12B - now it works

Tim

Till Seyfarth

unread,
Oct 30, 2009, 6:01:05 AM10/30/09
to spot-dev...@googlegroups.com
Ha! I once forgot to connect the interrupt line... 

Nice work!
Reply all
Reply to author
Forward
0 new messages