Categories

aspspi – USBasp SPI terminal

Posted on Monday, April 7th, 2014 in AVR by DP

aspspi-write

Nerd Ralph writes:

While writing the picoboot module for avrdude, I noticed avrdude has a terminal mode which allows for commands to be sent to an AVR. The serial programming interface for AVR MCUs uses SPI, similar to the nrf modules. I realized instead of an AVR, the programmer could be attached to any device that communicates via SPI. A couple hours later I had finished writing aspspi for avrdude – which permits a USBasp to be used for interactive SPI communication.

This entry was posted on Monday, April 7th, 2014 at 11:00 am and is filed under AVR. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

2 Responses to “aspspi – USBasp SPI terminal”

  1. arinanuha says:

    Great. I’ve been looking for some USB SPI terminal to demonstrate my graduation project. I’m planning to buy buspirate at first.

  2. It’s limited to 4-bytes at a time based on avrdude’s terminal mode, but I’m intending to patch the terminal mode code to handle variable lengths.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Pekka Akselin: This is ridiculous!? :-) We are back at 256(!) byte EPROMs that needed multiple, a handful, of voltages to run! :-(
  • KH: Let's try a back-of-envelope calc balancing energies. From MCP1700 datasheet, there are graphs for a 200mA load step. Estimate the energy shortfall as 12uJ. Say...
  • Daniel: It's been a week and my comment is still awaiting moderation. Apparently the CIA doesn't want their involvement known?
  • KH: Agree, so okay, I guess he must have learned from somewhere. 100nF and 1000uF is so far apart, that was jarring; it's more magic incantation...
  • Max: I have a suspicion the hefty electrolytic cap might be some sort of cargo cult carry-over from other RF-based projects - for instance, I've seen...