Welcome! Log In Create A New Profile

Advanced

Upload problem

Posted by tchicken 
Upload problem
May 04, 2020 05:41PM
When I start uploading, after a while, I get the following error with arduino 1.8.12 :

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-size" -A "C:\\Users\\Mario\\AppData\\Local\\Temp\\arduino_build_513148/Marlin.ino.elf"
Le croquis utilise 179618 octets (70%) de l'espace de stockage de programmes. Le maximum est de 253952 octets.
Les variables globales utilisent 5589 octets (68%) de mémoire dynamique, ce qui laisse 2603 octets pour les variables locales. Le maximum est de 8192 octets.
Une erreur est survenue lors du transfert du croquis
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer

Do you have an idea of ​​the problem ?

Thanks for your help, Tchicken.
VDX
Re: Upload problem
May 04, 2020 05:58PM
... have you checked correct port-number and baudrate?


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Re: Upload problem
May 04, 2020 06:14PM
When I flashed it with repetier, the BAUDRATE was configured to 230400

#define BAUDRATE 230400

I've change, but have the same result with 250000

Edited 1 time(s). Last edit at 05/04/2020 06:32PM by tchicken.
Re: Upload problem
May 05, 2020 12:53AM
This is a bootloader communication issue.

The baud rate in Marlins Configuration.h has nothing to do with this.
The baud rate is part of the bootloader. details can be found in boards.txt (part of arduino ide eg the line mega.menu.cpu.atmega2560.upload.speed=115200 )


possible causes
1) selected incorrect com port in Arduino IDE (so your not talking to the controller but something else)
2) selected incorrect Board in Arduino IDE (this sets incorrect parameters, including baudrate and upload protocol)
3) selected incorrect processor in Arduino IDE (no all boards have processor options)
4) bootloader on your board is not working or not present. (this can be due to being a wrong baudrate in bootloader). Time to setup a avrisp and write a new standard bootloader.
5) some boards require external power. ie cannot be powered up with just a usb cable. Eg RAMBo mini. (without this you see the com ports as it is powered by usb, but the processor is still powered off)

Edited 2 time(s). Last edit at 05/05/2020 12:57AM by Dust.
Re: Upload problem
May 05, 2020 09:36AM
Hello and thank you for your answers,

I do not know much in electronics, here is a link to my motherboard :
https://www.amtelectronics.net.au/product/pca-assy-tu/
https://3dprintersuperstore.com.au/products/motherboard-for-da-vinci

it has an AMTEL ATSAM3X8E processor
Communication only in USB.

Printer :
DaVinci 2.0a duo 2nd generation with jumper J37 for reset.

If you could help me in configuring Arduino s.v.p.

Many thanks for your help, Tchicken.

Edited 1 time(s). Last edit at 05/05/2020 09:37AM by tchicken.
Re: Upload problem
May 05, 2020 10:44AM
Well your original post says "Le croquis utilise 179618 octets (70%) de l'espace de stockage de programmes. Le maximum est de 253952 octets"

This is about right for a mega2560 based board, but not for a ATSAM3X8E that is same processor as arduino DUE.

If I compile for a RADDS controller ( a popular DUE based controller) I get "from 524288 bytes" a much larger and expected number

Looking around no one has made marlin work on this board. All they have done is replace the controller with a RAMP's

So my guess is you setup Marlin for a RAMPS and the arduino IDE for a mega2560 and attempted to upload it to a DUE based board.

This will not work.
Re: Upload problem
May 05, 2020 11:19AM
thank you for your answers,

So for you, it is impossible to install Marlin on my motherboard? And if I change the capacity of the integrated SD card on the motherboard, will that change anything ?

Otherwise, I will order a new motherboard ...

Many thanks for your help, Tchicken.
Re: Upload problem
May 05, 2020 12:00PM
I would ask on the Marlin discord If anyone has marlin working on your controller. But I suspect the answer will be that no one has.

[discord.gg]

no changing the size wont matter...

You trying to upload a file that the board just will not understand. (ATMEGA2560 code on a ATSAM3X8E prcessor.) would be like trying to put a goldfish brain into a dog.
Re: Upload problem
May 05, 2020 12:21PM
I'm ready to try the transplant hot smiley
Re: Upload problem
May 05, 2020 12:36PM
Transplant was 100% successful. Unfortunately goldfish brain panicked about being out of water jumped into a lake and drowned the dog body.


Still Incompatible...
Re: Upload problem
May 05, 2020 12:48PM
Thank you, I'm going to go back to Repetier for now confused smiley

Edited 1 time(s). Last edit at 05/05/2020 12:49PM by tchicken.
Re: Upload problem
May 05, 2020 10:49PM
Where are example with configs for Repetier, perhaps you board is just a weird looking clone of something else.

Found it [github.com]

Edited 1 time(s). Last edit at 05/05/2020 11:54PM by Dust.
Sorry, only registered users may post in this forum.

Click here to login