-
Notifications
You must be signed in to change notification settings - Fork 200
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
avr_isp: add read calibration byte decoder. Add poll RDY/nBSY flag decoder. #113
base: master
Are you sure you want to change the base?
Conversation
decoders/avr_isp/pd.py
Outdated
@@ -223,6 +242,10 @@ def handle_command(self, cmd, ret): | |||
self.handle_cmd_read_fuse_high_bits(cmd, ret) | |||
elif cmd[:3] == [0x50, 0x08, 0x00]: | |||
self.handle_cmd_read_extended_fuse_bits(cmd, ret) | |||
elif cmd[:3] == [0x38, 0x00, 0x00]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I understand how this set of if/elif is sorted (by... alphabetical function name ?) but it doesn't look like your additions quite fit where they should
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a commit that sorts the 'elif cmd[:3]' based on the 3-byte value.
as stated in IRC, needs corresponding PR in tests |
Give me some time and I will try to figure out how to make a test. |
Well, I think I got a test running with a new dump.
How did I do? |
Hi!
I added decoding of the calibration byte read and the polling of the RDY/nBSY flag to the avr_isp decoder.