SD Card with KE02

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,419件の閲覧回数
paolocolombo
Contributor III

Hi to all,

I've a small project with KE02 and SD Card on SPI peripheral, without SO.

I use Fat_FileSystem bean that uses SD card beans and others.

When I build the project I've some errors, in SD1.c file.
you can see

Description Resource Path Location Type

'SM1_DeviceData' undeclared (first use in this function) SD1.c /PDD/Generated_Code line 461 C/C++ Problem

pastedImage_0.png

Regards,

Paolo Colombo

ラベル(1)
0 件の賞賛
返信
1 解決策
1,215件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hi Paolo,

thinking more about it, I think you missed to select 'auto initialization' in the SM1 component:

pastedImage_0.png

This will create the SM1_DeviceData in the SM1.h header file.

Erich

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,215件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hi Paolo,

Have you configured two speed modes for the SPI?

See http://mcuoneclipse.com/2012/11/18/arduino-data-logger-shield-with-the-frdm-kl25z-board/

I hope this helps,

Erich

1,216件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hi Paolo,

thinking more about it, I think you missed to select 'auto initialization' in the SM1 component:

pastedImage_0.png

This will create the SM1_DeviceData in the SM1.h header file.

Erich

0 件の賞賛
返信