(toppers-users 4156) Re: ARMCC対応 STBEE(Strawberry Linux)簡易パッケージがビルドできない件について

takinoya niagara.ta.ki.no @ gmail.com
2013年 10月 9日 (水) 21:53:11 JST


井上様>

Keil site の MDK/ARM が 5.00 にUpgradeしているので、
購入ユーザしか4.72のDownloadができないようですね。

過去に 4.70 ではビルドできることを確認しています。

で、5.00でも同じ症状がでますが、原因はログ冒頭の
> sample1.cfg: error - custom translator properties not set
これです。

5.00での回避策はあります。テキストで伝わるか分かりませんが記します。

1. Projectタブの WorkSpace-->cfg1_out を右クリックして
    "Set as Active Project"を選択
2.  WorkSpace-->cfg1_out-->cfg1_out-->cfg-->sample1.cfg を右クリックして
    "Remove File `sample1.cfg`"でいったん消す。
3. WorkSpace-->cfg1_out-->cfg1_out-->cfg を右クリックして
    "Add Existing FIles to Group `cfg`" を選択、ダイヤログで
    asp/sample/sample.cfg を選択して "Add"ボタンを押す。
4. ここで Get File type for `sample1.cfg` というダイヤログがでるので
    Type: を "Text Document file" にして OK で抜ける。
5. Closeボタンで抜ける。
6. WorkSpase-->asp を右クリックして
    "Set as Active Project"を選択
7. あとは手順通りバッチビルド

STBeeを持っていないので生成されたasp.axfの動作確認はしていません。
参考に4.72でお試しください。




2013年10月6日 21:54 井上真人 <masatoinoue00 @ gmail.com>:

> TOPPERSユーザーズ各位
>
> 井上と申します。
>
> 首記の通り、
> ARMCC(KEIL uVision)に対応したSTBEE(Strawberry
> Linux)簡易パッケージがビルドできないので、メールさせていただきます。
>
> 恐れ入りますが、同様の症状が発生することをご確認いただけましたら、
> 可能なら対象方法をご教示いただけますと幸いです。
>
>
> ■ 対象パッケージ
> [[http://www.toppers.jp/asp-e-download.html]]
> STBEE(Strawberry Linux)簡易パッケージ
> asp_stbee_armcc-20120310.zip(SJIS版)<http://www.toppers.jp/download.cgi/asp_stbee_armcc-20120310.zip>
>
> ■ 症状
> 対象パッケージが uVision4.0 でビルドできません。
> ( [[http://www.keil.com/arm/mdk.asp]]から、ダウンロードした MDK-ARM 4.72 を使用 )
>
> 対象パッケージに同梱されている「asp_proj.uvmpw」を開いた後、
> Batch Build すると、下記メッセージが出力されます。
>
> --- ここから
> Rebuild target 'cfg1_out'
> sample1.cfg: error - custom translator properties not set
> Before Build - User command #1: ../../../cfg/cfg/cfg --pass 1 --kernel asp
> -I. -I../../../ -I../../../include -I../../../arch -I../..
> -I../../../target/stbee_armcc -I../../../arch/arm_m_armcc/stm32f
> -I../../../arch/arm_m_gcc/stm32f -I../../../arch/arm_m_armcc/common
> -I../../../arch/arm_m_gcc/common -I../../../target/stbee_gcc --api-table
> ../../../kernel/kernel_api.csv --cfg1-def-table
> ../../../kernel/kernel_def.csv  --cfg1-def-table
> ../../../arch/arm_m_gcc/common/core_def.csv ../../../sample/sample1.cfg
> linking...
> .\cfg1_out.axf: error: L6002U: Could not open file .\cfg1_out.o: No such
> file or directory
> ".\cfg1_out.axf" - 1 Errors, 0 Warning(s).
> Target not created
>
> Rebuild target 'libkernel'
> Before Build - User command #1: ../../../cfg/cfg/cfg --pass 3 --kernel asp
> -I. -I../../../ -I../../../include -I../../../arch -I../..
> -I../../../target/stbee_armcc -I../../../arch/arm_m_armcc/stm32f
> -I../../../arch/arm_m_gcc/stm32f -I../../../arch/arm_m_gcc/stm32f/cmsis
> -I../../../arch/arm_m_armcc/common -I../../../arch/arm_m_gcc/common
> -I../../../target/stbee_gcc --rom-image cfg1_out.srec --symbol-table
> cfg1_out.syms -T ../../../arch/arm_m_gcc/stm32f/chip_offset.tf--api-table ../../../kernel/kernel_api.csv -
> cfg: error: cannot open file `cfg1_out.srec'
> cfg: fatal error
> compiling alarm.c...
> compiling cyclic.c...
> compiling dataqueue.c...
> compiling eventflag.c...
> compiling exception.c...
> compiling interrupt.c...
> compiling mailbox.c...
> compiling mempfix.c...
> compiling pridataq.c...
> compiling semaphore.c...
> compiling startup.c...
> compiling sys_manage.c...
> compiling task.c...
> compiling task_except.c...
> compiling task_manage.c...
> compiling task_refer.c...
> compiling task_sync.c...
> compiling time_event.c...
> compiling time_manage.c...
> compiling wait.c...
> compiling target_config.c...
> compiling chip_config.c...
> compiling core_support.sx...
> core_support.sx: Error:  #5: cannot open source input file
> "..\..\..\arch\arm_m_armcc\common\core_support.sx": No such file or
> directory
> ".\libkernel.lib" - 1 Errors, 0 Warning(s).
> Target not created
>
> Rebuild target 'asp'
> compiling sample1.c...
> sample1.c: Error:  #5: cannot open source input file "kernel_cfg.h": No
> such file or directory
> ".\asp.axf" - 1 Errors, 0 Warning(s).
> Target not created
> --- ここまで
>
> ■ 補足情報
>
> (1) エラーが出力されるuVision4.0のツールチェインバージョンは以下の通りです。
>
> IDE-Version:
> μVision V4.72.10.0
> Copyright (C) 2013 ARM Ltd and ARM Germany GmbH. All rights reserved.
>
> Tool Version Numbers:
> Toolchain:        MDK-Lite  Version: 4.72.1.0
> Toolchain Path:    C:\Keil\ARM\ARMCC\bin\
> C Compiler:         Armcc.Exe       V5.03.0.76 [Evaluation]
> Assembler:          Armasm.Exe       V5.03.0.76 [Evaluation]
> Linker/Locator:     ArmLink.Exe       V5.03.0.76 [Evaluation]
> Librarian:             ArmAr.Exe       V5.03.0.76 [Evaluation]
> Hex Converter:      FromElf.Exe       V5.03.0.76 [Evaluation]
> CPU DLL:               SARMCM3.DLL       V4.72.1.0
> Dialog DLL:         DARMSTM.DLL       V1.64.0.0
> Target DLL:             UL2CM3.DLL       V1.150.11.0
> Dialog DLL:         TARMSTM.DLL       V1.64.0.0
>
>
> (2) 以下のツールチェインでビルドするとエラー出力されず、期待されるビルド生成物ができあがります。
>
> IDE-Version:
> μVision V4.50.0.0
> Copyright (C) 2012 ARM Ltd and ARM Germany GmbH. All rights reserved.
>
> Tool Version Numbers:
> Toolchain:        MDK-Lite  Version: 4.50.0.0
> Toolchain Path:    C:\Keil\ARM\BIN40
> C Compiler:         Armcc.Exe       V4.1.0.894 [Evaluation]
> Assembler:          Armasm.Exe       V4.1.0.894 [Evaluation]
> Linker/Locator:     ArmLink.Exe       V4.1.0.894 [Evaluation]
> Librarian:             ArmAr.Exe       V4.1.0.894 [Evaluation]
> Hex Converter:      FromElf.Exe       V4.1.0.894 [Evaluation]
> CPU DLL:               SARMCM3.DLL       V4.50.0.0
> Dialog DLL:         DARMSTM.DLL       V1.63.0.0
> Target DLL:             UL2CM3.DLL       V1.102.0.0
> Dialog DLL:         TARMSTM.DLL       V1.60
>
>
> 以上、宜しくお願いいたします。
>
> --
> -------------------------------------------------
> INOUE Masato
> email:masatoinoue00 @ gmail.com
>



-- 
by 瀧乃家
-------------- next part --------------
HTMLの添付ファイルを保管しました...
URL: <http://www.toppers.jp/pipermail/users/attachments/20131009/a6bef55e/attachment.html>