(Or maybe I failed to write the good define in conf_board.h.) Maybe the conf_clock file have priority use during the compilation. The problem was the different clock setup (System clock and USB clock), like GTKNarwhal said.īut as said in the ASF manual app note, theses clock has to be managed into the "conf_clock.h" in my case, several try in "conf_board.h" and the other conf file were not successfull in my case, I tried manualy in my main file, but neither it worked. This old post helped me, so I'll explain how I managed to use a "Barion XM64 board" It is a low cost Atxmega128A3U breakout board grabbed from ebay. When selecting the template above, in the drop down processor select list 'ATxmega256A3B' appears but not 256A3BU (which I think is the USB version)- does this mean that the USB drivers and services won't be available in this project anyway?įor reference: Studio 5.1.201, ASF 2.10.0, Windows XP SP3 S5.1 'error help' right click doesn't do anything- why? Can anyone tell me where this error is coming from and how to make it go away? The error is really and truly disabling my relaxation!! s files in the project, and checking the 'do not use standard start files' in the project options (as suggested elsewhere) doesn't help. The only other reference I can find to this error has to do with _startup files (.s files). I am now getting a 'disabling relaxation- it will not work with multiple definitions' error- it's the only error left. As suggested above, I created a new project using 'New Project->User Board->XMEGA A' template. Therefore I am trying to migrate the project again to an ASF-based project so as to provide ready access to the ASF drivers. Many other posts say that the ASF encapsulates the commonly used USB modes like HID and bulk. ![]() This version compiled, downloaded, and ran on a new XMEGA256A3BU based board. I originally copied the S4 project into a new S5.1 project (non-ASF), and re-did all the I/O references per the new 'structured' approach and updated the internal device references to go from a AVR1284P to a XMEGA256A3BU controller. I am trying to port a Studio4 project into Studio 5.1, with ASF included. There are some hints in the comments of some source files but its not enough. It seems I have to make different definitions but what I need to define is not documented as far as I can tell. I asume Atmel is planning on having customers making their own boards hence there is a need for a detailed tutorial / documenatation of what needs to be configured in the boards files for the rest of the ASF to work with that board. Why not just produce development/evaluation baords that just provides a p/s, clocking, level conversion for one serial port and jtag with all other pins broken out to standard 0.1" pin heards for a bread board and examples that are easily modified to support different board connections on different pins not only atmels own evaluation boards. I also checked all the quick start guides at and it only has examples of using different perephials and all examples are based on existing development boards. I checked that document the only information it gives is that board specific information goes inside the board folder. So, any insights into this issue would be very much appreciated. ![]() I feel like this problem had to have been solved by someone - I just don't seem to know the way - (unfortunately google hasn't been much help in this case). The last option that I can think of, which I don't really prefer, is to hand pick the files that I need and place them in my project with the correct directory structure. When I go into AVR Studio and select "Show All Files", AVR Studio pretty much hangs for all intents and purposes - (I don't think it really hangs - it may just be recursing through the all the files and it is taking a very very long time). I downloaded the ASF 3.0.1 standalone files and unzipped them in my project directory (under a folder called "asf"). I have a custom board (not any of the evaluation boards) that I am working with - so I cannot really use the "new example project" route (I think).Ģ. If I ignore the the warning and just add a driver (gpio), I run across multiple compilation errors which ultimately refer to a "board.h" file that is missing. After I've created a project (not a "new example project from asf"), when I select "ASF Wizard", I get a warning saying that I need to go through the "New Example Project" wizard. I can't really figure out the best way to add the ASF libraries to my project. I've installed AVR Studio 6 beta in hope of using the latest ASF.ġ. I have a new project at hand where I am using the AT32UC3B1512 and would like to start using ASF as I've been hearing good things about it. I have been using the XMEGA192A3 in AVR Studio 5 for over a year now (without the use of ASF) - and it has been going well.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |