Skip to content
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

Problems with Arduino IDE 1.6.7 #4558

Closed
chessweb01 opened this issue Feb 11, 2016 · 8 comments
Closed

Problems with Arduino IDE 1.6.7 #4558

chessweb01 opened this issue Feb 11, 2016 · 8 comments
Labels
Component: Board/Lib Manager Boards Manager or Library Manager Type: Bug
Milestone

Comments

@chessweb01
Copy link

I have two issues with Arduino IDE 1.6.7 that have not been present with 1.6.5:

  • When I enter the boards manager, I get the error message: package_index.json file signature verification failed
  • Compilation of sketches for Arduino Due (actually the clone SainSmart Due) fails with the following message:
    Arduino: 1.6.7 (Windows 7), TD: 1.27, Board: "Arduino Due (Programming Port)"
    Board arduino_due_x_dbg (platform sam, package arduino) is unknown
    Error compiling.

The boards manager shows that Arduino SAM boards (32 Bit Arm-Cortex M3) by Arduino Version 1.6.5 are installed, but due to the first problem I cannot try to solve the the second one by upgrading to 1.6.

@facchinm
Copy link
Member

HI @chessweb01,
this happens because there are two (or zero) versions of sam core in your installation and the builder get confused.
I can suggest you to delete C:\\yourUsername\AppData\Local\Arduino15\packages\arduino\sam and C:\\yourUsername\AppData\Local\Arduino15\package_index.json, and also C:\\yourUsername\AppData\Roaming\Arduino15\ if you have it in your system.
Then closing and reopening the IDE should solve the issue.

@facchinm
Copy link
Member

For reference: arduino/arduino-builder#84

@chessweb01
Copy link
Author

Hi @facchinm, thanks for the quick response, but that didn't change anything.

First of all, I don't have C:\\yourUsername\AppData\Local\Arduino15\packages\arduino\sam folder, but rather a C:\\yourUsername\AppData\Local\Arduino15\packages\arduino\**hardware**\sam folder which I renamed. Deleting the other folder and the json-file didn't help either.

@facchinm
Copy link
Member

Yes, sorry, I meant C:\\yourUsername\AppData\Local\Arduino15\packages\arduino\hardware\sam
You should have it, at least to show Arduino Due in the Boards menu

@chessweb01
Copy link
Author

Yes, but as I said deleting it didn't change a thing. Still the same errors.

@facchinm
Copy link
Member

Just to make sure, did you restart the IDE after deleting the folder? You shouldn't have any Arduino Due entry in the menu after restart, so no way to select it and cause the Board arduino_due_x_dbg (platform sam, package arduino) is unknown error

@chessweb01
Copy link
Author

I went ahead and uninstalled Arduino IDE. After removing everything Arduino related from ...\AppData... I reinstalled Arduino IDE 1.6.7. That got rid of all my problems :-)

@facchinm
Copy link
Member

A bit rough but functional 😉
I'm going to close this issue as "solved, don't know what happened" 😄

@agdl agdl added this to the Release 1.6.8 milestone Feb 18, 2016
@per1234 per1234 added Component: Board/Lib Manager Boards Manager or Library Manager Type: Bug labels Nov 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Board/Lib Manager Boards Manager or Library Manager Type: Bug
Projects
None yet
Development

No branches or pull requests

4 participants