Search found 11 matches

by Randulf
Thu Feb 13, 2014 12:06 am
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 341794

Re: Alternative ESC firmware (reflashing)

Yeah I know, now when my head is bit clearer. Dont really know what I was doing yesterday Anyway its working now. Turns out we enable the Analog Comparator Input Capture Enable bit the build target files: ACSR |= _BV(ACIC) If I understand the data sheet this enables noise canceling for Analog Compar...
by Randulf
Wed Feb 12, 2014 12:03 am
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 341794

Re: Alternative ESC firmware (reflashing)

Finally some progress! Swapped TIFR = _BV(ICF1); rx_ppm_callback(time, state); to rx_ppm_callback(time, state); TIFR = _BV(ICF1); and now it works to toggle the led in the interrupt handler. The datasheet states that the ICF1 bit will be reset automatically so maybe we can remove it. Still no arming...
by Randulf
Tue Feb 11, 2014 9:29 am
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 341794

Re: Alternative ESC firmware (reflashing)

I'll try that tonight. I remember reading about it but had forgotten all about it, thanks for reminding me. I'm really at loss here. Ive been reading the datasheet over and over and looked at various examples on the net, I really think this should work. Anyway, I'm learning a lot here just wish I ha...
by Randulf
Mon Feb 10, 2014 11:37 pm
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 341794

Re: Alternative ESC firmware (reflashing)

Ok, so I placed a Debug_TraceToggle() in the ISR(TIMER1_CAPT_vect) function. This makes the debug led light up and the then it seems like it hangs, no startup sounds. I have no idea why it hangs, same thing if I place the Debug_TraceToggle() in the rx_ppm_callback func. Tested the to toggle the led ...
by Randulf
Mon Feb 10, 2014 8:22 am
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 341794

Re: Alternative ESC firmware (reflashing)

Unfortunately neither inverting the capture or setting TCCR1B to only CS11 worked. I had actually already made change in the Board_Init just to be safe. Im going to do some more testing tonight, would it be possible to define the beep function i global.h and then place a call to it in the interrupt ...
by Randulf
Sun Feb 09, 2014 11:31 pm
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 341794

Re: Alternative ESC firmware (reflashing)

No, I'm pretty shure it's not. I have it working on SimonK using this build target: https://github.com/vizual54/tgy/blob/ma ... t30nfs.inc
by Randulf
Sat Feb 08, 2014 12:14 pm
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 341794

Re: Alternative ESC firmware (reflashing)

Tested the RCTimer 45A NFS ESC today with RCTimer 5010-14 360KV, 16x55 prop an 4s. It struggles a little bit just when starting but then it worked really well. I could not make it loose sync. Also did some more testing with the rct30nfs. Now I get the startup beeps but not the arming beep but hangs ...
by Randulf
Fri Feb 07, 2014 8:13 am
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 341794

Re: Alternative ESC firmware (reflashing)

Hi Randulf, Why you enabling Overflow interrupt? TIMSK |= (1 << TICIE1) | (1 << TOIE1); // Timer input capture interrupt enable, overflow enable There are no handler for it.. Good point! I guess the foremost reason to why it was enabled was that I don't know what I'm doing and copy paste from inter...
by Randulf
Thu Feb 06, 2014 9:54 am
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 341794

Re: Alternative ESC firmware (reflashing)

Hi Randulf, Could you please test it? In case it works, I'll include it to the "trunk" Absolutely, I just need to build a rig first so I can run it safely with prop on. I'll net you know as soon as I have it set up and done tests. Tested with comp_pwm enabled yesterday and that seems also...
by Randulf
Wed Feb 05, 2014 10:50 pm
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 341794

Re: Alternative ESC firmware (reflashing)

ziss_dm wrote:Hi,

..On() ..Off() macroses was using wrong ports..


Doh!! I must have been really tired yesterday night :)
Thank you!
Now it seems to be working, have not tried with prop on yet.

Build target for the RCTimer 45A NFS can be found here (NOT TESTED):
https://github.com/vizual54/wii-esc/tree/master/src/hal
by Randulf
Tue Feb 04, 2014 10:49 pm
Forum: ESCs, propellers , servos and radios
Topic: Alternative ESC firmware (reflashing)
Replies: 640
Views: 341794

Re: Alternative ESC firmware (reflashing)

Hi! First time posting in this forum. I recently bought the RCTimer 30A and 45A ESC to flash with wii-esc. I have used wii-esc with good results on the RCTimer 20A before. Of course these new ESC doesnt map with any old files, seems to be new designs so I started to make .inc for SimonK for them. m ...