I want to use cy7c68013+max3421E(host) +oled to receive the data of USB scanner and oled display

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

cross mob
brzh_4088906
Level 2
Level 2
10 replies posted 5 replies posted First question asked

1.Can CY7C68013A receive USB scanner data and OLED display via Max3421E (host)?

2.Attached is the associated code of Max 3421e with integration.

3.But when I try to  integrate the max3421e code ,, there are always the following problems:

          Build target 'Target 1'

          compiling FW.C...

          compiling VEND_AX.C...

          assembling DSCR.A51...

          compiling isr.c...

          compiling FX2LPSerial.c...

          linking...

          *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS

         SEGMENT: ?PR?_NEWINTRANSFER?VEND_AX

          *** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS

         SEGMENT: ?PR?_FX2LPSERIAL_XMITHEX4?FX2LPSERIAL

          *** WARNING L15: MULTIPLE CALL TO SEGMENT

         SEGMENT: ?PR?_WREG?VEND_AX

         CALLER1: ?PR?ISR_EXTR5?ISR

         CALLER2: ?C_C51STARTUP

          *** WARNING L15: MULTIPLE CALL TO SEGMENT

         SEGMENT: ?PR?_RREG?VEND_AX

         CALLER1: ?PR?ISR_EXTR5?ISR

         CALLER2: ?C_C51STARTUP

     *** ERROR L107: ADDRESS SPACE OVERFLOW

         SPACE:   DATA   

         SEGMENT: _DATA_GROUP_

         LENGTH:  0072H

          Program Size: data=227.6 xdata=4476 code=7649

          Target not created

0 Likes
1 Solution

Hello,

The code size is exceeding the limit i.e. 1000 Bytes, but the project is exceeding the limit. Please remove the unwanted code from the project.

Can you please let me know how you are using SPI to communicate to the peripheral devices like the OLED display, as FX2LP does not have a separate SPI unit. Are you bit banging on the GPIOs or using UART as SPI?

Best Regards,

Yatheesh

View solution in original post

0 Likes
3 Replies
YatheeshD_36
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello,

Please share the block diagram of your application with us for a clear understanding.

Are you adding the Max 3421e code into the FX2LP firmware?

The data field in the Program Size should not exceed 128.

Best Regards,

Yatheesh

0 Likes

Hi YatheeshK_36

    Thank you for your reply!

    1.the attachments(Vend_ax.zip) is my project code

    2.the attachments(block_1.png) is my block

I'm looking forward your help

Thanks

Brack

pastedImage_0.png

0 Likes

Hello,

The code size is exceeding the limit i.e. 1000 Bytes, but the project is exceeding the limit. Please remove the unwanted code from the project.

Can you please let me know how you are using SPI to communicate to the peripheral devices like the OLED display, as FX2LP does not have a separate SPI unit. Are you bit banging on the GPIOs or using UART as SPI?

Best Regards,

Yatheesh

0 Likes