Hi, NXP Experts!
I just write a project of flexcan0. It can receive a can messae whose CANID is 0x20. it works well when the PFlash start address is 0x00400000. but it cannot receive the 0x20 Can Message after I changed the PFlash start address to 0x00600000. In addition, I cannot debug the project any more after the PFlash start address changed. when I pressed the debug button, a new window appeared and said "Break at address "0x0" with no debug information available, or outside of program code."
Would you give a hand on these issues?
Thank you very much in advance!
Thank you very much for your rapid reply. I am not familiar with S32DS configuration. I also want to know where and how to config the debug settings in S32DS. Although I set the PC(shown in the first picture, I'm not sure whether it's right or not.), it does not work. Would please tell me how to config the S32DS on the issues above or give me some information?
Hello,
For S32DS HOWTO guides you can refer to the link below:
https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/S32DS-list-of-HOWTOs/ta-p/1113475
Here you can find step by step for setup of debug and debugging itself.
Setting PC, have no effect at your case. As you need micro to boot from that address after reset. PC will be automatically set at first instruction after reset.
Best regards,
Peter
Hi, Peter
I am confused with S32DS debug configuration. but everything goes well after I use a PEMicro Interface Debugger.
Thank you very much for your kind help.
Best regards!
JLLRW
Hello,
I have tested your SW here on EVB board.
I see no issue starting at 0x600000 address as it is valid bootable address.
I also see the SW is working fine in debug mode. I can reach the TestDelay funciton.
Also after reset it works with no exceptions.
I would not suspect the code itself. There must be something wrong with your debug settings in S32DS.
Best regards,
Peter