Title: Problem with SDO Block Transfer (+workaround) · Issue #618 · canopen-python/canopen · GitHub
Open Graph Title: Problem with SDO Block Transfer (+workaround) · Issue #618 · canopen-python/canopen
X Title: Problem with SDO Block Transfer (+workaround) · Issue #618 · canopen-python/canopen
Description: Hi, if i try a SDO download with block transfer like in the docs, but without crc, i.e. FIRMWARE_PATH = '/path/to/firmware.bin' FILESIZE = os.path.getsize(FIRMWARE_PATH) with open(FIRMWARE_PATH, 'rb') as infile, node.sdo['Firmware'].open...
Open Graph Description: Hi, if i try a SDO download with block transfer like in the docs, but without crc, i.e. FIRMWARE_PATH = '/path/to/firmware.bin' FILESIZE = os.path.getsize(FIRMWARE_PATH) with open(FIRMWARE_PATH, 'r...
X Description: Hi, if i try a SDO download with block transfer like in the docs, but without crc, i.e. FIRMWARE_PATH = '/path/to/firmware.bin' FILESIZE = os.path.getsize(FIRMWARE_PATH) with open(FIRMWARE_...
Opengraph URL: https://github.com/canopen-python/canopen/issues/618
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Problem with SDO Block Transfer (+workaround)","articleBody":"Hi, if i try a SDO download with block transfer like in the docs, but without crc, i.e.\n\n FIRMWARE_PATH = '/path/to/firmware.bin'\n FILESIZE = os.path.getsize(FIRMWARE_PATH)\n \n with open(FIRMWARE_PATH, 'rb') as infile,\n node.sdo['Firmware'].open('wb', size=FILESIZE, block_transfer=True, request_crc_support=False) as outfile:\n \n # Iteratively transfer data without having to read all into memory\n while True:\n data = infile.read(1024)\n if not data:\n break\n outfile.write(data)\n\nthe transfer ends after one or two sub blocks. The last SDO from the client has the invalid payload=DD 00 00 00 00 00 00 00. The transfer is working without the 1024 chunk. Just use data = infile.read() or a chunk size of 7*1024. ","author":{"url":"https://github.com/DrJMH","@type":"Person","name":"DrJMH"},"datePublished":"2025-10-31T10:32:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/618/canopen/issues/618"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4a8055e8-8f86-9351-fe8e-81e245067beb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BC3A:253796:2FCC139:4056AA8:6A5DC2EA |
| html-safe-nonce | d4f8a5539ceca380ca7cd5df67490ca453ae72d3b6418498c7a67764bcf90859 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzNBOjI1Mzc5NjoyRkNDMTM5OjQwNTZBQTg6NkE1REMyRUEiLCJ2aXNpdG9yX2lkIjoiMTY2NTM1MzMyODYyNzY2MzU5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | aac9ac60196530b5c9061391ad365a368fdb472f43d385cd73f2e6a424c19eb0 |
| hovercard-subject-tag | issue:3574362203 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/canopen-python/canopen/618/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a76b67bd472fcb7ed4fe9e039c71df98c545db55057cf46b30bfe0ea6dff0e8d/canopen-python/canopen/issues/618 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a76b67bd472fcb7ed4fe9e039c71df98c545db55057cf46b30bfe0ea6dff0e8d/canopen-python/canopen/issues/618 |
| og:image:alt | Hi, if i try a SDO download with block transfer like in the docs, but without crc, i.e. FIRMWARE_PATH = '/path/to/firmware.bin' FILESIZE = os.path.getsize(FIRMWARE_PATH) with open(FIRMWARE_PATH, 'r... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DrJMH |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/canopen-python/canopen git https://github.com/canopen-python/canopen.git |
| octolytics-dimension-user_id | 200581454 |
| octolytics-dimension-user_login | canopen-python |
| octolytics-dimension-repository_id | 68737600 |
| octolytics-dimension-repository_nwo | canopen-python/canopen |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 68737600 |
| octolytics-dimension-repository_network_root_nwo | canopen-python/canopen |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width