Hi,
I am using lpc4357 uc. Previously I am using keil4 to write programming and everything is working fine. now I shifted to keil5 and I am trying to load another code but it is showing some errors like Device couldnot be power up, couldnot stop cortex m device. I matched everything in options for target also. but having same issue. Can anyone help me to solve the issue?
What is the result after running our ULINKpro Troubleshooting Guide:
http://www.keil.com/support/man/docs/ulinkpro/ulinkpro_trblguide.htm
These messages may show up when the target microcontroller does not respond on the JTAG/SWD interface. This can be a broken JTAG/SWD cable, but it can also be an application that is running on the target system and that causes bus collisions or switches the core into deep sleep modes. The application could also reprogram the pins used for the JTAG/SWD connection.
Please download one of our standard Blinky examples multiple times and check if you run into the same issues and try to debug this application. You can also play with the different 'Connect' and 'Reset' options in the ULINKpro Settings dialog (https://developer.arm.com/documentation/101416/0100/Setup-ULINKpro/Configure-Cortex-M-Devices/Debug-Driver/Debug?lang=en)You could also try to enable and disable the Debug Description. See https://developer.arm.com/documentation/101416/0100/Setup-ULINKpro/Configure-Cortex-M-Devices/Pack-Options?lang=en
Thanks for your reply. But this thing is not an issue.
Hi Hans,
Thanks for your reply.
In standard blinky example also I am facing the problem.(After successfully downloading the code 2-3 times I am facing the same issue) Since my hardware have 16MHz XTAL so following changes I have done in blinky example before downloading the code to PCB. and Also code have no issue with development board. And In this hardware keil4 ide code is working fine.
#define CLK_XTAL 16000000UL
#define PLL1_MSEL 11
#define PLL0USB_M 15
In different 'connect' and 'reset' option when I have checked already.
In this option I am facing the problem. If I connect option to 'Under reset' I will get following result.
But after this If I again set is with preset It will download but again after 2-3 times same issue.