My Magic 1.1 board (RAMPS 14 EFB) repeatedly crashes. After successful upload, the board will restart and everything is as before the upload. The board communicates seamlessly with the display and controls. It can also be read via USB. Restarts after inserting USB
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Users\D4str\Desktop\TH3DUF_R2\Windows Arduino\portable\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"
Using Port : COM3
Using Programmer : wiring
Overriding Baud Rate : 115200
AVR Part : ATmega2560
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Restart is ok..
And what about the problem that after uploading, nothing really uploaded?
the reboot will also occur when inserting usb during the working process
serial monitor works
start
echo:Marlin bugfix-2.0.x
echo: Last Updated: 2020-02-29 | Author: (D4str, JGAurora Magic)
echo:Compiled: Mar 20 2020
echo: Free Memory: 2608 PlannerBufferBytes: 1520
echo:SD init fail
echo:V76 stored settings retrieved (623 bytes; crc 9081)
echo: G21 ; Units in mm (mm)
echo: M149 C ; Units in Celsius
Arduino is on one board with Marlin.
Marlin works. I can "print". However, I cannot reinstall. That's the problem. In Visual Studio, it writes me this.
Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: Redirecting...
PLATFORM: Atmel AVR 2.0.0 > Arduino Mega or Mega 2560 ATmega2560 (Mega 2560)
HARDWARE: ATMEGA2560 16MHz, 8KB RAM, 248KB Flash
PACKAGES:
ballscrewbob:
How else would device manager etc. know something was plugged in ?
I have no idea how USB works.
A)
Setup:
Mega (original as far as I know, it identifies itself as Mega); external power and usb connected
RealTerm V2.0.0.70; DTR line cleared, port not open
C)
1)
Serial port not opened in realTerm
TX led flashing, L led blinking at 1 Hz
2)
Disconnect USB
TX no longer flashing, L led blinking at 1 Hz
3)
Immediately after reconnecting USB
TX led still not flashing, L led blinking at 1 Hz
4)
Open port in RealTerm
TX led flashing, L led blinking at 1 Hz
RealTerm showed 75 as first value
To me this proves that the board did not reset after connecting the USB.
Yet if I disconnect my GRBL based machine mid stream all hell breaks loose.
Or even if just disconnected and were IDLE then my sending program balks at a lost connection.
One machine has seperate power for the UNO and will do the same.
Marlin is a subset of GRBL and they both make extensive use of serial and eeprom and memory manipulations.
Most versions tend to run at 115200 baud (at least here they do)
They also quite often employ a handshake capability.
EDIT
The handshake tends more to the buffer to keep the data flow from over running but can also be used for grbl command status as well so it can be a complex serial stream.
Then it is NOT the board but some setting you may have forgotten.
Did you write down all the previous parameters first before changing anything ?
usually the Marlin board has its own power supply and normally that would be independent of the mega below it unless it is a combined board/controller and not a shield ?
I only changed the marlin settings and allowed the use of signal inputs for z_endstop
EDIT: it's a combined board
Unfortunately for her, there is no datasheet
The heart of this board is the mega 2560 and I think it serves both arduino and marlin.
I presume you burnt the correct fuses for the bootloader first ?
I am not an expert on this particular matter but combined boards usually have a specific method to upgrade what would be loosely termed the "firmware" in the case of Marlin.
You would need to check the suppliers GITHUB for the methods and firmware.
It usually involved an ICSP programmer IIRC.
I recorded the bootloader sometime half a year ago. And I've been upgrading the firmware many times on this Board. I'll try to get a second arduino and hack it through it: D .As there a hardware format for the mega 2560 chipset? I think it's a cyclical mistake.