r116 now released.
Voice for thousands fixed (I think!)
Some types of WAV file headers read properly now, mainly 16kHz, 8-bit with an extra field in the header.
RPM numeric display improved, doesn't go negative above 32767 RPM
Real Time Clock added to co-processor
Menu added to allow RTC to be set
Co-processor applet updated
In order to be able to re-program the co-processor, after you first set the RTC running, you will need to update your SAM-BA, co-processor applet. It is on the ersky9x site now, but here is the revised 'bin' (zipped).
Updated 29/09/2012 23:00
You may also need to update the .tcl file in the same directory with:
Updated 29/9/2012
In directory tcl_lib\common, you will probably also need to update generic.tcl with this one, SAVE your old one just in case.
There is a new menu, in the RADIO SETUP menus (LEFT LONG, then RIGHT several times) called DATE-TIME. Here you can see the current date and time, and also set new values.
If you want the date and time to keep running when you switch the Tx off, you need to provide a battery backup for the co-processor.
The backup supply voltage must not exceed 3.3 volts.
There is a 3-pin header, labelled BATTERY BACKUP, just above the co-processor at the right side of the board. The pins are, from left to right:
GND, Battery+, Charge output.
You could try using a 3V lithium primary cell, connected to GND and Battery+.
I am currently using a 2-cell NiCd (100mAh) with the negative connection to the GND pin and the positive connection to both Battery+ and Charge output.
This will charge the battery, at a small number of milliamps, when the radio is on.
I did try a "supercap" (5Farad), wired as the NiCd battery above, but it didn't keep the clock going for more than half a day.
A 2-cell NiMh should work as well as a NiCd, 100mAh to 200mAh.
The charge circuit is 3.3 volts through a schottky diode and a 100 ohm resistor. If you wish to try other batteries, make sure this does not provide a charging current that is too high, add more resistance in the charge connection if required.
Suggested loading:
1. Get the new version of the applet, and the file TinyApp.bin.
2. Copy the new version of the applet to the appropriate SAM-BA directory ( ???\ATMEL\sam-ba_2.11\tcl_lib\at91sam3s4-9x). You may wish to keep the existing version somewhere safe in case it is needed.
3. Plug in the USB and upload r116 ersky9x binary.
4. Still in SAM-BA, select the co-proc tab.
5. Execute the "Enable co-processor" command.
6. Set the load address to 0x80.
7. Set the name of the file to send to point to the copy of TinyApp.bin on you computer.
8. Click on the "send" button.
9. Disconnect the usb.
10. If required, connect your backup battery.
Switch on the Tx, and navigate to the DATE-TIME menu, set the date/time.
Done!
With the new versions of the applet and TinyApp.bin, you should now be able re-program to co-processor without disconnecting the backup battery.
When the Tx is off, the current drain from the backup battery is less than 10uA, so 100mAh should give you over 400 days of backup time.
Mike.