Elektroda.com
Elektroda.com
X
Elektroda.com

uProg - small, fast, portable AVR programmer with SD

manekinen 138280 360
This content has been translated flag-pl » flag-en View the original version here.
  • george2002

    Level 21  
    I have a question about the programmer, namely I submitted it - PCB version 1.2, vProgram ver.1.3, database chip.db ver.1.03, I only changed the 7 bit in the config.ini file regarding the display organization because there were shifts, but I have a problem - after turning on the power the LED blinks twice, then the startup animation, then the main menu screen, but no reaction to the buttons :( neither turn on or off neither the menu up nor down, maybe someone had a similar problem or knows how to solve it?

    Regards
    George2002
  • piotrva
    VIP Meritorious for electroda.pl
    Check the fusebits settings, then the assembly of the buttons, if they connect well.
  • george2002

    Level 21  
    piotrva wrote:
    Check the fusebits settings, then the assembly of the buttons, if they connect well.


    Hello, thank you for the info - it turned out that I had a shorted UP button and everything was up after the animation was displayed, after opening everything started to kick :)

    Regards
    George2002
  • hollp1
    Level 2  
    how do I program a hex file for ATMEGA328P. I have a program that used to program usbasp ATMEGA328P.
    please help me, I do not know how to program the atmega.
  • piotrva
    VIP Meritorious for electroda.pl
    Simply connect ISP programmer to ISP connector, short rst jumper and flash atmega. It's simple normal flashing procedure.
  • hollp1
    Level 2  
    piotrva

    which program to use for flashing with the usbasp.
  • Karol966
    Level 30  
    Quite by accident, I got into my hands again this programmer and this time I found a pixie - it was a tiny snot between the miso / mosi prock lines. It's just such a small ball, but it's already ok.
    That is, almost ok, because the purchased display with the plate has a poor contrast. I soldered an additional 470nF capacitor to these two at 100nF, but it did not help.
    I believe that these fakes are not worth even PLN 10. It is a pity for the money because there is no way to attach or connect them stably. If someone wants, I have such a display from the author to resell for a few zlotys because I am not going to use it.
    The display is different:
    uProg - small, fast, portable AVR programmer with SD

    Regards
    Charles
  • manekinen
    Level 29  
    Karol966 wrote:
    the purchased display with the plate has a poor contrast. I soldered an additional 470nF capacitor to these two at 100nF, but it did not help.

    Is it about the displays that I sent with the tiles? These are Chinese substitutes, but the contrast is good, tested by me. Increasing the capacitor will do nothing. You need to set the contrast in the configuration file, you can knock the whole lcd black. Previous versions of the software had a bug, the display power pin was set to the input mode so that the voltage flowed only through the internal pullup, I wrote about it during the update. Please check it too.
  • Slawek1710
    Level 11  
    Gentlemen, I assembled uProga on a 1.0 board converted to 1.1 I uploaded the firmware 1.3 the programmer starts and I can navigate the menu and everything is ok until I try to rip or upload something, then every time on the display I have:

    SCK: 8kHz
    chip: no answer

    What could be the reason.
  • manekinen
    Level 29  
    No communication with the target system. Tile assembled correctly? Provide more information, e.g. is there any load on the ISP lines, what voltages etc.
  • Slawek1710
    Level 11  
    I looked at everything from the beginning including checking the correctness of the solders and everything is ok, but I do not know how it happened that I soldered:
    R1-330
    R2-1k
    R3-330
    R4-330
    and according to the diagram it is:
    R1-330
    R2-1k
    R3-22
    R4-22
    could that be a problem?
  • manekinen
    Level 29  
    It should be corrected as much as possible, these are the MOSI and SCK lines and such large current limiting resistors cause that the signal edges are very distorted.
  • Dariusz Goliński
    Level 22  
    Hello
    I have just put together my programmer only on the THT prock and a large SD card. Of course, on the cultured spider and backlit display. The menu comes on and the menu works, but I haven't programmed yet.
    But I have another problem. I pre-programmed the fusebits but not completely. I tried mkavr calculator but can't set bits in it. I pre-programmed a programmer in bascom.
    Could you please give the exact coffee grounds setting for the bascom programer or suggest how to program them correctly?
    I tried to write something on the author's website but the page crashed me.
    Thanks for the help.
  • manekinen
    Level 29  
    I last set the fusebits in bascom maybe 5 years ago, so I can't help. On top of that, I currently don't have access to bascom or mkavr or anything else :(

    Write what exactly is your problem? Fuski is
    Ext: FF (or 07 if it's not going), high :D 0, low: A2

    You can help yourself with this page, at the bottom you enter in HEX and you have everything you need displayed http://www.engbedded.com/fusecalc

    / Your comment on the project's website has been added, but unfortunately something has gone wrong and the website redirects to the wrong address after sending the comment. If he goes back and refreshes, the comment will be there :)
  • Doctore.
    Level 18  
    Yo, I have a question, can the capacitor for SD-VCC be 100uF, won't it be too big?
    I would like to use 400mAh lipo with HK for uProg, and how to li-po, they reach 4.2V fully charged and this will cause the uprog not to start, so how to solve this problem?
    Is it possible to add a low-voltage-cut-off function to the software, e.g. 3V, which would not kill the lipol?

    Congratulations for mannequin for the project.
  • manekinen
    Level 29  
    In series with power supply diode 1N4148. From 4.2V it will be a nice 3.5V. The system does not work below 3V (SD will not start) so (with the diode in series) the battery will not discharge below 3.7V.

    Of course, you can choose a diode with a different drop, e.g. 0.5V - then with 4.2V 3.7V will be acceptable and you will use the cell the best.

    The capacitor may be too big. When powered from an efficient source, even 10uF should be enough, you have to check how it behaves.
  • Doctore.
    Level 18  
    Well, 47uF will probably be ok.
    At what current is 4148 released?
    What about the software charger?
  • manekinen
    Level 29  
    Many people connected the link with the uProg in this way, including me, this solution works very nicely. You will probably find the current in the note of this diode, but it is definitely more than 100mA and the system will not take more.

    There will be no chargers, I do not know if there will be any update. There are no critical bugs, in fact there are some problems with some procks (some are not fully supported) but this can be corrected in the chip.db file based on the uC note. Everything is well described in order to figure it out for yourself :)
  • krzysiekdg
    Level 13  
    And is it possible to program 24cxx memory with it?
  • piotrva
    VIP Meritorious for electroda.pl
    No - read the description, buddy.
  • Doctore.
    Level 18  
    Ok, but it bothers me a bit that the cell will only be discharged to 3.7V ...
    How about the xmega and some tiny ones?
    It is a pity that the project will not develop anymore :-(
  • manekinen
    Level 29  
    I wrote give a diode with a drop of 0.5V and you will use them more. If not, install the inverter. There will be no PDI and TPI protocols.
  • Doctore.
    Level 18  
    And this led from version 1.2 is it going to be useful, or not, will it be used?
  • Doctore.
    Level 18  
    Hi, the layout is lying and dusting for several months and no one still wants to help me with the fusebits in the burn-o-mat, how will it be with these screens?
    Because what the manekinen gives on his website and what is in a burn-o-mat does not look the same.

    As always, because it makes sense, please do not delete my message, it is enough that 99% of inquiries regarding electronics must be directed to American or other forums not very related to electronics, what madness ...
  • george2002

    Level 21  
    As for the led, it works and it is good, when uProg starts and reads the file, then it blinks, about coffee grounds, contact PW, tomorrow at work I will try to read and insert the screen from avr-burn-o-mat :)

    As I promised, I put the coffee grounds in the AVR8 Burn-O-Mat for uProg :)

    uProg - small, fast, portable AVR programmer with SD


    Regards
    George2002 [/ img]
  • Doctore.
    Level 18  
    Thanks george2002 :D
    uProg - small, fast, portable AVR programmer with SD
    One uprog was already programming the other :)
  • george2002

    Level 21  
    Doctore. wrote:
    Thanks george2002 :D
    uProg - small, fast, portable AVR programmer with SD
    One uprog was already programming the other :)


    Cool,
    I'm glad I could help :)

    Regards
    George2002