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

unknown chip id! 0x10076415 #31

Closed
fpistm opened this issue Jun 14, 2017 · 6 comments
Closed

unknown chip id! 0x10076415 #31

fpistm opened this issue Jun 14, 2017 · 6 comments

Comments

@fpistm
Copy link
Member

fpistm commented Jun 14, 2017

From @kuobakuoba on June 14, 2017 6:50

I connected my STM32L476RG to the arduinoIDE with according settings.
1191388541
And upload a Blink example from the IDE.

But I get these errors.
2017-06-14 2 39 14
2017-06-14 2 46 07

I am running mac with sierra.
2017-06-14 2 41 12
I have eclipse with Ac6 for STM32 and it works with no problem.
How can I get STM32duino to work?
Thanks.

Copied from original issue: stm32duino/wiki#1

@fpistm
Copy link
Member Author

fpistm commented Jun 14, 2017

Hi @kuobakuoba,
Please, Could you try to update the STLink firmware.

ST-LINK, ST-LINK/V2, ST-LINK/V2-1 firmware upgrade

@kuobakuoba
Copy link

Hi!! @fpistm
I've tried but with no luck.
2017-06-14 3 32 48
It was exactly the same error code as above.
Thanks.

@fpistm
Copy link
Member Author

fpistm commented Jun 14, 2017

Ok thanks for the test.
Probably that the stlink binary released do not support this boards or have an issue.
Could you test with the latest version 1.3.0:
https://github.com/texane/stlink/releases/tag/1.3.0

To test, use this command line, where binary file is the path to your bin built with arduino (See the build log to find the fullpath):
stlink/st-flash write 0x8000000

If it's work you could replace the binary installed by STM32Tools.
You also have the path in the build log (stlink_upload):
/User/...../packages/STM32/tools/STM32Tools/2017.5.12/tools/macosx/stlink/

Unfortunately I do not have Mac to perform the test.
Maybe @rogerclarkmelbourne has some clues about that?

@kuobakuoba
Copy link

@fpistm Sorry for the late reply.
To be honest,I don't know how to use these binaries.
But with some lucks or something I managed to get it work with the file you gave me.
I just clicked st-flash and copy all file in the bin folder to here(/User/...../packages/STM32/tools/STM32Tools/2017.5.12/tools/macosx/stlink/) and for some reason it just worked.
Thank you so much for your help.

@fpistm
Copy link
Member Author

fpistm commented Jun 14, 2017

Ok, so if its work with the updated file, I will do an update in the Arduino_Tools

@fpistm
Copy link
Member Author

fpistm commented Jun 14, 2017

Moved to stm32duino/Arduino_Tools#7

@fpistm fpistm closed this as completed Jun 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants