Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
resources:eval:user-guides:eval-ad5940:tools:keil_setup_guide [08 Dec 2021 11:49] – Added description on how to fix the include issues that come with the git project Matthias Luhresources:eval:user-guides:eval-ad5940:tools:keil_setup_guide [11 Aug 2022 14:42] – added reference to v5 compiler Hans Boot
Line 9: Line 9:
 Once the software has downloaded an evaluation licence is required. Keil offers two different evaluation licences, time limited and size limited. Choose the size limited licence. This limits the allowable code size to 32kB. All the AD5940 example projects are within this limitation. Once the software has downloaded an evaluation licence is required. Keil offers two different evaluation licences, time limited and size limited. Choose the size limited licence. This limits the allowable code size to 32kB. All the AD5940 example projects are within this limitation.
  
 +The latest versions of Keil use the ARM compiler v6, but the example code still uses v5, and refuses to compile under v6. Therefore, you will also need to download the legacy compiler, as shown in https://developer.arm.com/documentation/ka005073/latest
 ===== How to edit and run example code in Keil===== ===== How to edit and run example code in Keil=====
 To edit and run example code in Keil follow these steps: To edit and run example code in Keil follow these steps:
Line 38: Line 39:
   - To set breakpoints click to the left of the line of code. A red dot will appear as in below screenshot.   - To set breakpoints click to the left of the line of code. A red dot will appear as in below screenshot.
   - To begin executing press the "Run" button which is highlighted in below screenshot. {{ :resources:eval:user-guides:eval-ad5940:tools:keil_debugger.png?nolink&600 |}}   - To begin executing press the "Run" button which is highlighted in below screenshot. {{ :resources:eval:user-guides:eval-ad5940:tools:keil_debugger.png?nolink&600 |}}
 +  - Hint: If downloading the code didn't work because of an error like this: 'Failed to load flash loader: C:/Users/YourUsername/IAR-CMSIS-Packs/AnalogDevices/ADUCM302x_DFP/3.2.0/\ARM\config\flashloader\AnalogDevices\FlashADUCM3029.flash':
 +     * Try this method instead: https://wiki.analog.com/resources/eval/user-guides/eval-adicup3029/tools/adicup3029_hw_drivers#daplink_drive
 +     * If your board doesn't start after this, give flashing/debugging using the steps described above another try - sometimes it works again.
  
resources/eval/user-guides/eval-ad5940/tools/keil_setup_guide.txt · Last modified: 11 Aug 2022 14:44 by Hans Boot