Both! The timing is still there, but only runs if you have the 4K7 pulldown on the signal.
Mike.
Edit: Minor timing improvement, hex file above reposted.
Search found 16824 matches
- Tue Nov 05, 2013 4:31 pm
- Forum: General help (FrSky Taranis radio)
- Topic: XR8 rx telemetary sensors
- Replies: 296
- Views: 176648
- Tue Nov 05, 2013 4:10 pm
- Forum: General help (FrSky Taranis radio)
- Topic: XR8 rx telemetary sensors
- Replies: 296
- Views: 176648
Re: XR8 rx telemetary sensors
Looking OK generally. I'll do some more testing, but I have updated the hex file in the post above (I don't like leaving incorrect files on posts). This one should work.
I had the code a bit wrong, and also changed the clock in the wrong direction!.
Mike.
I had the code a bit wrong, and also changed the clock in the wrong direction!.
Mike.
- Tue Nov 05, 2013 2:57 pm
- Forum: General help (FrSky Taranis radio)
- Topic: XR8 rx telemetary sensors
- Replies: 296
- Views: 176648
Re: XR8 rx telemetary sensors
OK, I'm checking. I can see an error in my clock adjust code. I'm using clock/8 as the clock for timer 1, and have calculated from this as 1.2uS per count. It's not, it 1.2MHz, 0.833uS per count.
Mike.
Edit: This may affect other timings, testing now.
Mike.
Edit: This may affect other timings, testing now.
- Tue Nov 05, 2013 1:33 pm
- Forum: General help (FrSky Taranis radio)
- Topic: XR8 rx telemetary sensors
- Replies: 296
- Views: 176648
Re: XR8 rx telemetary sensors
OK, the processor clock is too slow. Each (-ve) pulse on the debug signal should be the centre of a bit, the last falling edge should be the centre of the stop bit. The first byte is 0x7E. In your picture, the last data sample is of the stop bit, and the stop bit edge is just into the next start bit...
- Tue Nov 05, 2013 12:21 pm
- Forum: General help (FrSky Taranis radio)
- Topic: XR8 rx telemetary sensors
- Replies: 296
- Views: 176648
Re: XR8 rx telemetary sensors
I'll do something this afternoon, I've been sidetracked this morning.
Mike.
Mike.
- Mon Nov 04, 2013 11:42 pm
- Forum: General help (FrSky Taranis radio)
- Topic: XR8 rx telemetary sensors
- Replies: 296
- Views: 176648
Re: XR8 rx telemetary sensors
That should all be OK, it's pretty much what I've been doing, except I'm using a STK500 (set to 3.3V) as the programmer. You will need to set the fuses as well, info just a few post back.
Mike.
Mike.
- Mon Nov 04, 2013 10:49 pm
- Forum: er9x
- Topic: er9x development
- Replies: 3179
- Views: 1460234
Re: er9x development
On occasions I've noticed slightly odd menu displays when changing menus. You seem to get some of each menu displaying at the same time. Also, the STAT display of tmain is sometimes over 20mS, this is rather long. I think the problem is caused by things like chainMenu(). What happens is the 'current...
- Mon Nov 04, 2013 7:17 pm
- Forum: Other Electronic Projects
- Topic: Can't compile this..
- Replies: 5
- Views: 5586
Re: Can't compile this..
All it is saying is change all lines like:
PROGMEM char usbDescriptorString0[] = { /* language descriptor */
to:
const PROGMEM char usbDescriptorString0[] = { /* language descriptor */
Mike.
PROGMEM char usbDescriptorString0[] = { /* language descriptor */
to:
const PROGMEM char usbDescriptorString0[] = { /* language descriptor */
Mike.
- Mon Nov 04, 2013 6:52 pm
- Forum: Other Electronic Projects
- Topic: Can't compile this..
- Replies: 5
- Views: 5586
Re: Can't compile this..
What errors are you getting?
Mike.
Mike.
- Mon Nov 04, 2013 6:50 pm
- Forum: Software
- Topic: Resize simulator screen on netbook/windows (XP)
- Replies: 10
- Views: 6665
Re: Resize simulator screen on netbook/windows (XP)
What is the screen resolution?
Mike.
Mike.
- Mon Nov 04, 2013 11:34 am
- Forum: Software
- Topic: Er9x problem
- Replies: 33
- Views: 14788
Re: Er9x problem
Just tried with the throttle up, still seems OK. Are you using eepe to flash the Tx with? You need to run eepe, then in the burn menu, select "Read EEPROM to file". Then, just use the Full Editor and use the "Upload Attachement" to include the file. You may need to rename the fil...
- Sun Nov 03, 2013 9:40 pm
- Forum: Software
- Topic: Er9x problem
- Replies: 33
- Views: 14788
Re: Er9x problem
Can you post your EEPROM image please? I know there have been problems to do with a change regarding how the stick mode is done. I don't fly helis so I need as much info as you can give. I just tried (radio in mode 2): Create a new model, apply the heli template, on the HELI menu select swash type a...
- Sun Nov 03, 2013 9:25 pm
- Forum: FrSky Taranis radio
- Topic: Its like the USB is dead
- Replies: 10
- Views: 5991
Re: Its like the USB is dead
Yes, those are the 4 pads. I believe they should connect to the 4 connections on the USB cable.
Mike.
Mike.
- Sun Nov 03, 2013 8:25 pm
- Forum: General help (FrSky Taranis radio)
- Topic: XR8 rx telemetary sensors
- Replies: 296
- Views: 176648
Re: XR8 rx telemetary sensors
Managed to find some time! Fuses: HIGH 0xFD LOW 0x1A No self program No DWEN Brownout at 1.8V No Reset disable SPIEN on EESAVE on Watchdog enabled No CLKDIV8 int RC @ 9.6MHz, 14CK and 64mS I've commited a code update to include having the watchdog running, and also to check the OSCCAL value doesn't ...
- Sun Nov 03, 2013 8:15 pm
- Forum: FrSky Taranis radio
- Topic: Its like the USB is dead
- Replies: 10
- Views: 5991
Re: Its like the USB is dead
All 4 connections are used, power is used when flashing. In any case, you MUST have at least ground D+ and D- for the USB to work. The other 2 connections may well be soldered on the other side of the board. The USB connection run along the 5-way ribbon to the main board. On the main board I think t...
- Sun Nov 03, 2013 7:54 pm
- Forum: FrSky Taranis radio
- Topic: Its like the USB is dead
- Replies: 10
- Views: 5991
Re: Its like the USB is dead
If you open the case up, you can see where the USB connector connects to the back board. The USB connector is on a small PCB that is mounted at right angles to the board, and the 4 connections are soldered between them. Worth checking they haven't broken due to mechanical flexing.
Mike.
Mike.
- Sun Nov 03, 2013 6:43 pm
- Forum: FrSky Taranis radio
- Topic: Taranis DEAD !!!!!
- Replies: 100
- Views: 49810
Re: Taranis DEAD !!!!!
We got FrSky to set the hardware up so plugging the USB in to a powered off unit sets the Boot0 pin for bootloading.aadamson wrote:Normally an STM that has built in DFU capabilities, needs a jumper on Boot0 to do that... but let's see what they have done...
Mike.
- Sun Nov 03, 2013 6:38 pm
- Forum: openTx
- Topic: Erratic free memory
- Replies: 7
- Views: 3971
Re: Erratic free memory
A bit more complicated than that! When a model (or the general settings) is changed, a copy of the model is saved, then a "rename" operation takes place to swap the newly saved 'file' with the original. However, the original file still remains taking up some space in the EEPROM. When you s...
- Sun Nov 03, 2013 6:22 pm
- Forum: er9x
- Topic: Timer running nearly 2x real-time
- Replies: 3
- Views: 2999
Re: Timer running nearly 2x real-time
How odd, I just tried it and I see what you mean, I'll look into it.
Mike.
Edit: I think I see the problem, fix in the next revision.
Mike.
Edit: I think I see the problem, fix in the next revision.
- Sun Nov 03, 2013 7:56 am
- Forum: eePe
- Topic: noobie question
- Replies: 2
- Views: 3096
Re: noobie question
I recently did a major change to the EEPROM of er9x, including code in er9x to automatically update from "version 0" to "version 2". This option in eepe allows you to do this change as eepe defaults to "version 0" for backward compatibility. I think it is from r803 onwa...
- Sat Nov 02, 2013 11:58 pm
- Forum: FRSky Telemetry Mods
- Topic: GPS telemetry mod - not working
- Replies: 13
- Views: 9852
Re: GPS telemetry mod - not working
"Connect IOBoard pin D5 to your FrSky receiver pin RX and data will start to flow."
Your first post said you connected D6 to TX on the receiver.
Mike.
Your first post said you connected D6 to TX on the receiver.
Mike.
- Sat Nov 02, 2013 10:55 pm
- Forum: General help (FrSky Taranis radio)
- Topic: XR8 rx telemetary sensors
- Replies: 296
- Views: 176648
Re: XR8 rx telemetary sensors
HIGH 0xFD
LOW 0x3A
No self program
No DWEN
Brownout at 1.8V
No Reset disable
SPIEN on
EESAVE on
No watchdog - No code to retrigger this at present, maybe I should add it.
No CLKDIV8
int RC @ 9.6MHz, 14CK and 64mS
I'll look into the watchdog, but may be Monday before I get to it.
Mike.
LOW 0x3A
No self program
No DWEN
Brownout at 1.8V
No Reset disable
SPIEN on
EESAVE on
No watchdog - No code to retrigger this at present, maybe I should add it.
No CLKDIV8
int RC @ 9.6MHz, 14CK and 64mS
I'll look into the watchdog, but may be Monday before I get to it.
Mike.
- Sat Nov 02, 2013 4:09 pm
- Forum: General help (FrSky Taranis radio)
- Topic: XR8 rx telemetary sensors
- Replies: 296
- Views: 176648
Re: XR8 rx telemetary sensors
I'll see what I can do, I just use AvrStudio to my STK500 programmer so I haven't used AVRDUDE for the fuses (or programming!).
Mike.
Mike.
- Sat Nov 02, 2013 3:07 pm
- Forum: General help (FrSky Taranis radio)
- Topic: XR8 rx telemetary sensors
- Replies: 296
- Views: 176648
Re: XR8 rx telemetary sensors
I've committed a code update, which I've tested. This includes the scaling option when pin 5 (PB0) is pulled to ground. I've also added the .hex file to save compiling it. This may be useful and the code is using sowtrare timing and a different compiler might generate slightly different code that up...
- Sat Nov 02, 2013 3:02 pm
- Forum: openTx
- Topic: Build instructions for OpenTX
- Replies: 16
- Views: 12390
Re: Build instructions for OpenTX
Just for info, I seem to be still using the Yagarto ARM compiler V4.6.0. I tried the V4.7.3 download and ersky9x got one to two hundred bytes larger.
Mike.
Mike.
- Sat Nov 02, 2013 2:59 pm
- Forum: er9x
- Topic: er9x development
- Replies: 3179
- Views: 1460234
Re: er9x development
OK, this is the wrong firmware, er9x is not openTx, please post again in openTx.
Mike.
Mike.
- Sat Nov 02, 2013 11:48 am
- Forum: er9x
- Topic: er9x development
- Replies: 3179
- Views: 1460234
Re: er9x development
Which revision of ER9X are you using?
You appear to refer to "CF1" which is "CUSTOM FUNCTION 1".
Er9x does not have custom functions, they are in openTx.
Mike.
You appear to refer to "CF1" which is "CUSTOM FUNCTION 1".
Er9x does not have custom functions, they are in openTx.
Mike.
- Sat Nov 02, 2013 9:56 am
- Forum: FRSky Telemetry Mods
- Topic: GPS telemetry mod - not working
- Replies: 13
- Views: 9852
Re: GPS telemetry mod - not working
You need to make sure the protocol is FrSky hub, not mavlink.
Mike.
Mike.
- Fri Nov 01, 2013 11:18 pm
- Forum: General help (FrSky Taranis radio)
- Topic: XR8 rx telemetary sensors
- Replies: 296
- Views: 176648
Re: XR8 rx telemetary sensors
I've put some code together, I'll test it tomorrow if I get time. 18.3 / 13.3 = 1.37594 11 / 8 = 1.375 So all I need to do is scale the A2D value by 11/8 and adjust to 8 bits. It might be a fraction of 1% out, but that is better than the resistor tolerance and can be corrected by the calibration in ...
- Fri Nov 01, 2013 9:36 pm
- Forum: General help (FrSky Taranis radio)
- Topic: XR8 rx telemetary sensors
- Replies: 296
- Views: 176648
Re: XR8 rx telemetary sensors
Just created:
http://code.google.com/p/x8r-analog/
The link would go between pins 4 and 6 on the ISP header, pin 4 goes to pin 5 of the 'tiny and pin 6 is ground.
Mike.
http://code.google.com/p/x8r-analog/
The link would go between pins 4 and 6 on the ISP header, pin 4 goes to pin 5 of the 'tiny and pin 6 is ground.
Mike.