Community Translation - Creating a Bootloader dll for PSoC® 3/ PSoC 4 L-Series / PSoC 5LP - KBA212708

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

I'd like to translate KBA212708 into Japanese.

Please confirm to my work.

moto

Original KBA: KBA212708

Creating a Bootloader dll for PSoC® 3/ PSoC 4 L-Series / PSoC 5LP - KBA212708

0 Likes
2 Replies
JennaJo
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hello, Tanaka-san

Confirm to work.

Thanks,

Jenna

Jenna Jo
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Original KBA: KBA212708

Creating a Bootloader dll for PSoC® 3/ PSoC 4 L-Series / PSoC 5LP - KBA212708

Translated by: MoTa_728816

==============================

タイトル:PSoC® 3/ PSoC 4 Lシリーズ / PSoC 5LP 用 ブートローダ dll の作成 - KBA212708

ヴァージョン: **

質問:

1) PSoC 3/ PSoC 4 Lシリーズ/ PSoC 5LP 用ブートローダホストの Bootloader dll の作成方法?

2) Visual C++ を使用して C ソースファイルから dll を作成する方法?

回答:

1. 新規 C++ DLL プロジェクトを作成してください。(File > New > Project > Visual C++ > Win32 Console Application)

2. プロジェクトに“BootLoader_Utils”のように、適切な名称を付けてください。

3. OK をクリック後、Next をクリックして、Win32 Application Wizard を起動します。

4. Application type は DLL を選択し、Additional options を Empty project に設定します。Finish をクリックします。

5. Solution Explorer ウィンドウ内で、プロジェクト名 (“BootLoader_Utils”)を右クリックして、Add > Existing Item... を選択します。PSoC Creator のフォルダ  <install folder>\PSoC Creator\x.x\PSoC Creator\cybootloaderutil から、下記のファイルを追加します。

    • 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

6. プロジェクト名 (“BootLoader_Utils”)を右クリックして、プロジェクト プロパティにプリプロセッサ デフィニション を追加します。 Project Properties > Configuration Properties > C/C++ > Preprocessor > Preprocessor Definitions > Edit... を選択して、Preprocessor Definitions の一番最後に “_CRT_SECURE_NO_WARNINGS” を追加します。

7. Build > Build Solution を選択して、プロジェクトをコンパイルします。これで BootLoader_Utils.dll が作成されます。

==============================

26-May-2020

moto

0 Likes