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
Unable to flash sketch to XMC2GO on Linux #21
Comments
After doing
I was able to flash sketch to board.
|
Sorry for the delayed reply to your issue and thank you very much for reporting this problem. The mentioned problem is strange as we changed the search paths for the flasher some time ago and we thought the problem has been fixed. Best regards, Manuel |
Creating the symbolic link from @PabloPL's comment fixes the problem. Seems that without having the symlink, the uploader tries to load the 32-bit library and this fails on 64-bit systems:
Maybe this helps to fix the issue. Cheers, |
Is this resolved with release V1.1.1 using newer gcc version? If not should this be added to Wiki for installation or older version installation? |
HiUnfortunately no change. Same compiler error as in 1.1.0. Still no input files found.Best regards StephanVon meinem Huawei-Mobiltelefon gesendet-------- Originalnachricht --------Betreff: Re: [Infineon/XMC-for-Arduino] Unable to flash sketch to XMC2GO on Linux (#21)Von: Paul Carpenter An: Infineon/XMC-for-Arduino Cc: Subscribed Is this resolved with release V1.1.1 using newer gcc version?
If not should this be added to Wiki for installation or older version installation?
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.
{"@context":"http://schema.org","@type":"EmailMessage","potentialAction":{"@type":"ViewAction","target":"https://github.com/Infineon/XMC-for-Arduino/issues/21#issuecomment-397578628","url":"https://github.com/Infineon/XMC-for-Arduino/issues/21#issuecomment-397578628","name":"View Issue"},"description":"View this Issue on GitHub","publisher":{"@type":"Organization","name":"GitHub","url":"https://github.com"}}
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/Infineon/XMC-for-Arduino","title":"Infineon/XMC-for-Arduino","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/Infineon/XMC-for-Arduino"}},"updates":{"snippets":[{"icon":"PERSON","message":"@techpaul in #21: Is this resolved with release V1.1.1 using newer gcc version?\r\n\r\nIf not should this be added to Wiki for installation or older version installation?"}],"action":{"name":"View Issue","url":"#21 (comment)"}}}
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [Infineon/XMC-for-Arduino] Unable to flash sketch to XMC2GO on Linux (#21)",
"sections": [
{
"text": "",
"activityTitle": "**Paul Carpenter**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@techpaul",
"facts": [
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"Infineon/XMC-for-Arduino\",\n\"issueId\": 21,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"Infineon/XMC-for-Arduino\",\n\"issueId\": 21\n}"
},
{
"targets": [
{
"os": "default",
"uri": "#21 (comment)"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 279643027\n}"
}
],
"themeColor": "26292E"
}
|
Well perhaps we need to add to Wiki the fix suggested by PabloPL above of "After doing ln -s /opt/SEGGER/JLink/libjlinkarm.so /usr/lib/libjlinkarm.so I was able to flash sketch to board. |
Soon we should be able to use PlatformIO - https://github.com/Infineon/platformio-infineonxmc |
I think problem is with XMCFlasher, not with gcc version. For some reason, it's not able to correctly load/use JLink software to flash board. On my ubuntu install Segger JLink is installed (using deb package from theirs website) |
Well I have added a note about this on my Wiki for my fork of the package at https://github.com/techpaul/XMC-for-Arduino/wiki/Linux-64-bit-Flasher-to-board Until the Segger installation gets resolved |
@techpaul Is there repo for XMCFlasher so we could for example create PR with fix ? This looks like something very easy to do. |
Also @mhollfelder There is no repo for this to my knowledge. As this is an Infineon utility based or wholly part of the Segger JLink family, this has to be passed up the support chain for the Linux 64 bit installer to be fixed. Or part of the package beyond what I see being fixed |
Since it seems to be a segger- or XMCFlasher-related problem, I'll close this issue. Since PlatformIO does not depend on XMCFlasher, if this does not happen with PIO, it should de a problem of XMCFlasher (which to my knowledge is not open-sourced). |
Board: XMC2GO
OS: Ubuntu 17.04
Arduino IDE: 1.8.5 (fresh download)
Arduino IDE XMC addon: 1.0.6
Tested using arduino blink sketch, and i'm not able to flash sketch using Arduino IDE (i'm able to do this using ozone from segger).
From IDE log i only see
ls /opt/SEGGER/
is returningThe text was updated successfully, but these errors were encountered: