-
Notifications
You must be signed in to change notification settings - Fork 87
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
DS2502_DELLCHG example sends all data as FFs only #140
Comments
And increasing ONEWIRE_TIME_MSG_HIGH_TIMEOUT to 35ms helper (which I thought is only meaningful if onewirehub is the receiving side). |
Won't be that easy after all. So ONEWIRE_TIME_MSG_HIGH_TIMEOUT is now set to 35ms. python script is able to read some data from emulated eprom:
On logic analyzer that reading is not even decoded (thing happening too slowly to be recognized as 1-wire?). So connecting emulated charger to a dell laptop. It doesn't recognize the emulated eprom. Logic analyzer shows garbage on bus. Any clues on what else I could try? |
readme - it says to use 3.0.0 release but there is only 2.2.3 (which I'm using) available at that link. Arduino IDE 1.8.19
Describe the bug
Trying to run DS2502_DELLCHG example on Arduino Nano clone board. I'm checking if it works by using
https://github.com/KivApple/dell-charger-emulator/blob/master/dell-charger-data-editor.py script
and connection described at the end of https://github.com/KivApple/dell-charger-emulator page (but with additional 4.7k pullup resitstor; note: also tested without it)
With that script I'm able to read original dell charger eeprom just fine (doing that to confirm that wiring and script is ok).
Unfortunately with DS2502_DELLCHG I'm reading only FFs as data. So 1-wire seems to be working, just no correct data is sent.
To Reproduce
Expected behavior
I would expect
data to be read instead of 255s.
Logic analyzer shows:
reset condition, presence condition, skip rom command 204, data 240, data 0, data 0, and then only bunch of data 255
Screenshots
![dell-1-wire](https://private-user-images.githubusercontent.com/50869/348571968-cac49849-ed05-470f-bbea-c5e2058d1dae.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ1NDQ1MzQsIm5iZiI6MTcyNDU0NDIzNCwicGF0aCI6Ii81MDg2OS8zNDg1NzE5NjgtY2FjNDk4NDktZWQwNS00NzBmLWJiZWEtYzVlMjA1OGQxZGFlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI1VDAwMDM1NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMxYWIxODVkNjlhOWY3MGIzZDY5MTk3YWM5MDI4NTU3ZTQ3Nzg5ZTgwYWIwZGQ4YTRkYmE3YWEwMjI2YWFjMDImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.DIjDt0xtfghGBmZzntGcV7Yl46q6OrBltoLIb7pM7p8)
Dev-Environment:
The text was updated successfully, but these errors were encountered: