*FAQ [#y509d3c7]
困ったこと・解決したことを書き込むページです。
困ったことを書いておけば、誰かが教えてくれるかもしれません。
解決したことを書いておけば、他の人が困らなくてもすむかもしれません。
#contents();


*はじめにお読み下さい。 [#i70f2750]
-できるだけ分かりやすい(←検索にかかりやすい)タイトルにしましょう。

*解決済み [#r8560e4f]
**Global Resourcesを変更時に、ブートコード(boot code)が大きくなり、memory area conflictになった場合の対処法 [#zc20cf82]
Global Resourcesを変更した場合、以下のようなエラーが出る場合がある。
#ref(memory_access_error_kondo.JPG);

エラーをクリックすると、overlap.txtが表示される。
 This linker error implies there is a memory area conflict. This is typically seen when 
 an absolute code area has grown into a relocatable memory area. The most common symptom 
 for this error comes from the growth of the boot code, due to global parameter changes, 
 encroaching into the start of relocatable code.  In this case, you can increase the start 
 of the relocatable start address by changing the value of the address in the 
 Project >> Settings... >> Linker dialog.

どうやらブートコードが大きくなり、メモリの衝突が起きた、ということのようだ。

この辺を参考元を参考にしながら、
Project >> Settings... >> Linker dialogの
Relocatable code startの値を150→152に変更した。
#ref(memory_access_error_kondo2.JPG);

これで解決。

Thanks!
参考元:リンカー、テイラー、ソルジャー、スパイ::PSoC
http://edycube.blog2.fc2.com/blog-entry-209.html

*未解決 [#zdd587fc]


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS