Build error in PSoC Designer Ver5.0

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

cross mob
hata_3396041
Level 4
Level 4
First solution authored First like received 50 questions asked

Hello

Is it possible to answer this question by tomorrow?

Previously, as a way to update from PSoC Designer Ver4.4 to the latest Ver5.4, you showed me how to create with Ver5.0 as shown in the thread below.

https://community.cypress.com/t5/PSoC-5-3-1-MCU/Migrating-to-the-latest-version-of-PSoC-Designer/m-p...

When I tried to build a project created with Ver4.4 with Ver5.0 according to the procedure, the following error occurred.

 

Starting MAKE...

creating project.mk

lib/counter16_1.asm

lib/counter16_1int.asm

lib/i2chw_1common.asm

lib/i2chw_1int.asm

lib/i2chw_1rsrcinits.asm

lib/psocconfig.asm

lib/psocconfigtbl.asm

./boot.asm

./main.c

Linking..

!ERROR file 'main.o': undefined symbol 'FPCSCR'

C:\PROGRA~2\Cypress\Common\CYPRES~3\tools\make: *** [output/cyr2r_41.rom] Error 1

 

FPCSCR is only used in Main.c as follows.
M8C_ClearWDTAndSleep;
asm ("mov A, [FPCSCR]");
asm ("mov [_FpcStatus], A");

In v4.4 main.o, the output was as follows.
S FPCSCR Ref0000

〇Is there a solution to this problem?

 

Best Regards

Haya

0 Likes
1 Reply
SampathS_11
Moderator
Moderator
Moderator
250 sign-ins 250 solutions authored 5 questions asked

Hello @hata_3396041 ,

Can you kindly attach the project, so that I can review the same?

Best regards,

Sampath Selvaraj

0 Likes