Go Down

Topic: INSTRUCTIONS to skip verification (Read 765 times) previous topic - next topic

May 12, 2013, 07:48 am Last Edit: May 12, 2013, 07:51 am by ivanseidel Reason: 1
Hi,
I was getting furious, because my sketch already had 140kb, and was taking about 1 minute to upload.

Then, I figure out how to "skip" verification (The second "stage" of upload).

To disable verification, go to:
ArduinoSoftwareFolder/hardware/arduino/sam/plataform.txt

Then, open it and go to the last line (It's what "calls" bossac to upload the sketch). Find the following section:
"-e -w -v -b"
and alter it to:
"-e -w -b" (just remove the "-v", witch means: VERIFY code after upload).

After all, it should be like this:
tools.bossac.upload.pattern="{path}/{cmd}" {upload.verbose} --port={serial.port.file} -U {upload.native_usb} -e -w -b "{build.path}/{build.project_name}.bin" -R

Save the file, close and open Arduino IDE. Select another plataform and select Arduino Due Programming port just to make shure.

Have fun.
Arduino DueTimer | https://github.com/ivanseidel/DueTimer
Arduino Thread | https://github.com/ivanseidel/ArduinoThread


Go Up