Products > Test Equipment

open source GPIB adapter

<< < (7/42) > >>

Venturi962:
Incorporated those updates.  Included 4 Channel ESD protection (2 Channel part is Out of Stock but should be pin compatible).

PioB:
So I had an earlier Version of the PCB with VBUS connected made at a Chinese board house and am trying to program it now... As I don't have a "real" programmer I am using my Arduino Uno on which I have installed scratch monkey (stk500) https://github.com/microtherion/ScratchMonkey/tree/master/doc and which I have used before to successfully program Atmel MCUs.
Unfortunately this time I am not lucky, command line from https://github.com/xyphro/UsbGpib:

--- Code: ---sudo avrdude -c stk500 -p m32u4 -e -Ulock:w:0x3F:m -Uefuse:w:0xcb:m -Uhfuse:w:0xd8:m -Ulfuse:w:0xff:m avrdude -c stk500 -p m32u4 -U flash:w:BootLoader.hex -P /dev/ttyACM0
 

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e9587 (probably m32u4)
avrdude: erasing chip
avrdude: reading input file "0x3F"
avrdude: writing lock (1 bytes):

Writing | ################################################## | 100% 0.01s

avrdude: 1 bytes of lock written
avrdude: verifying lock memory against 0x3F:
avrdude: load data lock data from input file 0x3F:
avrdude: input file 0x3F contains 1 bytes
avrdude: reading on-chip lock data:

Reading | ################################################## | 100% 0.01s

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
         0xff != 0x3f
avrdude: verification error; content mismatch

avrdude: safemode: Fuses OK (E:FB, H:99, L:52)

avrdude done.  Thank you.

--- End code ---

Does anyone have any hint how to modify the command line to burn the bootloader?
(atmega32u4rc-mu, should be configurable to use the external xtal which IIUC would be taken care of by the fuses?)

Venturi962:
Try setting bitclock in the avrdude command, for example add '-B 10' to the end.

PioB:
Thanks, that still yields the same answer unfortunately
.

mankan:
You have not written the bootloader, just set the fuse bits. Divide the first line into two commands, both starting with avrdude.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod