[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4792: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4793: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
AutoQuad Forum • View topic - A little debug help please?

A little debug help please?

Info and Discussion about the ESC32 hardware and software

A little debug help please?

Postby Wingspinner » Thu Aug 30, 2012 10:06 pm

Ok, one of my ESC32s stopped working.After some troubleshooting I've found that the ESC32 works fine when in UART as input but not PWM. Without schematics I'll have to do more work to find the problem but perhaps Jussi or Paul or Bill can answer a couple of questions for me. First, is there some sort of protection on the PWM input line to protect the processor pin or does it go directly to the processor? Second, what pin is it? From the sources it says GPIO_PIN_8 on GPIOA. That says to me pin 29 on the processor. Is that correct? There isn't a PWM signal coming in on that pin.

Some quick confirmation on the physical pin number and the circuitry between the PWM input and the pin would be very helpful.

Thank you!
Ron
"WingSpinner"
Wingspinner
 
Posts: 145
Joined: Wed Jul 04, 2012 6:51 am
Location: California

Re: A little debug help please?

Postby Kisssys » Fri Aug 31, 2012 12:05 am

Their is a direct connection to Pin 29 for PWM input.

Have you tried to reflash it?
Steve
Kisssys
Kisssys
 
Posts: 1340
Joined: Sat Jun 23, 2012 9:23 pm

Re: A little debug help please?

Postby Wingspinner » Fri Aug 31, 2012 1:10 am

Ron
"WingSpinner"
Wingspinner
 
Posts: 145
Joined: Wed Jul 04, 2012 6:51 am
Location: California

Re: A little debug help please?

Postby Kisssys » Fri Aug 31, 2012 1:32 am

Yes, it does sound related and that pin is definitely shorted with that low a resistance. You could take a pin and lift it up to prove the point I guess. The hard part is figuring out what went wrong.

It could have been as simple as unplugging the device with power applied which I'm guilty of, or static.

I'd rework the ESC as you have little to lose, and just use a different pin out of the FC board. The chips have bootloaders built in so you still don't need a programmer.

I rework a lot of stuff but if I didn't have a Stereo Microscope I'd never get the job done. I've taken the 32f4xx off with just hot air and no preheat with the right attachment.

It has also has been changed using just Chip Quik http://www.digikey.com/product-detail/e ... ND/1164266 which works pretty well.
Steve
Kisssys
Kisssys
 
Posts: 1340
Joined: Sat Jun 23, 2012 9:23 pm

Re: A little debug help please?

Postby Wingspinner » Sun Sep 02, 2012 3:05 pm

I'm pretty sure what took out the m13 pin on the processor. My power distribution board also conveniently routes the control signals to the ESC as well as power the ESC plugs into it and so does the FC. Makes for tidy wiring. What appears happened is the connector for the FC may have been plugged in one pin offset such that power and ground from the distribution board may have been connected to m13 and power on the FC. The connection is between the.airframe main frame members and hard to see. Not sure but that may have been it. Not sure why that
Oils affect the ESC32 though.

Anyway, processors and hot air nozzles on order from divinely. I don't have a stero microscope but I do have a very high magnification headset which will be sufficient n

Btw I was also thinking I could just chang the Pwm input on the ESC32 in both hw and SE. That ESC would.always need that special version though.

Thanks for your help. I'll let you know how it goes.

Regards
Ron
"WingSpinner"
Wingspinner
 
Posts: 145
Joined: Wed Jul 04, 2012 6:51 am
Location: California

Re: A little debug help please?

Postby bn999 » Sun Sep 02, 2012 3:44 pm

I rarely need to resort to hot air anymore when replacing the MCU. I'd highly recommend trying Chip Quick first, especially if you have little experience with hot air.

The only requirement for the PWM IN pin is that it is a timer pin that can handle input capture. Not sure if there are any more of those available.
bn999
 
Posts: 1559
Joined: Thu Jun 21, 2012 11:40 pm

Re: A little debug help please?

Postby Wingspinner » Sun Sep 02, 2012 9:13 pm

Hi Bill,
I've never used the Chip Quick stuff. I'll give it a look. I could just use another input. Heck, it's got plenty but it's my perfectionism showing....

Regards,
Ron
Ron
"WingSpinner"
Wingspinner
 
Posts: 145
Joined: Wed Jul 04, 2012 6:51 am
Location: California

Re: A little debug help please?

Postby Wingspinner » Mon Sep 03, 2012 3:59 pm

Update, well, a little more troubleshooting.

I've verified that the ESC32 STM32F103 pin 29 is damaged and will need a new processor - not difficult. More importantly, I found a tiny solder particle shorting the AQ6 processor pin that connects to M13. Cleaned that out and wa-la, it works ok now - no need to repair the AQ6 board!
Ron
"WingSpinner"
Wingspinner
 
Posts: 145
Joined: Wed Jul 04, 2012 6:51 am
Location: California

Re: A little debug help please?

Postby joebar.rc » Mon Sep 03, 2012 4:05 pm

Perfect, good job.
I also swapped an ESC32 mcu, only the 3rd swap I ever did. With some chipquik it's easy to remove and clean.
joebar.rc
 
Posts: 1084
Joined: Fri Jun 22, 2012 8:59 am
Location: The netherlands

Re: A little debug help please?

Postby Wingspinner » Sat Sep 08, 2012 11:48 pm

Attachments
esc32_failure_cause.jpg
ESC32 Failure Cause
Ron
"WingSpinner"
Wingspinner
 
Posts: 145
Joined: Wed Jul 04, 2012 6:51 am
Location: California


Return to ESC32

Who is online

Users browsing this forum: No registered users and 6 guests

cron