- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
YS,
Please ensure your Project's Build Settings is set to create the MAP file and LST file.
You can see MAP and LST files in the Results tab of the Workspace Explorer
For example, you can see where is the main() function on the Flash in the MAP file as follows.
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.
In my case, the UART_PutString() function is called from 0x00000088+0x001e=0x000000a6
Regards,
Noriaki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
YS,
Please ensure your Project's Build Settings is set to create the MAP file and LST file.
You can see MAP and LST files in the Results tab of the Workspace Explorer
For example, you can see where is the main() function on the Flash in the MAP file as follows.
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.
In my case, the UART_PutString() function is called from 0x00000088+0x001e=0x000000a6
Regards,
Noriaki