Skip to content

problem uploading onto arduino nano (Ubuntu18.04/Windows10) #7

@crappybones

Description

@crappybones

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions