Has anyone know this programmer software:
I used it with this programmer hardware:
It was prompted:
"programmer cannot be found." What maybe the reason?
Has anyone know this programmer software:
I used it with this programmer hardware:
It was prompted:
"programmer cannot be found." What maybe the reason?
Is it me but how much confidence would one expect in PROG software that spells it PORG in the program title?
Anyway is this a completely self contained programming software or is it simply a GUI front-end for avrdude? If the latter what happens if you simply park the GUI for a while and drive avrdude at the command line to control the programming interface.
You might also want to give links to both this "PORGISP" software and also to the programming interface you are using (it looks like a USBAsp - but which one?). Also show the actual wiring from the programming interface to the ISP pins of the micro on the breadboard. (IOW a "wider shot").
EDIT: Oh I see, this software seems to be originally Chinese with a translation to English so I guess we should excuse small mistakes like the PROG-PORG thing ;-)
I used Zadig installed USBasp driver for the programmer, and I want to programming on Windows 10 for chip ATmega32u4. It was still prompted in the software, so I want to use Arduino IDE, and I want to burn Leonardo bootloader into the chip, so I could download code into it by its USB port.
For the first step - use Arduino IDE to burn Leonardo bootloader into the chip. How to do?
I set Arduino IDE Tools as:
Board:Arduino Leonardo
Programmer:USBasp
then I click"burn bootloader"
it shown:
As I say, to diagnose avrdude operation it's perhaps easiest to run it stand-alone at a command line. Amongst other things that means you can then add between one and founr "-v" to the command. Each one you add makes it show more and more detail about what it is sending/receiving/doing. That will hopefully help to identify what part of the system is actually failing.
Like I said above post a clear picture of the entire setup up including the AVR that you are attempting to program on the breadboard an dhow the ISP, power and clock signals it may be using are connected.
OK, I will draw a picture later, before this, how to use avedude in Windows command line? I just typed "avrdude" in CMD, and it shown the edition info.
Your copy of avrdude should have come with a manual. The command line options are too many and too varied to give any more than a hint of what the manual contains in a singe post here. Of course a lot has been written about avrdude on the internet so Google will lead you to loads of articles showing various ways in which avrdude may be invoked to achieve various things. But for starters I'd maybe just try something simple like trying to read the AVR device signature to prove that everything is working OK.
For the first step - use Arduino IDE to burn Leonardo bootloader into the chip. How to do?
I set Arduino IDE Tools as:
Board:Arduino Leonardo
Programmer:USBasp
then I click"burn bootloader"
I don't believe that you have a Leonardo pcb. The genuine (or clone) Leonardo has a XTAL on the pcb and a proper 3x2 ICSP header for external programmer.
Connect the correct signals from your 10-way ribbon to the 3x2 header. "Burn Bootloader" will work. But a genuine Leonardo comes out of the Factory with the Bootloader.
Please show a photo of your Leonardo pcb. Make sure that we can check your 5x2 to 3x2 wiring. It is a good investment to buy or make a proper 5x2 to 3x2 Adapter.
David.
For the first step - use Arduino IDE to burn Leonardo bootloader into the chip. How to do?
I set Arduino IDE Tools as:
Board:Arduino Leonardo
Programmer:USBasp
then I click"burn bootloader"
That should work IF the target is powered up and all of the connections are correct.
As Cliff requested, we need to see your breadboard and how the target is powered, and the ISP connections, clock source, etc...
Jim
It was prompted:
"programmer cannot be found." What maybe the reason?
The firmware in your programmer for PORGISP is not the same as the firmware for USBASP.
EDIT: It was a long time ago, and if I remember correctly, I think the different firmware required was for AT89S51, the avr's worked with
USBASP firmware.
I have a small programmer exactly like this. It came with the latest version of firmware for USBASP.
It works well with avrdude.
If you want a good avrdude gui, try avrdudess. It works good.
The Chinese ProgISP172 Software should control a regular USBASP as well as the HID-USB firmware that comes on some USBASP pcbs.
I would never trust a badly-spelled version of the Chinese Software.
avrdude only works with regular USBASP firmware e.g. Fischl
I suspect that you have a bare 32U4 chip with no XTAL, no USB socket, ...
God designed USB AVRs to be mounted on a proper pcb with power, XTAL, USB socket, ..., capacitors, ...
That is why USB chips are all surface mount.
You program the Application on the fully assembled target pcb via the Factory DFU bootloader.
If you want change the DFU bootloader to the Caterina bootloader you use a proper external programmer e.g. USBASP, ATMEL-ICE, ...
David.
I've seen two programmers on Ebay that are similar looking, a USBisp which I believe works with PORGISP program and,
the more common USBasp which works with AVRdude(ss), & Arduino IDE.
Which programmer do you have? Post a link where you purchased it if possible.
These are the pcb and circuit:
The chip socket is QFP-44, while the QFP-DIP adapter is 40 pins, I tested by multimeter, only 34 of it were connected, and the sign mark for vertical soldering pins was not for ATmega32u4. I tried rotate the chip in 90, 180 and 270 degree CCW, only 90 could work, since the other degrees there was this or that necessary pin or pins couldn't connect.
So I have bought a QFP44-DIP44 adapter online and 2 original ATmega32u4 chips, it was on delivering.
Attachment is the software I tried.
In the other thread I created - "How to add XTAL for this chip?(https://www.avrfreaks.net/forum/...)", it was said I need to set some fuse bit, is this the reason? Since I used an external16MHz crystal.
Ebay
My programmer has ATmega8 and 12MHz crystal on it, so I think it like this one:https://www.ebay.com/itm/2747701...
God designed USB AVRs to be mounted on a proper pcb with power, XTAL, USB socket, ..., capacitors, ...
That is why USB chips are all surface mount.
You program the Application on the fully assembled target pcb via the Factory DFU bootloader.
" Factory DFU bootloader", you mean the one on programmer(ATmega8) or the one in IC socket(ATmega32u4),for the latter one, I supposed it has been flushed out.
The ATmega32U4 comes out of the factory with fuses set for a XTAL and a DFU bootloader.
1. Solder the chip on your target pcb.
2. Solder 16MHz XTAL
3. Solder USB socket.
4. and associated resistors, capacitors.
Yes, you might have erased the DFU bootloader. But since the chip would never have "connected" without a XTAL, the chip is probably still factory fresh.
When you have soldered the components to the target pcb, plug in a USB cable and program your Application e.g. with FLIP.
Only if the DFU has been erased will you need an ISP programmer. In which case you program DFU or Caterina as you desire using the SPI pins.
Why are you messing about with breadboard and clam shell ?
You have chosen the 32U4 because it is surface mount and it has USB. So solder it to your custom pcb.
David.
I found this in ATmega32u4 datasheet, if I power the chip by its VCC and GND, need I connect UVCC/UCAP/VBUS?
Go on. Do you have a proper custom pcb with USB socket etc ?
Yes, we can show you how to program with the clam shell. But it is a bit pointless if you are not going to solder the SMD chip onto a proper custom pcb.
There are lots of hardware designs for 32U4. e.g. Leonardo, Pro Micro, ...
Don't be proud. Copy their schematics and their pcb layouts.
It is always wiser to steal a proven design than to attempt to understand the Atmel datasheet.
If you don't understand what UVCC/UCAP/VBUS do, just study how the proven schematic has connected them.
David.
I want to test the connecting scheme first, then I could know how to draw the PCB drawing for PCB maker.
Buy a Pro Micro or Leonardo clone.
They are not expensive. You can find schematics and pcb layouts. They should all be publicly available.
These boards work 100%. So it is wise to COPY their design. The information is all public. Perfectly legal.
Of course there are many, many other 32U4 boards. They all have USB sockets. They all have an XTAL.
After all, why choose a 32U4 if you don't want to use USB ?
Incidentally, you can buy several Pro Micro boards for the cost of your clam shell.
David.
My programmer has ATmega8 and 12MHz crystal on it, so I think it like this one:https://www.ebay.com/itm/2747701...
I have the same programmer. It is a USBASP, it should work with avrdude.
Attachment is the software I tried.
Did you get the programmer to work yet?
Why don't you just use avrdude?
If you must have a GUI try avrdudess. It simplifies everything for you.
Also: It looks like you don't have the wires connected correctly in the programmer ISP connector.
Most of the wires are plugged into GND.
I just tried on Atmel ICE, it could read out the chip signature, while couldn't erase the memory before programming.
Why don't you just use avrdude?
I just didn't know how to use it in Windows CMD, now start to learn it.