|
|
|
|
fryfrog
Joined: 28 Jul 2013
Posts: 12
|
I downloaded AtmelStudio 6.1, converted the project from 4->6 and installed WinAVR. I got it to compile and create a hex file. My ISP isn't recognized, so I used the simulator to get the correct low, high and lock fuse values. I then used eXtreme Burner to write the hex and fuse values to my first tz85.
While situating the chip socket cable, I must have miss-aligned it and I released some magic smoke. This was quickly followed by a fet popping and a frantic unplugging of the 5S battery it was hooked up to.
For the next one, I got the socket writer arranged first and *then* plugged it in and wrote the .hex and fuses. That part worked.
Low Fuse: 0xC1
High Fuse: 0xD9
Lock Fuse: 0xFF
When I hook everything up on the bench and connect a multimeter, right after powering on I get a few brief periods of ~4v, maybe 2-3 times. I figure this is the beeping. But I get this on all 3 wires. I've hooked the multimeter to all three possible combinations, A & C, A & B and B & C. They all give a few volts of power at startup, 2-3 times.
I've tried hooking the esc up to my throttle channel and powering on with the stick in both the full bottom and full top position. I've also tried hooking it to my elevator channel and allowing the spring to keep the stick centered.
What am I doing wrong?
I need another tz85, so I may as well order it from you... assuming you ship to the US?
This is a diff between the compiled .hex file and the one read back from the device. I don't have a clue what the couple line difference means, but at the very least what was written in almost exactly what was read back.
code:
fryfrog@apollo:$ diff -u Brushed.hex what_is_this.hex
--- Brushed.hex 2013-08-09 01:51:26.590362666 -0700
+++ what_is_this.hex 2013-08-09 02:37:15.760362478 -0700
@@ -82,6 +82,5 @@
:1005100083BD10927200ADCFAA1BBB1B51E107C077
:10052000AA1FBB1FA617B70710F0A61BB70B881F83
:10053000991F5A95A9F780959095BC01CD01089512
-:04054000F894FFCF5D
-:08054400321801E0017C010204
+:10054000F894FFCF321801E0017C0102FFFFFFFFAA
:00000001FF
The eeprom contents are very different though, nothing in the compiled eeprom and a bit in the read from esc. Of course, it has been powered on so it probably wrote stuff.
code:
fryfrog@apollo:$ diff -u Brushed.eep what_is_this.eep
--- Brushed.eep 2013-08-09 01:51:26.652363069 -0700
+++ what_is_this.eep 2013-08-09 02:37:15.778805973 -0700
@@ -1 +1,33 @@
+:10000000000102030405060708090A0B0C0D0E0F78
+:10001000101112131415161718191A1B1C1D1E1F68
+:10002000202122232425262728292A2B2C2D2E2F58
+:10003000303132333435363738393A3B3C3D3E3F48
+:10004000404142434445464748494A4B4C4D4E4F38
+:10005000505152535455565758595A5B5C5D5E5F28
+:10006000606162636465666768696A6B6C6D6E6F18
+:10007000707172737475767778797A7B7C7D7E7F08
+:10008000808182838485868788898A8B8C8D8E8FF8
+:10009000909192939495969798999A9B9C9D9E9FE8
+:1000A000A0A1A2A3A4A5A6A7A8A9AAABACADAEAFD8
+:1000B000B0B1B2B3B4B5B6B7B8B9BABBBCBDBEBFC8
+:1000C000C0C1C2C3C4C5C6C7C8C9CACBCCCDCECFB8
+:1000D000D0D1D2D3D4D5D6D7D8D9DADBDCDDDEDFA8
+:1000E000E0E1E2E3E4E5E6E7E8E9EAEBECEDEEEF98
+:1000F000F0F1F2F3F4F5F6F7F8F9FAFBFCFDFEFF88
+:10010000000102030405060708090A0B0C0D0E0F77
+:10011000101112131415161718191A1B1C1D1E1F67
+:10012000202122232425262728292A2B2C2D2E2F57
+:10013000303132333435363738393A3B3C3D3E3F47
+:10014000404142434445464748494A4B4C4D4E4F37
+:10015000505152535455565758595A5B5C5D5E5F27
+:10016000606162636465666768696A6B6C6D6E6F17
+:10017000707172737475767778797A7B7C7D7E7F07
+:10018000808182838485868788898A8B8C8D8E8FF7
+:10019000909192939495969798999A9B9C9D9E9FE7
+:1001A000A0A1A2A3A4A5A6A7A8A9AAABACADAEAFD7
+:1001B000B0B1B2B3B4B5B6B7B8B9BABBBCBDBEBFC7
+:1001C000C0C1C2C3C4C5C6C7C8C9CACBCCCDCECFB7
+:1001D000D0D1D2D3D4D5D6D7D8D9DADBDCDDDEDFA7
+:1001E000E0E1E2E3E4E5E6E7E8E9EAEBECEDEEEF97
+:1001F000F0F1F2F3F4F5F6F7F8F9FAFBFCFDFEFF87
:00000001FF
Edit: Tried again w/ the r40 pre-compiled .hex file and see similar behavior. A read shows a small amount of difference and at startup, I get a brief burst of ~3v (switched to a 3S battery, for safety) at power on. Only one though, not the 2-3 of the previous one. Tested hooked to thr and ele channels, w/ thr at 0 and 100% at startup. Still also see the 3v on all 3 wires.
|
Fri Aug 09, 2013 7:30 pm |
|
|
|
|
|
|
|
|
|
|
|
|
|
|