Hello,
The attached PDF's contain a design of a board I'm working on.
The design is based on Arduino Micro:
http://arduino.cc/en/Main/arduinoBoardMicro
Arduino Micro's schematic:
The data sheet of M32U4 can be found here:
I'm using usbtiny ISP programmer from sparkfun:
I have a few quotations regarding my failure in the first attempts to communicate with the board from the design:
-
That is the first controller with a built-in USB port that I am working on, untill now I was used to connect to the ISP port and burn Arduinos' bootloader. Do I still need to use the ISP port to upload a bootloader or is it done by the USB port?
-
I have tried to connet to the ISP port (MISO->MOSI, MOSI->MISO, SCK->SCK, GND->GND, RST->RST) via connector J3_Prog from the design, and run this avrdude command: "avrdude -c usbtiny -p m32u4" and recieved a failure (initialization failed, try -F...).
The circuit is powered and the connections are good. -
I have tryed to connect to the USB port (D+->D+, D- -> D-, VUSB-VBUS,GND->GND) via connector J1_USB from the design and the computer does not make sound of atached USB device and nothing changes in device manager.
-
The datasheet of the controller says:
"All supplied parts are preprogramed with a default USB bootloader"
What is the behavior of this bootloader? is there any pin I can measure to see if the program runs and is alive?
What is the correct way to integrate with this controller? USB or ISP?
Can you please see if there is a noticeable problem in the design for the lack of communication?
Any additional information will be given upon request.
Thank you in advance,
Roman.
biop_MCU_page.pdf (85.3 KB)