I've recently acquired a clocktamer 1.2, and I was trying to flash it
with some newly built firmware. I discovered that the build
instructions are a little out of date (e.g, I'm pretty sure
'CFLAGS="-DTAMER_2080_20" make' should be 'CFLAGS="-DTAMER_VER=1.2"
make' for my particular unit) and there are likely some bugs. I was
able to build some firmware, but unable to push it to the clocktamer.
In particular, the wiki says:
Connect ClockTamer to a computer with mini-USB cable.
Short-circuit nSS pin of GND (see pinout here). You can just place you
finger over SPI connector to short-circuit these pins.
Power on ClockTamer. LED should light up immediately (WITHOUT flashing
once first).
Remove short-circuit from nSS to GND.
Right now, I'm not seeing the clocktamer flash at all, grounded or
not. When running 'make dfu' i get:
dfu-programmer at90usb162 erase
dfu-programmer: no device present.
make: *** [dfu] Error 1
Which I assume means I have no available targets for dfu-programmer.
Thoughts?
This is all I get out of dmesg:
[51007.110339] usb 1-1.2: new full speed USB device using ehci_hcd and address 9
[51007.224390] usb 1-1.2: configuration #1 chosen from 1 choice
[51007.224681] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device
The LED does light, though I can't seem to get it to flash when NOT
shorted, it gives one continuous LED light regardless of shorting.
Here's my response when trying to update the firmware:
kheimerl@darth-maul ~/src/clock-tamer/board $ sudo make dfu
dfu-programmer at90usb162 erase
dfu-programmer: no device present.
make: *** [dfu] Error 1
message when trying to send it. I'm using dfu-programmer 0.5.1 on Linux Mint 9.
Thoughts?
I'll wire it directly to make sure it's grounded. Which SPI area is nSS?
On Sat, Mar 12, 2011 at 11:41 PM, sergey kostanbaev
May I ask you why do you want to re-flash your ClockTamer? If you just
need to change output frequency you should use command interface and
you don't need to re-flash.
--
Regards,
Alexander Chemeris.
http://www.fairwaves.ru
There are no big changes from the version that would have shipped with the unit?
I'd still like to resolve which pin is nSS, for future reference. I'm
sure, at some point, I'm going to have to flash this thing.
On Sun, Mar 13, 2011 at 12:26 AM, Alexander Chemeris