logo elektroda
logo elektroda
X
logo elektroda

uProg - small, fast, portable AVR programmer with SD

manekinen 159937 364

TL;DR

  • uProg is a small, portable AVR programmer with SD/MMC storage for flashing, reading, and verifying AVR flash, EEPROM, fusebits, and lockbits.
  • It uses FAT16/FAT32 cards, a 6-pin ISP connector, a 4-button menu, automatic SCK selection up to 4 MHz, and a built-in bootloader for self-update.
  • The PCB measures 44 x 39 x 5.5 mm and writes at 12.5 kB/s while reading at 14.5 kB/s.
  • It was fully tested with tiny13, tiny45, tiny2313, mega8, mega88, mega16, mega32, mega328, and mega644, but HEX files are guaranteed only up to 64 kB.
  • Battery operation is limited: startup can draw up to 100 mA, the target is not powered through VCC, and removing the card during use can corrupt files.
Generated by the language model.
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • #361 20187695
    ta1dr2005
    Level 1  
    Posts: 1
    I'm using version 1.3 and while I'm programming fsah, if I use hex file, always gives verify error, if I use bin it's fine. also always wrong wtite the fuse bits
  • ADVERTISEMENT
  • #362 20384281
    tomastom
    Level 12  
    Posts: 35
    Help: 1
    Rate: 7
    If there are boards of this programmer to buy, I'm interested.

    Added after 37 [seconds]:

    It would be nice to design a case for a 3D printer
  • ADVERTISEMENT
  • #363 20384644
    FastProject
    Level 28  
    Posts: 1974
    Help: 64
    Rate: 194
    tomastom wrote:
    If there are boards of this programmer to buy, I'm interested.

    Added after 37 [seconds]:

    It would be nice to design a case for a 3D printer


    I should have 2-3 pieces somewhere.
  • ADVERTISEMENT
  • #364 20385892
    Wawrzyniec
    Level 38  
    Posts: 3974
    Help: 390
    Rate: 1065
    I would also be interested in the plate.
  • #365 20386029
    Gienek
    Level 37  
    Posts: 2775
    Help: 393
    Rate: 350
    I have a board + display + some mechanical parts.

    I also have a ready programmer (redundant).

    If you are interested, please PM me.
📢 Listen (AI):

Topic summary

✨ The discussion revolves around the uProg, a compact and portable AVR programmer that utilizes SD cards for firmware storage. Users express admiration for its design and functionality, highlighting its small size (44 x 39 x 5.5 mm) and fast programming speeds (write: 12.5kB/s, read: 14.5kB/s). Several users inquire about compatibility with various components, such as different LCD displays (notably the Nokia 3310's LPH7779), and the ability to program various AVR microcontrollers, including the ATmega328P and ATtiny series. Issues with SD card compatibility, particularly with SDHC cards, are frequently mentioned, as well as problems related to fusebit settings and display contrast. Suggestions for improvements include adding a battery charging system, enhancing the user interface, and providing better documentation for setup and troubleshooting. The community shares experiences with different configurations, troubleshooting tips, and modifications to enhance the programmer's capabilities.
Generated by the language model.

FAQ

TL;DR: uProg writes AVR flash at 12.5 kB/s and reads at 14.5 kB/s; “The best results can be obtained with BIN files” [Elektroda, manekinen, post #9597772] Why it matters: those rates cut on-site firmware updates to under six seconds for a 64 kB image.

Quick Facts

• Foot-print: 44 × 39 × 5.5 mm, 5 mA menu current [Elektroda, manekinen, post #9597772] • Peak write: 12.5 kB/s; verify read-back 14.5 kB/s [Elektroda, manekinen, post #9597772] • Supported cards: 128 MB – 2 GB SD/MMC, FAT16/32 (SDHC in roadmap) [Elektroda, manekinen, post #9597772] • Stand-by draw: 0.10 µA; boot surge ≤ 100 mA (card-dependent) [Elektroda, manekinen, post #9597772] • Tested MCUs: ATtiny13 → ATmega2561; auto SCK 4 MHz-62.5 kHz [Elektroda, manekinen, post #9597772]

How do I enter fusebits without a PC?

Choose Fusebits → Manual. UP/DN scroll each hex digit, RI confirms, LE cancels. Default factory bytes are pre-loaded for safety [Elektroda, manekinen, post #9693727]

Why does verification fail after long cables?

Auto-speed starts at 4 MHz SCK and steps down on first error. A 30 cm ribbon may still pass the signature test but corrupt data. Limit length to ≤ 20 cm or set Max SCK=3 in config.ini (250 kHz) [Elektroda, manekinen, post #9597772]

‘File too big’ when flashing ATtiny25—work-around?

Bug in size parser affects HEX < 2 kB. Convert to BIN or pad file, then flash successfully [Elektroda, manekinen, post #10377528] A fix is scheduled in the next release.

How can I speed up the programmer itself?

Set OSCBoost bit0=1 and OSCCAL to F0-FF. At 16 MHz average write rate rises 28 % but some MCUs require SCK capped to 2 MHz [Elektroda, mlassota, post #10118939]

What’s the typical failure after reverse-biasing C5?

Tantalum C5 stripe denotes +. Reversed part shorts the SD rail, overheats, and can burn the PCB within 3 s [Elektroda, krzycho123, post #9826229]

Is Li-ion charging supported on-board?

PCB 1.2 exposes SO8 and SOT-223 pads so you can add MCP73831 charger and LDO. Factory firmware doesn’t monitor charge; add external LED or ADC mod as in user build [Elektroda, MatygaD, post #9773466] A native charger is on the roadmap.

Quick How-To: update uProg firmware from SD

  1. Copy new BIN as 000.bin to card root. 2. Insert card and power-on; blank screen confirms bootloader mode. 3. Press RI to flash; after reboot the splash shows the new version [Elektroda, manekinen, post #9597772]

Edge-case: what if the LCD shows only a dash?

A single dash means uProg shut down. If it appears at power-up, SD Vcc is below 2.7 V; recharge battery or replace C4 [Elektroda, marcin44430, post #10116045]
Generated by the language model.
ADVERTISEMENT