Skip to main content
paulbrown9
Associate III
February 23, 2006
Question

Incompatible USB and Standard Libraries

  • February 23, 2006
  • 4 replies
  • 977 views
Posted on February 23, 2006 at 08:31

Incompatible USB and Standard Libraries

This topic has been closed for replies.

4 replies

paulbrown9
Associate III
March 1, 2005
Posted on March 01, 2005 at 10:30

The header files used for the USB examples are different to those used in the standard libraries examples, for example most of the registers in the 71x_map.h files are different. This makes using an additional standard library function in a usb application very difficult. Are these libraries going to be standardised at any time and if so when.

P.

sjo
Associate III
March 1, 2005
Posted on March 01, 2005 at 10:53

I have found you only have to make one change to work with the newer str7lib headers.

In usbinit.c chage to SetCNTR(0x0003); instead of USB->CNTR_ = 0x0003;

Regards

sjo

hichem2
Associate
March 1, 2005
Posted on March 01, 2005 at 11:14

Hi ReservoirGerbils,

Yes you are right, the USB library was developed using the old STR71x library version (V1.0).

It will be updated soon.

With regards,

Hich. ;)

shangdawei1
Associate III
February 23, 2006
Posted on February 23, 2006 at 08:31

Quote:

On 01-03-2005 at 15:44, Anonymous wrote:

Hi ReservoirGerbils,

Yes you are right, the USB library was developed using the old STR71x library version (V1.0).

It will be updated soon.

With regards,

Hich. ;)

When will it be updated ?