USB-CDC code not working in KEIL

OP #1173438
Rate this post
useful
not useful
Hi friends,

I am working in the KEIL uvision3 (Real view) tool.
Right now i am working in the USB-CDC programming for the AT91SAM7SE512
processor.

I have a example source code for AT91SAM7S64 processor in IAR workbench
tool.
Downloaded from
http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects/index_at91.html
.This IAR code is working very well.
I want to  covert  the code from IAR  to keil tool for AT91SAM7SE512
processor.

The Problem is

1. when i connect the device to the host ( PC ),  I am getting the
message "USB device is not recognized".

2. can I include any files to this?

I have included the source code for your reference.

Could you please  advice me on this.


With Regards & Thanks,
Murthy.R
Attached files:
Moderator #1173439
Rate this post
useful
not useful
This might be a problem with struct-packaging. Did you check this? AFAIK
the Realview-compiler has a pragma to enable/disable packaging. There
are also USB examples included in the Keil-package (at least in an older
eval-version I have here) where you can see how the packaging can be
handled.

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now