{"action":"created","issue":{"url":"https://api.github.com/repos/KevinOConnor/klipper/issues/772","repository_url":"https://api.github.com/repos/KevinOConnor/klipper","labels_url":"https://api.github.com/repos/KevinOConnor/klipper/issues/772/labels{/name}","comments_url":"https://api.github.com/repos/KevinOConnor/klipper/issues/772/comments","events_url":"https://api.github.com/repos/KevinOConnor/klipper/issues/772/events","html_url":"https://github.com/KevinOConnor/klipper/issues/772","id":369405802,"node_id":"MDU6SXNzdWUzNjk0MDU4MDI=","number":772,"title":"Error flashing firmware in Arduino DUE","user":{"login":"luxarts","id":16926821,"node_id":"MDQ6VXNlcjE2OTI2ODIx","avatar_url":"https://avatars3.githubusercontent.com/u/16926821?v=4","gravatar_id":"","url":"https://api.github.com/users/luxarts","html_url":"https://github.com/luxarts","followers_url":"https://api.github.com/users/luxarts/followers","following_url":"https://api.github.com/users/luxarts/following{/other_user}","gists_url":"https://api.github.com/users/luxarts/gists{/gist_id}","starred_url":"https://api.github.com/users/luxarts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luxarts/subscriptions","organizations_url":"https://api.github.com/users/luxarts/orgs","repos_url":"https://api.github.com/users/luxarts/repos","events_url":"https://api.github.com/users/luxarts/events{/privacy}","received_events_url":"https://api.github.com/users/luxarts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-12T05:36:12Z","updated_at":"2018-10-13T02:29:10Z","closed_at":null,"author_association":"NONE","body":"Hello! I followed all the steps in the installation guide and when I execute `make flash FLASH_DEVICE=/dev/ttyACM0` it start to flash but at the end throws `src/sam3x8e/Makefile:38: recipe for target 'flash' failed`.\r\n\r\nThe complete log:\r\n```\r\npi@octopi:~/klipper $ make flash FLASH_DEVICE=/dev/ttyACM0\r\n  Build Kconfig config file\r\n  Creating symbolic link out/board\r\n  Compiling out/src/sched.o\r\n  Compiling out/src/command.o\r\n  Compiling out/src/basecmd.o\r\n  Compiling out/src/debugcmds.o\r\n  Compiling out/src/gpiocmds.o\r\n  Compiling out/src/stepper.o\r\n  Compiling out/src/endstop.o\r\n  Compiling out/src/adccmds.o\r\n  Compiling out/src/spicmds.o\r\n  Compiling out/src/thermocouple.o\r\n  Compiling out/src/lcd_st7920.o\r\n  Compiling out/src/lcd_hd44780.o\r\n  Compiling out/src/buttons.o\r\n  Compiling out/src/tmcuart.o\r\n  Compiling out/src/sam3x8e/main.o\r\n  Compiling out/src/sam3x8e/timer.o\r\n  Compiling out/src/sam3x8e/gpio.o\r\n  Compiling out/src/sam3x8e/spi.o\r\n  Compiling out/src/generic/crc16_ccitt.o\r\n  Compiling out/src/generic/alloc.o\r\n  Compiling out/src/generic/armcm_irq.o\r\n  Compiling out/src/generic/timer_irq.o\r\n  Compiling out/src/../lib/sam3x/gcc/system_sam3xa.o\r\n  Compiling out/src/../lib/sam3x/gcc/gcc/startup_sam3xa.o\r\n  Compiling out/src/sam3x8e/serial.o\r\n  Compiling out/src/generic/serial_irq.o\r\n  Building out/compile_time_request.o\r\nVersion: v0.6.0-529-gaa693fb-20181012_052643-octopi\r\n  Linking out/klipper.elf\r\n  Creating hex file out/klipper.bin\r\n  Flashing out/klipper.bin lib/bossac/bin/bossac to /dev/ttyACM0 via bossac\r\nErase flash\r\n\r\nDone in 0.061 seconds\r\nWrite 15152 bytes to flash (60 pages)\r\n[==============================] 100% (60/60 pages)\r\nDone in 3.663 seconds\r\nVerify 15152 bytes of flash\r\n[==============================] 100% (60/60 pages)\r\nVerify successful\r\nDone in 3.158 seconds\r\nSet boot flash true\r\n\r\nSAM-BA operation failed\r\nsrc/sam3x8e/Makefile:38: recipe for target 'flash' failed\r\nmake: *** [flash] Error 1\r\n```\r\n\r\nI tried uploading a test code to the same board with Arduino IDE and it works perfectly (the upload an the program). Is there a way to upload the firmware with Arduino IDE?\r\n\r\nThanks!\r\n"},"comment":{"url":"https://api.github.com/repos/KevinOConnor/klipper/issues/comments/429504181","html_url":"https://github.com/KevinOConnor/klipper/issues/772#issuecomment-429504181","issue_url":"https://api.github.com/repos/KevinOConnor/klipper/issues/772","id":429504181,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTUwNDE4MQ==","user":{"login":"KevinOConnor","id":3004890,"node_id":"MDQ6VXNlcjMwMDQ4OTA=","avatar_url":"https://avatars3.githubusercontent.com/u/3004890?v=4","gravatar_id":"","url":"https://api.github.com/users/KevinOConnor","html_url":"https://github.com/KevinOConnor","followers_url":"https://api.github.com/users/KevinOConnor/followers","following_url":"https://api.github.com/users/KevinOConnor/following{/other_user}","gists_url":"https://api.github.com/users/KevinOConnor/gists{/gist_id}","starred_url":"https://api.github.com/users/KevinOConnor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KevinOConnor/subscriptions","organizations_url":"https://api.github.com/users/KevinOConnor/orgs","repos_url":"https://api.github.com/users/KevinOConnor/repos","events_url":"https://api.github.com/users/KevinOConnor/events{/privacy}","received_events_url":"https://api.github.com/users/KevinOConnor/received_events","type":"User","site_admin":false},"created_at":"2018-10-13T02:29:10Z","updated_at":"2018-10-13T02:29:10Z","author_association":"OWNER","body":"That's an error reported by the \"bossac\" flash writing application.  I've seen it do that a few times as well and I'm not sure why.  In my experience it does actually flash the device, but you can rerun the \"make flash\" command again to be sure.\r\n\r\n-Kevin"}}
{"actor":{"display_login":"KevinOConnor"}}