ESC V3 : programming Atmega328P

(Read 3055 times)
ESC V3 : programming Atmega328P on: February 09, 2021, 07:44:35 PM
Hello,
I mounted 2 ESC V3 boards with components.
I'm trying to program the Atmega with the software ESC_BEMF_V3_CODE_V4_1 (made by Electronoobs).
The programming failed each time.
I'm using Arduino IDE v1.8.13 to program with the following configuration parameters : Atmega328P 5V 16MHz, programmer AVRISP MkII.
I'm also using the USB to serial converter FT232RL FTDI Basic USB 3.3V 5V TTL. This converter is connected to the 5 pins (GND, VCC, RX, TX and DTR) of the ESC board.
It seems that the Atmega is not reset when I start the upload.
Any idea why I cannot program? Do I use the correct programmer under Arduino IDE? Is there another way to upload?
Thanks for your help.
Pascal



Re: ESC V3 : programming Atmega328P Reply #1 on: February 10, 2021, 09:05:27 AM
Well, it could be the DTR capacitor, that's in charge of the reset when uplaoding. That must be 100nF. As you can see here: https://electronoobs.com/images/Arduino/tut_91/sch_1.jpg C6 is of 100nF and it must be a good capacitor. If that's not the problem, maybe some of the pins are not connected well...



Re: ESC V3 : programming Atmega328P Reply #2 on: March 04, 2021, 10:40:35 PM
Hello,

I used a tool to spy the following signals between the FTDI and the ESC:
Channel 0 : DTR
Channel 1 : +5V
Channel 2 : TX of FTDI
I attached a screen copy of this spy.
As you can see, the DTR is always low.
We can see that some bytes are transmitted on the TX. 3 times at the beginning of the upload, and then 1 bytes every 10s.
To try to program, I use the Arduino IDE configured as follow : processor = Atmega328P 5V 16MHz, programmer = USBAsp
Any idea why the DTR stays low ?



Re: ESC V3 : programming Atmega328P Reply #3 on: March 04, 2021, 10:43:51 PM
Here after is the capture of the first byte sent by the FTDI.



Re: ESC V3 : programming Atmega328P Reply #4 on: March 04, 2021, 11:48:08 PM
Here after is a capture of a successfull upload to an Arduino Pro mini.
Channel 0 : DTR
Channel 1 : +5V
Channel 2 : TX from FTDI
Channel 3 : RX from FTDI
« Last Edit: March 07, 2021, 07:41:47 PM by Noob 2331 »



Re: ESC V3 : programming Atmega328P Reply #5 on: March 07, 2021, 07:46:11 PM
Here after is a capture of aborted upload to ESC V3
Channel 0 : DTR
Channel 1 : +5V
Channel 2 : TX from FTDI
Channel 3 : RX from FTDI
Channel 4 : TX from Atmega328P capture at pin 31 of Atmega
Do you find normal that the TX (channel 4) is most of time set to 0? Should it be 1 most of the time ?



Re: ESC V3 : programming Atmega328P Reply #6 on: March 07, 2021, 07:50:31 PM
Here after is a zoom on the previous capture. I zoomed on the first byte transmitted by the FTDI.
We can see that the channel 3 (RX FTDI) and channel 4 (TX of Atmega328P) are equal, which is normal.



Re: ESC V3 : programming Atmega328P Reply #7 on: March 08, 2021, 09:59:21 PM
Here after is a capture of :
Channel 0 : DTR
Channel 1 : +5V
Channel 2 : TX from FTDI
Channel 3 : RX from FTDI
Channel 4 : RESET pin of Atmega328P
The time of RESET low is around 323µs.
The RESET signal is not clean. There are rebound at the end of RESET, just before RESET going high permanently.
Any idea ?



Re: ESC V3 : programming Atmega328P Reply #8 on: March 09, 2021, 08:35:10 AM
I think the programmer should be AVRISP mkii



Top Rated Product Info Reply #9 on: October 05, 2023, 11:37:46 PM
Please try Google before asking about Top Rated Product Tips 59a7057



Top Rated Business Massage Guide Reply #10 on: October 06, 2023, 07:08:25 PM
In response to the lady inquiring about mobile massage therapy, loan's massage, massage one mobile massage therapy, mantra massage llc, selina massage spa, sv massage therapy llc, home based massage, kraftgun out of business, swan massage oasis llc, ezekiel's massage studio llc, healing hands therapeutic spa llc, self employed massage therapist near me, mobile massage business plan, summa massage and wellness llc, grant massage studio, loyal oak massage llc, business massage, mobile massage van business, massage business llc, upstate massage llc,  I can vouch for this 출장 for massage business start up, body oasis massage therapy llc, marketing massage business, body massage business plan, mobile massage corporate, successful massage business, thai serenity spa llc, sports massage business, rr massage llc, running a massage business from home, d vine massage llc, volta esthetics massage lab llc, successful massage therapy business, massage llc, massage business blueprint podcast, mobile massage van, massage therapy llc, starting a massage therapy business at home, grant massage studio, massage practice, also. See More High Rated Business Massage Site c5f79e0



Updated Tajir4D Info Reply #11 on: June 20, 2024, 01:47:29 PM
In reply to the man talking about game slot login, slot fire, login judi slot, apa itu judi slot online, judi slots, judi slot online terbaru, link game judi slot online, slot online slot, slot judi gacor, game slot web,  I highly suggest this a knockout post on tajir4d login advice or game slot gacor terbaik, slot online judi, game bet slot, website judi slot online, judi slot online itu apa, slot jackpot, account slot, bonus judi slot, slot game slot game, judi online, alongside all this more bonuses for tajir4d site alongside all net net slot, website judi slot online, ini bet slot, game online gacor, slot judi slot, slot virtual, nama nama situs judi slot, judi indonesia, web gacor online, indonesia slot online, alongside all this learn more for tajir4d login blog which is also great. Also, have a look at this basics for tajir4d login link as well as game bet slot, apa nama situs judi slot online, game slot idn, slot game jackpot, web judi terbaik, gacor judi slot, judi slot online itu apa, game gacor, web game slot online, sini slot login, alongside all this read full report on tajir4d blog with indonesia slot online, slot apa yang gacor, slot kaya, game jackpot online, judi slot yang gacor, www judi slot online, indo judi slot, link jackpot online, game slot login, game slot online,  for good measure. Check more @ Awesome Accident Lawyer Blog f6c4aa0



Re: ESC V3 : programming Atmega328P Reply #12 on: September 06, 2024, 12:26:26 PM
The best thing about Krunker is how accessible it is. You don’t need a high-end PC to play, and the game runs smoothly on any device. The fast-paced action and variety of classes make it a lot of fun, and the community is very friendly. Highly recommend!