USB virtual com linker-problem (MCF52259 ColdFire)

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

USB virtual com linker-problem (MCF52259 ColdFire)

972件の閲覧回数
kleckerspur
Contributor III

Hallo,

I always get link errors while compiling the usb-virtual_com example for devices from mqx.

I tried switching the DELAYED_PROCESSING flag, but the the linker-error still exist.

I am using the twrmcf52259.cw10 project. It once worked and the virtual-port was detected by the pc.

Sending single data in the loopback worked fine.

I tried it later on without any modifications and I got linker problems. I also intalled the mqx 4.1 lib again.

I am using

     -CodeWarrior for MCU

       Version: 10.5

       Build Id:130916

     -CodeWarrior MQX 4.1 Plug-ins

     -µC:MCF52259 ColdFire

Thx,

tonies

0 件の賞賛
返信
2 返答(返信)

695件の閲覧回数
kleckerspur
Contributor III

After some time I found the failure, I had to recompile the MQX-funcions and afterwards compiling and linking worked fine, if I change the DELAYED_PROCESSING flag to zero.

Unfortunately the Device could not be detected by the PC.

Do I have to set the DELAYED_PROCESSING flag ?

0 件の賞賛
返信

695件の閲覧回数
soledad
NXP Employee
NXP Employee

Hi,

DELAYED_PROCESSING: is used to control the request process flow. If it is 1, the request from Host will not be handled in USB stack first time, it will be handled in application with some delay.

So this define is used to delay the control processing and not have it executed as part of the interrupt routine.

So if you are having linking problems would be related to the way it is define the Interrupt vector

I think would be very valuable if you post an image of the linking error that you are having.

Regards

Sol

0 件の賞賛
返信