![]() ![]() /./lufa/makefile/LUFA/ Error: No such file or directory Severity Code Description Project File Line Hi I'm working with atmel studio 7 with the USB communication but I haveĪn error when compiling the project, this is the error: Using the ASF extension of LUFA? If so it should work out of the box unlessĭo any other projects cause similar issues when compiled, either a new bare That looks like a general issue with compiling under ATMEL studio. (Hurriedly typed on my phone - currently away on my European honeymoon) I used Atmel Studio 7 fine under Windows 7. I believe it is related to some sort of USB timings or USB behavior that had been altered in Windows 10. Just wanted to let you know for my experience. I have commented out both LIBUSB_DRIVER_COMPAT and RESET_TOGGLES_LIBUSB_COMPAT and I have bumped the firmware version. This happens repeatedly (when I disconnect using software means, for example, selecting "Simulator" and clicking "Apply" then I attempt to select the programmer again I would again receive an error on the next "Apply" and if I click "Apply" in the next second or so I would get properly connected and so on).Īnother strange thing is that if I use an USB hub (instead of connecting directly to the PC) I can never establish a connection. Then if I click in the next second again "Apply" I would connect successfully (and I can read memories, program, check fuses etc). While using "Device Programming" I click "Apply" to connect to the target and I get an error. I have a slightly different behavior, however, with Windows 10 and Atmel Studio 7.0.634: I can confirm that the ISP clock gets reset to 125kHz. It is a temporary solution, but better than nothing. ![]() for AS 7.0.634: change the bytes 0x0F 0x84 to 0x90 0圎9 at file offset 0x2F74C in file \atbackend\codeCache\com_atmel_hil_usb.dll located in AS 7.0.634 install dir for AS 7.0: change the byte 0x74 to 0圎B at file offset 0x2F632 in file \atbackend\codeCache\com_atmel_hil_usb.dll located in AS 7.0 install dir for AS 6.2: change the byte 0x74 to 0圎B at file offset 0x35F11 in file \atbackend\codeCache\com_atmel_hil_usb.dll located in AS 6.2 install dir Here are the details(just patch a conditional jump): However there is an annoying bug(feature?) in AS 7.0: it resets the ISP clock to 125kHz every time it connects to the programmer sends a CMD_SET_PARAMETER(PARAM_SCK_DURATION,6) command before CMD_GET_PARAMETER(PARAM_SCK_DURATION). I ported it to Atmel Studio 7.0 and guess what: it works on it too! I found a patch on some russian site for Atmel Studio 6.2 that addresses this issue. ![]() However it doesn't works with Atmel Studio 6.2/7.0. I have build an avrisp mkII clone, used your code with very minor modifications(just added some ctrl lines to select ISP/PDI mode at hw level), and it's working flawlessly with Atmel Studio 6. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |