Search found 16824 matches

by MikeB
Mon Jan 02, 2012 3:50 pm
Forum: er9x
Topic: PXX work
Replies: 229
Views: 165947

Re: PXX work

Hi all, Anybody has some info on the PXX protocol? I am ok to help to introduce it in er9x / gruvin9x, but I don't know anything except the struct used which looks promising (model match feature?) Thanks, Bertrand. I have some code already written to produce the pulse sequence with CRC. I have also...
by MikeB
Mon Jan 02, 2012 3:43 pm
Forum: DSM2/DSMX Mods
Topic: DSM2 work
Replies: 427
Views: 305061

Re: DSM2 work

ar 9000 wants : 1 2 3 4 5 6 7 8 9 (up to 14) in 22ms dsm2 from er9x : 1 2 3 4 5 6 what ar 9000 translates from what it gets from the er9x tx. 1 2 3 4 5 6 1 2 3 4 5 6 1 2 3 4 5 6 * Jitter from rudder channel (4) onto throttle channel (1) To a laymen type compared to what you all can do, this makes t...
by MikeB
Mon Jan 02, 2012 3:39 pm
Forum: DSM2/DSMX Mods
Topic: DSM2 work
Replies: 427
Views: 305061

Re: DSM2 work

The final item I still want to look at is latency. It is likely not that good right now (or at least not as good as it could be), since the outputs for the next frame are locked in ~20 msec before it is sent. The call to setupPulsesDsm2() would ideally be done just before the beginning of the frame...
by MikeB
Mon Jan 02, 2012 12:57 pm
Forum: DSM2/DSMX Mods
Topic: DSM2 work
Replies: 427
Views: 305061

Re: DSM2 work

Are we at a point where Pat's latest code update should be put on as the latest revision of er9x? It seems like it is quite reliable. It can always be tweaked further later.

Mike.
by MikeB
Mon Jan 02, 2012 12:53 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2347
Views: 1350501

Re: ERSKY9x Questions

The new processor runs from 3.3V, so it is OK down to below 5.5V supply. I'm running the prototype from a bench PSU set to 6.5V, but I have turnd it down to 5.5V and it is still OK.

Mike.
by MikeB
Sat Dec 31, 2011 11:58 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKY9X Coding
Replies: 4540
Views: 1975184

Re: ERSKY9X Coding

I have access to both sides of the power switch on the PCB , we could use a transistor to allow the micro to hold the power ON until you are ready for shutdown. -Brent That could be interesting, I've used CPU controlled shutdown before, we may just need to be sure leakage current doesn't flatten th...
by MikeB
Sat Dec 31, 2011 10:01 pm
Forum: er9x
Topic: er9x development
Replies: 3179
Views: 1463317

Re: er9x development

its the regular frsky version i recoded to use those pins it makes it easier to solder with my hands and i did this with the 646 revision too but its not working right In drivers.cpp is the line: case SW_AileDR : xxx = PINC & (1<<INP_C_AileDR); //shad974: rerouted inputs to free up UART0 and in...
by MikeB
Sat Dec 31, 2011 9:27 pm
Forum: er9x / gruvin9x / th9 based firmwares
Topic: Increase Rate of Response using a POT! (Variable Rates)
Replies: 9
Views: 8320

Re: Mixes, Templates & Programing

Now, when the multiplex is changed to multiply, instead of add, it makes the output move in the opposite direction, why is this?? I would expect the output to only move one way, whichever way you move the stick. Each mixer output goes from -100 to +100. When you multiply the mixer values are multip...
by MikeB
Sat Dec 31, 2011 8:21 pm
Forum: er9x
Topic: er9x development
Replies: 3179
Views: 1463317

Re: er9x development

Mechcondrid wrote:i dont use the default pins for the connections could that be it?
i believe i use c6 and g2
The 'standard' FrSky build expects the moved switches to be on C6 and C7, so that is why your AIL switch is not working. Where did you get your r347 version from? It sounds like it was a 'special'.

Mike.
by MikeB
Sat Dec 31, 2011 8:16 pm
Forum: DSM2/DSMX Mods
Topic: DSM2 work
Replies: 427
Views: 305061

Re: DSM2 work

cr8tive_leo wrote:*grins* I'd love to... sure it only has 2 stop bits... it's not here... *I'm so bored at work right now, the jokes just get better*
I think Pat may be referring to the last .hex file I posted on this topic. That has 2 stop bits and about 20.6 mS between frames.

Mike.
by MikeB
Sat Dec 31, 2011 9:54 am
Forum: other
Topic: wanted - base for feature adding
Replies: 13
Views: 13434

Re: wanted - base for feature adding

Fairly major changes then! To get at either serial port the ATMEGA64 has requires hardware changes. The FrSky mod frees one of them and is a 'standard' mod. You may then want to look at the FrSky version of code as it has routines to handle the serial port, and also deals with the two switches that ...
by MikeB
Sat Dec 31, 2011 9:43 am
Forum: er9x / gruvin9x / th9 based firmwares
Topic: General Questions Chat & Advice
Replies: 28
Views: 17923

Re: Mixes, Templates & Programing

PXX is for a new PCM protocol for FrSky, under development. Need ro find some time to progress it. UsrProto - User Protocol. This is the serial protocol to be used from the telemetry receiver. The options are for the FrSky hub or the Winged Shadow How High device (WSHhi). WSHhi only gives altitude, ...
by MikeB
Sat Dec 31, 2011 9:34 am
Forum: er9x
Topic: er9x development
Replies: 3179
Views: 1463317

Re: er9x development

That's Weird then. I've checked back to the source for r347 and it is working the same way. There is a code change I put in that saves some memory, but logically it operates the same way, and works for the throttle cut switch. If it is still working on r347, then the wiring must be OK and the switch...
by MikeB
Fri Dec 30, 2011 11:02 pm
Forum: er9x
Topic: er9x development
Replies: 3179
Views: 1463317

Re: er9x development

Can you confirm the following please. 1. You are were and are running the FrSky version of er9x. 2. You have done the mod to move the two switches to other pins. 3. If you go to the main screen that shows THR RUD and ELE down the left and AIL GEA and TRN down the right all the other 5 switches show ...
by MikeB
Fri Dec 30, 2011 7:30 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2347
Views: 1350501

Re: ERSKY9x Questions

Does this look at all familar?
Ersky9x-1.jpg
The new ErSky9X board running test code. Just a taster, lots more to do to have it running properly. Picture is a bit poor, not enough lighting, sorry. Picture is better, I turned a light on!

Mike.
by MikeB
Fri Dec 30, 2011 5:10 pm
Forum: DSM2/DSMX Mods
Topic: DSM2 work
Replies: 427
Views: 305061

Re: DSM2 work

B) - With a ar9000 the bind light above throttle flashes constantly, the other two (one on satellite and the other one on the module are solid for most of the time, they randomly flicker, but the frequency is greater than 1 min) Pat's incarnation had solid bind lights all around. Both still have th...
by MikeB
Fri Dec 30, 2011 3:26 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKY9X Coding
Replies: 4540
Views: 1975184

Re: ERSKY9X Coding

Page program (256 bytes) is 5 mS max (1.2 mS typ). Block erase time (4K bytes) is 200mS max (50mS typ). I believe er9x already has a write delay time in for the trim changes. When you change a trim, it does not write immediately, but runs a timeout in case you hit the trim change again. After a whil...
by MikeB
Thu Dec 29, 2011 3:08 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKY9X Coding
Replies: 4540
Views: 1975184

ERSKY9X Coding

Proposed file system for ERSKY9X 4Mb external EEPROM The EEPROM erases data in 4K blocks, so we cannot easily update a few bytes. Treat the EEPROM as an array of 4K blocks. Block size = 4K Number of blocks = 128 Use the first 2 blocks as directory and FAT. To update directory: Write to first block, ...
by MikeB
Thu Dec 29, 2011 12:01 pm
Forum: DSM2/DSMX Mods
Topic: DSM2 work
Replies: 427
Views: 305061

Re: DSM2 work

Pat, here are the sources of pulses.cpp and er9x.h. These are the only two files needed for the DSM2 changes. The hex files I posted have a couple of fixes and changes for FrSky operation, but these don't matter for DSM2. I've changed the serial data to have 2 stop bits, the total frame period to 21...
by MikeB
Wed Dec 28, 2011 11:33 pm
Forum: DSM2/DSMX Mods
Topic: DSM2 work
Replies: 427
Views: 305061

Re: DSM2 work

The stop bit is now a single bit time, the bytes are packed together and take 1120 uS to send according to my digital storage 'scope. I also ignore the pulse polarity option, data is always serial. I don't have any DSM receivers or transmitters so I will need feedback to know if this works. (a) Does...
by MikeB
Wed Dec 28, 2011 10:56 pm
Forum: erskyTx (was ersky9x)
Topic: ERSKYTx (was ersky9x) Questions
Replies: 2347
Views: 1350501

Re: ERSKY9x Questions

I've been writing code to test the board out, most of the hardware is now tested and working. Just started on packaging the hardware drives to make them easy to use. Once that is done, hopefuilly, er9x should port over fairly easily. For best performance, certain variables should be defined to be 32...
by MikeB
Wed Dec 28, 2011 3:23 pm
Forum: DSM2/DSMX Mods
Topic: DSM2 work
Replies: 427
Views: 305061

Re: DSM2 work

I've implemented my proposed changes, to add the two extra interrupt routines, on my test setup. The output signal on the 'scope looks really good, 14 bytes packed end to end every 20 mS. I don't have s DSM2 setup, so I will post a version for others to test. Which version does anyone need? Standard...
by MikeB
Tue Dec 27, 2011 9:12 pm
Forum: er9x / gruvin9x / th9 based firmwares
Topic: Sticky T-Cut Throttle
Replies: 11
Views: 9712

Re: Mixology

Ted did say look in eepe for the template, not er9x. The templates are always available on eepe even if you have loaded a NO-TEMPLATE version of er9x.

Mike.
by MikeB
Tue Dec 27, 2011 6:57 pm
Forum: DSM2/DSMX Mods
Topic: DSM2 work
Replies: 427
Views: 305061

DSM2 proposal

The interrupt routine is struggling to complete in 8uS. There are so many register pushes and pops they take up 4uS alone. Then there is the entry and exit and the actual processing. The 32.7 mS glitch is caused by the interrupt routine falling behind. The timer is set up to reset to zero on compare...

Go to advanced search