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

PSoC™ 5, 3 & 1

LeYu_281131
Level 3
Level 3

Hi My name is YS

and I have a problem with PSoC5LP(marking as CY8C5668AXI-LP034 1425 A 04 624499)

I am using PSoC5LP for a while, everything was perfect for me.

but Yesterday, my PSoC5LP seems to be does not work.

my application not working even UART communication.

so, I attach "Miniprog3" to debug, and suddenly my application work.

I tried another way, press "Reset Button", and my application work.

once PSoC5LP working, every function is working befere Power Off.

BootLoader also working.

but It is not right answer, Press "Reset" button every Power on situation.

I tried to debug with "attach to Runnning Target" and got some data

but I have no idea, what happened and how to debug.

therefore, I shared my problem in this community

Please, give any comment for it.

Thank you.does not work.PNG

0 Likes
1 Solution
NoriakiT_91
Employee
100 likes received 50 likes received 25 likes received
Employee

YS,

Please ensure your Project's Build Settings is set to create the MAP file and LST file.

GS004727.png

GS004728.png

You can see MAP and LST files in the Results tab of the Workspace Explorer

GS004724.png

For example, you can see where is the main() function on the Flash in the MAP file as follows.

GS004729.png

In this case, main() function starts at 0x00000088.  At first, please find what is located at the address 0x0000113A using the MAP file.

After that, refer the LST file to find the location of 0x0000113A.  Please note that the addresses in the LST file are relative addresses from the starting address described in the MAP file.

GS004730.png

In my case, the UART_PutString() function is called from 0x00000088+0x001e=0x000000a6

Regards,

Noriaki

View solution in original post

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

YS,

It was assumed from your screen shot that the Bootloadable (Application) starts from 0x1E00.

The Program Counter (pc) register indicates that CPU is running at 0x113A somewhere in the Bootloader.

Please show the Bootloader disassembly list at 0x113A to specify what is happen to the Bootloader.

Regards,

Noriaki

0 Likes
LeYu_281131
Level 3
Level 3

Dear Noriaki

Thank you for your advice for my Problem.

Actually, I do not have any experience about disassembly.

Could you give any material, how to get disassembly list?

Regards,

YS

0 Likes
NoriakiT_91
Employee
100 likes received 50 likes received 25 likes received
Employee

YS,

Please ensure your Project's Build Settings is set to create the MAP file and LST file.

GS004727.png

GS004728.png

You can see MAP and LST files in the Results tab of the Workspace Explorer

GS004724.png

For example, you can see where is the main() function on the Flash in the MAP file as follows.

GS004729.png

In this case, main() function starts at 0x00000088.  At first, please find what is located at the address 0x0000113A using the MAP file.

After that, refer the LST file to find the location of 0x0000113A.  Please note that the addresses in the LST file are relative addresses from the starting address described in the MAP file.

GS004730.png

In my case, the UART_PutString() function is called from 0x00000088+0x001e=0x000000a6

Regards,

Noriaki

0 Likes