generated code is missing

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
rasec_2385561
Level 4
Level 4
First like received

If I was working on a project similiar to AN56377 and found that some of the generated code was not getting created what would be the likely culprit ?

The items that are not getting created are:

USBFS_USB__SIE_EP2_CNT0

USBFS_USB__SIE_EP1_CNT0

USBFS_USB__SIE_EP1_CR0

USBFS_USB__ARB_EP2_CFG

USBFS_USB__ARB_EP1_CFG

USBFS_USB__ARB_RW1_DR

They all seem to be in the cyfitter.h file. I included it in the project but it still doesn't build.

Any ideas ?

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

I downloaded you project and tried..

The error I got was "USBFS.h" is not found somehow in the project the name of USB module is assumed to be "USBFS".

So I changed the USBFS component name from "USBFS_1" to "USBFS".

000-USBFS_1.JPG

001-Configure-USBFS.JPG

002-USBFS.JPG

Then I re-generated and tried to compile,

there was a line in main.c with "USBFS_1..." so I changed it to "USBFS..."

>   USBFS_Start(0, USBFS_1_5V_OPERATION);

<   USBFS_Start(0, USBFS_5V_OPERATION);

After these the project could be complied.

moto

View solution in original post

0 Likes
3 Replies
AnkitaS_51
Employee
Employee
100 likes received 50 likes received 25 likes received

Can you please share the project for which you are getting the issue mentioned

0 Likes
lock attach
Attachments are accessible only for community members.

My archived project is attached.

Randy

0 Likes
lock attach
Attachments are accessible only for community members.
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Hi,

I downloaded you project and tried..

The error I got was "USBFS.h" is not found somehow in the project the name of USB module is assumed to be "USBFS".

So I changed the USBFS component name from "USBFS_1" to "USBFS".

000-USBFS_1.JPG

001-Configure-USBFS.JPG

002-USBFS.JPG

Then I re-generated and tried to compile,

there was a line in main.c with "USBFS_1..." so I changed it to "USBFS..."

>   USBFS_Start(0, USBFS_1_5V_OPERATION);

<   USBFS_Start(0, USBFS_5V_OPERATION);

After these the project could be complied.

moto

0 Likes