EMI/EMC for 5329EVB and LTIB

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

EMI/EMC for 5329EVB and LTIB

1,392件の閲覧回数
jpa
Contributor IV
In case this helps the next guy...
(this is only my opinion, your mileage may vary, etc)

The PSTCLK on the BDM connector may be a significant source of emissions at 120MHz (half the CPU clock) and it's harmonics.  To turn this off in your shipping product (because turning it off earlier disables BDM debugging), you can execute the supervisor instruction WDEBUG, setting the proper bit in the CSR. 

If you're using uCLinux and the LTIB, there's a convenient flag that can be set under kernel configuration, kernel hacking, to set CONFIG_BDM_DISABLE.  It seems like this was intended to enable a bit of code in arch/m68knommu/platform/532x/config.c that will execute the proper WDEBUG command for you.  The catch is that it seems as if somewhere along the lines, this used to be called MCF_BDM_DISABLE (in the version of the LTIB that I'm using...kernel 2.6.17.1).  So to make the kernel configuration flag work, rename MCF_BDM_DISABLE to CONFIG_BDM_DISABLE in config.c, and rebuild the kernel.  Voila! you've got a kernel configuration flag that you can set on your shipping code, and clear when you need to debug using the BDM.

Hope this helps...

jpa

ラベル(1)
0 件の賞賛
返信
1 返信

700件の閲覧回数
mwaddel
Contributor I
Thanks for pointing this out.  I'll make sure this gets added to future
uClinux releases.  Very helpful post.

Regards,
Matt
0 件の賞賛
返信