![]() BIN file and they can update in 5-7 seconds without needing to have the IDE, my libraries, board files, etc. USB MSC is very easy for my customers to update in the field, since I can just export a. Added waiting for the Leonardo serial communication. Then it switches to an unknown device under usb controllers. Version 2, Juni 2012, Using Arduino 1.0.1 // Adapted to be as simple as possible by user. I plug it in and for about ten seconds it recognizes the device as an Arduino Leonardo under 'Other divices'. I did most of my development using the SAM-BA / CDC bootloader, and then switched to the USB MSC for deployment. I just purchased a Leonardo and Im having issues with it on 7. SparkFun and others have made Zero clones and derivatives that do not include the EDBG but rather use the Native USB port for firmware upload. It breaks compatibility with the IDE but that's not a concern for me. I did not include the debugger, as I implemented a bootloader that acts as a USB Mass Storage Class device. I want to make a standalone (but IDE compatible) board as well, but a 4 layer pcb is not within my capabilities, and I am wondering if the compatibility would be compromised if I exclude the Embedded debugger It seems the 4-layer pcb it results of having both chips could be somewhat expensive if the final product is U$D 50.-, since the uC is not much more expensive than the atmega328 The AVR core is working fine, though.ĭid you finally make the standalone product with this uC? My_g3.bootloader.file=zero/samd21_sam_ba.binĪm I missing something here? The VID and PID are being changed, but the SAMD core doesn't appear to populate the b_product or b_manufacturer correctly. My_g3.build.openocdscript=openocd_scripts/arduino_zero.cfg Eventually I got it to work after numerous tries. The Arduino will flash various LEDs, and then the simple Blink sketch will load. My_g3.build.ldscript=linker_scripts/gcc/flash_with_bootloader.ld Quickly double press the reset button on the Leonardo The Windows 10 computer will make the sound about the USB port being disconnected, and then reconnected. I've also edited boards.txt to add a device based on the Leonardo platform but with my VID and PID as follows: =atmega32u4 ![]() Where MY_VID is replaced with my USB VID, and MFG_NAME is replaced with the company name. Fall through to unknown if no manufacturer name was provided in a macro The board may disappear from the Serial Port list but don’t worry. Make sure you select a basic sketch like Blink. The trick to fixing this is first restart (important step) your Arduino IDE software and make sure you select Arduino Micro under Tools->Boards. I've changed the USBCore.h to include my VID as follows: #if USB_VID = 0x2341 This will then show up in Windows as Unknown device. The new pluggable USB stuff is nice, it allows me to use my boards with the standard IDE and core and everything seems to work. I was previously using a hacked core to allow for USB MIDI on the 32U4 / Leonardo platform but I've been experimenting with the ATSAMD21 / Zero boards for a couple of days. ![]() I'm developing a product based on Arduino that is designed to work as a USB device. I'm running into a strange issue related to USB VID / PID.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |