Error message.

9 years 11 months ago #118 by Jmadhavan
Error message. was created by Jmadhavan
Newbie. Not just a newbie, but not even a coder or computer guy. Sorry. Just getting into this so please forgive me if this is a stupid question.

I keep getting these messages when I try to upload the code to the Due:

Arduino: 1.5.6-r2 (Mac OS X), Board: "Arduino Uno"

Clean_volume_booster.ino: In function 'void setup()':
Clean_volume_booster:19: error: 'pmc_set_writeprotect' was not declared in this scope
Clean_volume_booster:20: error: 'ID_TC4' was not declared in this scope
Clean_volume_booster:20: error: 'pmc_enable_periph_clk' was not declared in this scope
Clean_volume_booster:23: error: 'TC1' was not declared in this scope
Clean_volume_booster:23: error: 'TC_CMR_WAVE' was not declared in this scope
Clean_volume_booster:23: error: 'TC_CMR_WAVSEL_UP_RC' was not declared in this scope
Clean_volume_booster:24: error: 'TC_CMR_TCCLKS_TIMER_CLOCK2' was not declared in this scope
Clean_volume_booster:24: error: 'TC_Configure' was not declared in this scope
Clean_volume_booster:25: error: 'TC_SetRC' was not declared in this scope
Clean_volume_booster:28: error: 'TC_Start' was not declared in this scope
Clean_volume_booster:31: error: 'TC_IER_CPCS' was not declared in this scope
Clean_volume_booster:37: error: 'TC4_IRQn' was not declared in this scope
Clean_volume_booster:37: error: 'NVIC_EnableIRQ' was not declared in this scope
Clean_volume_booster:40: error: base operand of '->' is not a pointer
Clean_volume_booster:41: error: base operand of '->' is not a pointer
Clean_volume_booster:42: error: base operand of '->' is not a pointer
Clean_volume_booster:45: error: 'DAC0' was not declared in this scope
Clean_volume_booster:46: error: 'DAC1' was not declared in this scope
Clean_volume_booster.ino: In function 'void loop()':
Clean_volume_booster:52: error: base operand of '->' is not a pointer
Clean_volume_booster:53: error: base operand of '->' is not a pointer
Clean_volume_booster:54: error: base operand of '->' is not a pointer
Clean_volume_booster:55: error: base operand of '->' is not a pointer
Clean_volume_booster:56: error: base operand of '->' is not a pointer
Clean_volume_booster:57: error: base operand of '->' is not a pointer
Clean_volume_booster.ino: In function 'void TC4_Handler()':
Clean_volume_booster:63: error: 'TC1' was not declared in this scope
Clean_volume_booster:63: error: 'TC_GetStatus' was not declared in this scope
Clean_volume_booster:70: error: 'DACC_INTERFACE' was not declared in this scope
Clean_volume_booster:70: error: 'dacc_set_channel_selection' was not declared in this scope
Clean_volume_booster:71: error: 'dacc_write_conversion_data' was not declared in this scope
Clean_volume_booster:73: error: expected `}' at end of input

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.



Thanks for all the help.
Jas

Please Log in to join the conversation.

9 years 11 months ago #119 by JR
Replied by JR on topic Error message.
Welcome Jas!
The Arduino software version looks correct (1.5.6-r2) but from the error log you attached looks like maybe you have not configured the correct board:

Arduino: 1.5.6-r2 (Mac OS X), Board: "Arduino Uno"

Try this:
- In the Arduino software under the "Tools > Boards" menu select "Arduino Due (Programming port)"

You can have a look into the " Getting started with Arduino Due Board " guide.

Let me know your results!!! :silly:

keep it simple
The following user(s) said Thank You: Jmadhavan

Please Log in to join the conversation.

9 years 11 months ago #120 by Jmadhavan
Replied by Jmadhavan on topic Error message.
Many thank JR. Got it. Uploaded successfully.

Jas

Please Log in to join the conversation.

Time to create page: 0.065 seconds
Powered by Kunena Forum
Joomla SEF URLs by Artio