Title: Add support for PCAN_HARD_RESET_STATUS in SetValue · Issue #18 · mac-can/PCBUSB-Library · GitHub
Open Graph Title: Add support for PCAN_HARD_RESET_STATUS in SetValue · Issue #18 · mac-can/PCBUSB-Library
X Title: Add support for PCAN_HARD_RESET_STATUS in SetValue · Issue #18 · mac-can/PCBUSB-Library
Description: The PEAK PCAN-USB FD adapter is connected to custom electronics with no other nodes on the bus. Sometimes the firmware resets especially during testing. If a message is sent to this single node while it reboots, the internal error counte...
Open Graph Description: The PEAK PCAN-USB FD adapter is connected to custom electronics with no other nodes on the bus. Sometimes the firmware resets especially during testing. If a message is sent to this single node whi...
X Description: The PEAK PCAN-USB FD adapter is connected to custom electronics with no other nodes on the bus. Sometimes the firmware resets especially during testing. If a message is sent to this single node whi...
Opengraph URL: https://github.com/mac-can/PCBUSB-Library/issues/18
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add support for PCAN_HARD_RESET_STATUS in SetValue","articleBody":"The PEAK PCAN-USB FD adapter is connected to custom electronics with no other nodes on the bus.\r\nSometimes the firmware resets especially during testing. If a message is sent to this single node while it reboots, the internal error counter of the PEAK adapter triggers the heavy limit and the adapter switches to passive mode.\r\n\r\nThe only reliable way to recover, without unplugging the USB cable, is setting PCAN_HARD_RESET_STATUS to PCAN_PARAMETER_ON, calling .reset() and waiting for the PEAK adapter becoming ready again.\r\nThis works on Windows 11.\r\n\r\nUnfortunately re-initializing (without unplugging the USB cable, call .shutdown() and create a new instance of the Python CAN object) still keeps the error code 0x8 set.\r\n\r\nFor this reason support for PCAN_HARD_RESET_STATUS would be great.\r\n\r\nUsing Python 3.12.5 with python-can 4.4.2 and PCBUSB 0.13 running on MacBook Air M1 (Sonoma 14.6.1).","author":{"url":"https://github.com/dafri92","@type":"Person","name":"dafri92"},"datePublished":"2024-08-21T16:07:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/18/PCBUSB-Library/issues/18"}
| 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:c3654152-83de-d5cc-9b97-0779f1fed4ac |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DF3C:1CB5E7:1AD68B7:272EDF7:6A4BC584 |
| html-safe-nonce | ea35a2095adc1b3722c8e491737f8791537ee0c2af38846a1e4092e334bd2281 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjNDOjFDQjVFNzoxQUQ2OEI3OjI3MkVERjc6NkE0QkM1ODQiLCJ2aXNpdG9yX2lkIjoiMTc1NDAzMzM4NjY5Nzc3MDM3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 473a95ce4484ac387665f093ff8bce5ae6c7e8dda2df27ffc090cec8d1d7636b |
| hovercard-subject-tag | issue:2478428803 |
| 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/mac-can/PCBUSB-Library/18/issue_layout |
| twitter:image | https://opengraph.githubassets.com/557df04a100f28a27352916cc4b23209383816b58821d674ef04ca9fe2488fd4/mac-can/PCBUSB-Library/issues/18 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/557df04a100f28a27352916cc4b23209383816b58821d674ef04ca9fe2488fd4/mac-can/PCBUSB-Library/issues/18 |
| og:image:alt | The PEAK PCAN-USB FD adapter is connected to custom electronics with no other nodes on the bus. Sometimes the firmware resets especially during testing. If a message is sent to this single node whi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dafri92 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 14aa00ce5bdb34d0eefb5facbffd7de9e144c688d8a93ef8df902d5f94b51dd7 |
| turbo-cache-control | no-preview |
| go-import | github.com/mac-can/PCBUSB-Library git https://github.com/mac-can/PCBUSB-Library.git |
| octolytics-dimension-user_id | 61076724 |
| octolytics-dimension-user_login | mac-can |
| octolytics-dimension-repository_id | 275540406 |
| octolytics-dimension-repository_nwo | mac-can/PCBUSB-Library |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 275540406 |
| octolytics-dimension-repository_network_root_nwo | mac-can/PCBUSB-Library |
| 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 | 58b8f89190447502561829f30862aa0a99d53367 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width