Creating a Bootloader dll for PSoC® 3/ PSoC 4 L-Series / PSoC 5LP - KBA212708
Anonymous
Not applicable
Jun 05, 2016
11:22 PM
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Jun 05, 2016
11:22 PM
Version: **
Translation - Japanese: PSoC® 3/ PSoC 4 Lシリーズ / PSoC 5LP 用 ブートローダ dll の作成 - KBA212708 - Community Translated (JA)
Question:
1) How to create the Bootloader dll (BootLoad_Utils.dll) for PSoC 3/ PSoC 4 L-series/ PSoC 5LP bootloader host?
2) How to create a dll from a set of C source files using Visual C++ ?
Answer:
- Create a new C++ DLL project (File > New > Project > Visual C++ > Win32 Console Application).
- Provide a suitable name to the project, such as “BootLoader_Utils’.
- Click OK, and then click Next to start the Win32 Application Wizard.
- Set Application type to DLL, and Additional options to Empty project. Click Finish.
- In the Solution Explorer window, right-click the project name (“Bootloader_Utils”) and select Add > Existing Item… Add the following files from the PSoC Creator folder <install folder>\PSoC Creator\x.x\PSoC Creator\cybootloaderutils:
- cybtldr_command.h
- cybtldr_command.c
- cybtldr_parse.h
- cybtldr_parse.c
- cybtldr_api.h
- cybtldr_api.c
- cybtldr_api2.h
- cybtldr_api2.c
- cybtldr_command.h
- cybtldr_command.c
- cybtldr_utils.h
- Right-click the project name (“Bootloader_Utils”), and add a preprocessor definition to the project properties. Select Project Properties > Configuration Properties > C/C++ > Preprocessor > Preprocessor Definitions > Edit… Insert “_CRT_SECURE_NO_WARNINGS” in the bottom of Preprocessor Definitions.
- Compile the project by selecting Build > Build Solution. This creates the file Bootloader_Utils.dll.
Labels
Rate this article:
Contributors
-
This widget could not be displayed.Anonymous