-
Notifications
You must be signed in to change notification settings - Fork 4
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
SPI_CMD_GET_BAUD not working #9
Comments
BAUD set/get is implemented on Snap. |
thanks for your reply. i tried various programmers that support ISP protocol : SNAP, jtagice3, 168PB Xplained. |
I have worked with many of these tools over the years, so here is a quick summary:
So "newer" tools are technically less capable when using SPI - newer AVR devices use UPDI, so that's where the emphasis is. |
thanks. yes that is understandable. I also endorse UPDI chips. But some customers need older ISP. Since ISP is built into SNAP i added it. And then i found mEDBG which also works well. except for the clock. a pity no source of the protocol is available otherwise i could have changed it. it is hard to get a good programmer that is affordable and easy to setup. the EDBG is simple to setup. I could do usbasp or some variant but the downside is the driver/libusb. |
I use the AVRISP protocol. But for some reason the SPI_CMD_GET_BAUD does not work.
I do not get a valid response. I tried with SNAP and a curiosity 168 board.
this is the test code
command = bytearray([AvrIspProtocol.SPI_CMD_GET_BAUD])
self._spi_cmd_resp(command)
in the docs there is link to AVR069. but that use a different way of setting the clock.
this is the webpage ; https://onlinedocs.microchip.com/oxy/GUID-33422CDF-8B41-417C-9C31-E4521ADAE9B4-en-US-2/GUID-1FCCECA1-F85C-4179-BFEC-15CB8F6388AE.html
i did see in the code that spi clock is todo. maybe it was not done because it does not work?
a tool like studio does not offer a way to set the clock either. it is kind of odd.
The text was updated successfully, but these errors were encountered: