All good now. I found that the verification error being set to 7 is not an issue. Thank you all for your help!
Hi guys,
I have another programming question. I need to program an AD9835 chip. I have the .hex file. I have a tiny avr programmer. And i have the avrdude software to flash the software. what I don’t know about is how to connect my ad9835 to my tiny programmer. the pin labels on the ad985 don’t match what i have on the programmer. any thoughts or links to videos would be super helpful. as always, thank you!!!
adam
Hi adam.
I’m not seeing anything in the datasheet for the AD9835 that would indicate you can load it with a hex file at all. Even if you could, the tiny programmer only works with AVR microcontrollers from Microchip. (Atmel)
Are you sure the hex file you have isn’t for an ATmega and that connects to your AD9835?
I think you are probably right.
I suck at this and am still having problems.
I need to flash a .hex file to the ATMega328P. I wired up my Tiny Programmer like before and now it won’t communicate again. I run the Board Detector sketch (Sketch>Upload Using Programmer) and get the following error:
Arduino: 1.8.19 (Windows 10), Board: “Arduino Uno”
Sketch uses 27240 bytes (84%) of program storage space. Maximum is 32256 bytes.
Global variables use 330 bytes (16%) of dynamic memory, leaving 1718 bytes for local variables. Maximum is 2048 bytes.
C:\Users\adamf\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude -CC:\Users\adamf\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf -v -patmega328p -cusbtiny -Uflash:w:C:\Users\adamf\AppData\Local\Temp\arduino_build_989435/Atmega_Board_Detector.ino.hex:i
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is “C:\Users\adamf\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf”
Using Port : usb
Using Programmer : usbtiny
avrdude: usbdev_open(): Found USBtinyISP, bus:device: bus-0:\.\libusb0-0001–0x1781-0x0c9f
AVR Part : ATmega328P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : USBtiny
Description : USBtiny simple USB programmer, https://learn.adafruit.com/usbtinyisp
avrdude: programmer operation not supported
avrdude: Using SCK period of 10 usec
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
An error occurred while uploading the sketch
This report would have more information with
“Show verbose output during compilation”
option enabled in File → Preferences.
