![TDK Evaluation kit 60 V Скачать руководство пользователя страница 16](http://html1.mh-extra.com/html/tdk/evaluation-kit-60-v/evaluation-kit-60-v_application-note_825601016.webp)
Piezo Haptic Actuators - PowerHap
Z63000Z2910Z1Z44
Application note for evaluation kit 60 V
Preliminary data
PPD PI AE/IE PD
2019-05-08
Please read Cautions and warnings and
Page 16 of 28
Important notes at the end of this document.
5.3 Firmware modification – using PSoC® Creator
TM
Firmware modification by the user will not be supported by Boréas Technologies. It is done at the user's
own risk of causing damage beyond repair to the BOS1901. This section only presents a starting point
for any user who may want to modify the firmware. A careful read of the BOS1901 datasheet is strongly
recommended before doing so.
The firmware source code is available for download on
Boréas website
. PSoC® Creator™ IDE is available for
download at
http://www.cypress.com/products/psoc-creator-integrated-design-environment-ide
.
The procedure for first firmware compilation is:
1. Start PSoC® Creator™, then go to "File/Open/Project" and select the file "PSoCCreator.cywrk" (make
sure to start with the latest project file).
2. In the "Workspace Explorer", right-click on "Project 'USBFS_Bootloader'" then choose "Build
USBFS_Bootloader".
3. In the "Workspace Explorer", right-click on "Project 'BOS1901_Test'" then choose "Build
BOS1901_Test".
4. The compiled firmware BOS1901_Test.cyacd will be in the folder:
Project name\BOS9101_Test.cydsn\CortexM3\ARM_GCC_541\Debug\
5. Update the firmware using the procedure presented in section
Fehler! Verweisquelle konnte nicht
gefunden werden.
.
After any code modification, repeat steps 3 to 5 to test.
It is highly recommended to use a Cypress MiniProg3 (CY8KIT-002) when modifying the source code. This
inexpensive kit allows to program the PSoC® microcontroller directly from PSoC® Creator™ through the SWD
connector on the board. It also enables to enter debug mode and save valuable time in producing bug-free
code.
Board resources can be used in modified code. DIP switch 8 is not used and can be programmed by the user.
Other DIP switches, USR button, and LEDs can all be reprogrammed if the associated code is adjusted
accordingly.
Unused PSoC® I/Os can be activated to expand user-specific application code; wires can be soldered on them
if necessary. PSoC® internal components such as ADCs and EEPROM memory may also be used.