EmbDev.net

Forum: ARM programming with GCC/GNU tools USB-CDC code not working in KEIL


von Nanju M. (nanjooh)


Attached files:

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

von Martin T. (mthomas) (Moderator)


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.

von Kris R. (2gatunek)


Rate this post
useful
not useful
Do you resolve your problem ?

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.