![](images/freescale.png)
Freescale TWR-VF65GS10 Board Support Package
This package contains project templates, system files and example programs for the Freescale TWR-VF65GS10.
CrossWorks Version 4 Installation Instructions
This package can only be installed if you have the following CrossWorks license bolt-ons:
- ARM License
- To install this support package
-
- Click the Tools > Package Manager menu option to open the package manager window.
- Right click on the Freescale TWR-VF65GS10 Board Support Package entry and select Install Selected Packages.
- Click Next to take you to the summary page.
- Click Next to install the package.
- Click Finish to close the package manager window.
- Click the Tools > Show Installed Packages.
- Click on the Freescale TWR-VF65GS10 Board Support Package link to view the package and its contents.
- To manually install this support package
-
- If you have not done so already, follow the CMSIS 3 Support Package, CrossWorks Tasking Library Package and NXP Vybrid CPU Support Package installation instructions.
- Download the file Freescale_TWR_VF65GS10.hzq using your web browser.
- Click the Tools > Manually Install Packages menu option.
- Select the file you have just downloaded to install the package.
- Click the Tools > Show Installed Packages.
- Click on the Freescale TWR-VF65GS10 Board Support Package link to view the package and its contents.
- To install this support package using other versions
Release Notes
1.1
- Added dual5 sample.
1.0
- Initial Release.
Documentation
Creating Freescale TWR-VF65GS10 Projects
CrossStudio for ARM supports the Freescale TWR-VF65GS10 board with loading and debugging applications into OCRAM, DDR and QuadSPI0 flash. Ensure that you have the jumpers set to boot from SD card and that no SD card is inserted so that the board will run the ROM loader from reset.
To create a new Freescale TWR-VF65GS10 Board project
- Select the File | New | New Project menu item.
- Select TWR-VF65GS10 from the Boards category list.
- Select the required project template type from the Project Templates list.
- Set the required project name and location directory.
- Click OK.
To build, load and debug an application running in OCRAM
- Select the project to work on by using the Project | Set Active Project menu option.
- Select the OCRAM placement by clicking on the project node in the project explorer.
- Build the project by using the Build | Build Project menu option.
- Connect to the appropriate target in the target window.
- Download and start debugging the current project by using Project | Start Debugging.
To build, load and debug an application running in DDR
- Select the project to work on by using the Project | Set Active Project menu option.
- Select the DDR placement by clicking on the project node in the project explorer.
- Build the project by using the Build | Build Project menu option.
- Connect to the appropriate target in the target window.
- Download and start debugging the current project by using Project | Start Debugging.
To build, load and debug an application running in QuadSPI0 flash.
- Select the project to work on by using the Project | Set Active Project menu option.
- Select the QuadSPI0 placement by clicking on the project node in the project explorer.
- Build the project by using the Build | Build Project menu option.
- Connect to the appropriate target in the target window.
- Download and start debugging the current project by using Project | Start Debugging.
Freescale TWR-VF65GS10 Project Specifics
Target Reset Script
The reset script in Freescale_TWR_VF65GS10_Target.js supplies the function to set up the clocks and DDR which is implemented by running the DDR initialisation project.
Flash Loaders
The loaders
solution has projects to build the QuadSPI0 flash loader and boot data.Board Specific Files
The file Freescale_TWR_VF65GS10_ctl_board.c provides the SystemInit, led and button pressed function. The SystemInit function configures the DDR and for QuadSPI builds the CA5 will start the CM4 executing at it's reset address.
Known problems
The debugger cannot debug when CM4 QuadSPI0 programs have been downloaded. You will need to download using Project | Start Without Debugging, change the boot source to QuadSPI0, power cycle and use Target | Attach Debugger to debug. The debugger cannot download QuadSPI0 programs when the board has booted from QuadSPI0 so you will need to change the boot source back to SD card and power cycle.
Differential downloading into QuadSPI0 flash is not reliable. Clear the target environment option Enable Differential Download to avoid this or alternatively use the Program QuadSPI0 action on the right click context menu on the project node.