-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problem uploading onto arduino nano (Ubuntu18.04/Windows10) #7
Comments
Those warnings look unrelated. I’ve had that error before on macOS when the cable I was using was power-only (didn’t support data), so you may try changing the cable? Or check the driver. Does the standard blink sketch load ok? |
(sorry; didn’t mean to close the issue, I tapped the wrong button) |
Setting up an old bootloader worked for me: |
Oh yes! Make sure the boot-loader matches your Arduino device. The Firefly firmware works with either the "old boot loader" or the the new "Optiboot", but you must select in the IDE the one that matches your device. |
@ricmoo I have the same issue, change |
You mean you are trying to upload using Fritzing? I have not ever used software other than the Arduino IDE; I didn’t even know that Fritzing had uploading capabilities. Can you try the Arduino IDE instead? |
Fritzing's code view, upload to put the Simulator running. |
Had this error message when I tried uploading the code via firefly.ino (this is from using the Ubuntu)
It looks to me theres an issue in the column size and also ive got to set a certain programmer?
Maybe theres a tutorial out there to help a noob like me
Arduino: 1.8.5 (Linux), Board: "Arduino Nano, ATmega328P"
Build options changed, rebuilding all
/home/ubuntu/Arduino/libraries/firefly_blecast/src/aes-otfks-decrypt.c: In function 'aes_mix_columns':
/home/ubuntu/Arduino/libraries/firefly_blecast/src/aes-otfks-decrypt.c:321:9: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
memset(temp_column, 0, AES_COLUMN_SIZE);
^
/home/ubuntu/Arduino/libraries/firefly_blecast/src/aes-otfks-decrypt.c:321:9: warning: incompatible implicit declaration of built-in function 'memset'
/home/ubuntu/Arduino/libraries/firefly_blecast/src/aes-otfks-decrypt.c:331:9: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
memcpy(&p_block[i * AES_COLUMN_SIZE], temp_column, AES_COLUMN_SIZE);
^
/home/ubuntu/Arduino/libraries/firefly_blecast/src/aes-otfks-decrypt.c:331:9: warning: incompatible implicit declaration of built-in function 'memcpy'
/home/ubuntu/Arduino/libraries/firefly_blecast/src/aes-otfks-decrypt.c: In function 'aes_mix_columns_inv':
/home/ubuntu/Arduino/libraries/firefly_blecast/src/aes-otfks-decrypt.c:352:9: warning: incompatible implicit declaration of built-in function 'memset'
memset(temp_column, 0, AES_COLUMN_SIZE);
^
/home/ubuntu/Arduino/libraries/firefly_blecast/src/aes-otfks-decrypt.c:364:9: warning: incompatible implicit declaration of built-in function 'memcpy'
memcpy(&p_block[i * AES_COLUMN_SIZE], temp_column, AES_COLUMN_SIZE);
^
/home/ubuntu/Arduino/libraries/firefly_blecast/src/firefly_blecast.c: In function 'blecast_poll':
/home/ubuntu/Arduino/libraries/firefly_blecast/src/firefly_blecast.c:674:31: warning: initialization makes integer from pointer without a cast
uint8_t whitenIndex = whitenMask + radio_getChannel(message) * 17;
^
Sketch uses 28146 bytes (91%) of program storage space. Maximum is 30720 bytes.
Global variables use 383 bytes (18%) of dynamic memory, leaving 1665 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
The text was updated successfully, but these errors were encountered: