Welcome! Log In Create A New Profile

Advanced

Marlin 1.1.0-RC7 - verification error

Posted by karcio 
Marlin 1.1.0-RC7 - verification error
August 27, 2018 07:02PM
HI,

Trying to add z-probe to Malyan M150. Using FIRMWARE_NAME:Marlin 1.1.0-RC7
When I change settings about bed levelling and z-probe I can compile without any issues, but when i uncomment:

#define SDSUPPORT

I can see verification error ...

/home/karcio/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9/bin/avrdude -C/home/karcio/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9/etc/avrdude.conf -v -patmega1284p -carduino -P/dev/ttyUSB2 -b57600 -D -Uflash:w:/tmp/arduino_build_726516/Marlin.ino.hex:i

avrdude: Version 6.3, compiled on Jan 17 2017 at 11:00:16
Copyright (c) 2000-2005 Brian Dean, [www.bdmicro.com]
Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is "/home/karcio/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9/etc/avrdude.conf"
User configuration file is "/home/karcio/.avrduderc"
User configuration file does not exist or is not a regular file, skipping

Using Port : /dev/ttyUSB2
Using Programmer : arduino
Overriding Baud Rate : 57600
AVR Part : ATmega1284P
Chip Erase delay : 55000 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 :

Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 10 128 0 no 4096 8 0 9000 9000 0xff 0xff
flash 65 10 256 0 yes 131072 256 512 4500 4500 0xff 0xff
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00

Programmer Type : Arduino Description : Arduino
Hardware Version: 2
Firmware Version: 1.16
Vtarget : 0.0 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e9705 (probably m1284p)
avrdude: reading input file "/tmp/arduino_build_726516/Marlin.ino.hex"
avrdude: writing flash (129044 bytes):

Writing | ################################################## | 100% 29.89s

avrdude: 129044 bytes of flash written
avrdude: verifying flash memory against /tmp/arduino_build_726516/Marlin.ino.hex:
avrdude: load data flash data from input file /tmp/arduino_build_726516/Marlin.ino.hex:
avrdude: input file /tmp/arduino_build_726516/Marlin.ino.hex contains 129044 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 25.15s

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x1f000
0x0c != 0x90
avrdude: verification error; content mismatch

avrdude done. Thank you.

the selected serial port
does not exist or your board is not connected



Not sure what am I doing wrong, really need to have this SD support.

Regards


karcio
Re: Marlin 1.1.0-RC7 - verification error
August 27, 2018 11:43PM
you have a controller mpu with 128k of flash ram
already on the mpu is a bootloader using 1k
The gives you 127k of usable flash (126976 bytes)

your trying to upload 129044 bytes which is larger than 127k

You need to disable some features take a look at [www.youtube.com]
Or get a bigger mpu (ie a new controller with a atmel2560)

Or you could upload with a avrisp device directly into the chip and overwriting the bootloader and use all the flash, but then you have to use a avrisp every time you want to update the firmware

Edited 4 time(s). Last edit at 08/27/2018 11:57PM by Dust.
Re: Marlin 1.1.0-RC7 - verification error
August 28, 2018 04:11AM
Hi Dust

Thank You for clarification - now all clear thumbs up

Edited 1 time(s). Last edit at 08/28/2018 04:11AM by karcio.


karcio
Sorry, only registered users may post in this forum.

Click here to login