Open lpollini opened 11 years ago
Hi, Lorenzo. Pulso "Advance Plus" DLU40A is supported -- I think DL40A++ is probably compatible, but I am not certain. You could try it, or try mapping out the pins as described here: https://github.com/sim-/tgy/wiki/Identifying-ESC-pin-configuration
Dear Simon, first of all thanks for the answer and let me say that you did such a huge and great job with this alternative firmware .. my compliments !
Regarding compatibility, I see that there is a note in the firmware file dlu40a.inc saying that:
Same pinout as rct50a.inc but inverted low-side FETs, and inverted PWM input due to the opto-isolator
now since the difference between DL and DLU is the optoisolation this should represent an issue I will read the link and possibily get back to you soon :-)
thanks again, Lorenzo
On 2/22/2013 12:33 PM, Simon Kirby wrote:
Hi, Lorenzo. Pulso "Advance Plus" DLU40A is supported -- I think DL40A++ is probably compatible, but I am not certain. You could try it, or try mapping out the pins as described here: https://github.com/sim-/tgy/wiki/Identifying-ESC-pin-configuration
— Reply to this email directly or view it on GitHub https://github.com/sim-/tgy/issues/11#issuecomment-13939244.
Lorenzo Pollini, Ph.D.
Tenured Assistant Professor
Dept. of Energy and Systems Engineering
University of Pisa (Italy)
Via Diotisalvi,2
56126 Pisa, ITALY
Tel. +39 050 2217363
Fax +39 050 2217333
e-mail: lpollini@dsea.unipi.it
web: http://www.dsea.unipi.it/Members/polliniw
Dear Simon, by reading this https://docs.google.com/spreadsheet/ccc?key=0AhR02IDNb7_MdEhfVjk3MkRHVzhKdjU1YzdBQkZZRlE#gid=0 I found a picture of the DLU40A
I noticed that: my (dl40a++) and the the DLU40A use the same half bridge driver : the IR2103S (the last S the for the SOIC package) http://www.irf.com/product-info/datasheets/data/ir2103.pdf
they have a very similar layout well, actually the PCB look identical apart from the fact that the DLU does NOT have a BEC so the power supply part is not installed (3 x LF50A) and two capacitors
in addition the DLU (the supported one, has a large component with 4 legs that seems to bridge two parts of the PCB, tha large square yellow part any idea about it ? might it be the optoisolator ?
in addition, regarding the comment the the DlU40a.inc file: Same pinout as rct50a.inc but inverted low-side FETs, and inverted PWM input due to the opto-isolator
I noticed that the RC TImer 50 uses the IR2101 as half bridge driver that, as I expected, ahs the LIN input marked as active HIGH while the IR2103 has the LIN input marked as active low (with the overbar)
this probably means that I just need to change the part of the firmware where the inverted PWM input is considered
by comparing rtc50a.inc and dlu40a.inc it seems that most of the changes are due to the different low side driving: the macros _nFET_on and _nFET_off and the macros nFET_barke and all_nFETs_off where set is swapped with clear
as far as I understand I should not touch this part
and for the rest? changes in lines 11, 28,46 and 50 ? must I replace the lines 28,46 and 50 to the original values they have in rtc50a.inc ?
do not touch line 11?
thanks a lot for your help, Lorenzo
On 2/22/2013 12:33 PM, Simon Kirby wrote:
Hi, Lorenzo. Pulso "Advance Plus" DLU40A is supported -- I think DL40A++ is probably compatible, but I am not certain. You could try it, or try mapping out the pins as described here: https://github.com/sim-/tgy/wiki/Identifying-ESC-pin-configuration
— Reply to this email directly or view it on GitHub https://github.com/sim-/tgy/issues/11#issuecomment-13939244.
Lorenzo Pollini, Ph.D.
Tenured Assistant Professor
Dept. of Energy and Systems Engineering
University of Pisa (Italy)
Via Diotisalvi,2
56126 Pisa, ITALY
Tel. +39 050 2217363
Fax +39 050 2217333
e-mail: lpollini@dsea.unipi.it
web: http://www.dsea.unipi.it/Members/polliniw
Hi Lorenzo,
The opto-isolator is the yellowish package at the middle-top of the picture, yes. If that is missing, they may have still left the NPN in place which still inverts the signal. When inverted, the USE_INT0 line in the .inc file needs to be set to 2; otherwise, it should be set to 1 for normal non-inverted inputs. You may need to enable the pull-up by adding (1<<rcp_in) to INIT_PD. Some boards that seem to expect it (the NPN output may not look square without it). And yes, the falling/rising edge macros are flipped.
It seems I totally botched up the comments at the top of some of these files :), but tp70a.inc may already be exactly what you are looking for.
Dear Simon, by looking at DL40a PCB I noticed that there is transistor that seems to be connected with the same traces where the optocoupler is and is present in both DL and DLU versions.
Thus probably the DL has the same inverted PWM as the DLU thus the dlu40a firmware should work for me.
Now I need to figure out how to flash it since the board does not have the programming pins on an header, and probably all the required pins are soldered to the pads only and no wires are routed from there
It seems that Pulso used to program the chips before soldering them, let's hope they can be reprogrammed.
I will let you know if my tests succeed
Thanks again, Lorenzo
On 2/22/2013 8:43 PM, Simon Kirby wrote:
Hi Lorenzo,
The opto-isolator is the yellowish package at the middle-top of the picture, yes. If that is missing, they may have still left the NPN in place which still inverts the signal. When inverted, the USE_INT0 line in the .inc file needs to be set to 2; otherwise, it should be set to 1 for normal non-inverted inputs. You may need to enable the pull-up by adding (1<<rcp_in) to INIT_PD. Some boards that seem to expect it (the NPN output may not look square without it). And yes, the falling/rising edge macros are flipped.
It seems I totally botched up the comments at the top of some of these files :), but tp70a.inc may already be exactly what you are looking for.
— Reply to this email directly or view it on GitHub https://github.com/sim-/tgy/issues/11#issuecomment-13967456.
Lorenzo Pollini, Ph.D.
Tenured Assistant Professor
Dept. of Energy and Systems Engineering
University of Pisa (Italy)
Via Diotisalvi,2
56126 Pisa, ITALY
Tel. +39 050 2217363
Fax +39 050 2217333
e-mail: lpollini@dsea.unipi.it
web: http://www.dsea.unipi.it/Members/polliniw
Hi Lorenzo,
Any luck on this?
Dear Simon, thank'you so much for the help you gave me so far. Unfortunately my ESCs do not have the programming pins and this greatly slowed down my progresses.
I currently have not managed a good way to program them without soldering tiny wires to the atmel chip directly.
I tried to look for an "adapter/plug/something" of some kind without success can you give me any hints?
My latest idea is to build a pcb with the pads of the chip, drill a square hole just the size of chip in the middle and place it upside down on top of it so that the pads tough all the pins and I can access them but I have not yet time to try it ....
I suppose a loose connection may put the operation at serious risk
I will surely get back to you when I try to upload the firmware and let you know if, and how it works
Thanks, Lorenzo
On 4/16/2013 7:39 AM, Simon Kirby wrote:
Hi Lorenzo,
Any luck on this?
— Reply to this email directly or view it on GitHub https://github.com/sim-/tgy/issues/11#issuecomment-16427536.
Lorenzo Pollini, Ph.D.
Tenured Assistant Professor
Dept. of Energy and Systems Engineering
University of Pisa (Italy)
Via Diotisalvi,2
56126 Pisa, ITALY
Tel. +39 050 2217363
Fax +39 050 2217333
e-mail: lpollini@dsea.unipi.it
web: http://www.dsea.unipi.it/Members/polliniw
Perhaps this would help? http://www.hobbyking.com/hobbyking/store/__27195__Atmel_Atmega_Socket_Firmware_Flashing_Tool.html
Simon, that is exactly what I was thinking to build..... I believe I will buy one.... even if I already started building one with a rapid prototyping machine
LP
On 5/10/2013 8:05 AM, Simon Kirby wrote:
Perhaps this would help? http://www.hobbyking.com/hobbyking/store/__27195__Atmel_Atmega_Socket_Firmware_Flashing_Tool.html
— Reply to this email directly or view it on GitHub https://github.com/sim-/tgy/issues/11#issuecomment-17705716.
Lorenzo Pollini, Ph.D.
Tenured Assistant Professor
Dept. of Energy and Systems Engineering
University of Pisa (Italy)
Via Diotisalvi,2
56126 Pisa, ITALY
Tel. +39 050 2217363
Fax +39 050 2217333
e-mail: lpollini@dsea.unipi.it
web: http://www.dsea.unipi.it/Members/polliniw
Any luck?
Hi, I have 4 Pulso DL40a++, how can I tell if they are supported by the firmware ? It is not in the various lists of supported ESCs, but I was wondering if anybody knows if it is identical to some other and thus is supported under a different firmware name. Thanks, Lorenzo