NXP Forums
4
Product Forums
21
General Purpose MicrocontrollersGeneral Purpose Microcontrollers
i.MX Forumsi.MX Forums
QorIQ Processing PlatformsQorIQ Processing Platforms
Identification and SecurityIdentification and Security
Power ManagementPower Management
MCX Microcontrollers
S32G
S32K
S32V
MPC5xxx
Other NXP Products
Wireless Connectivity
S12 / MagniV Microcontrollers
Powertrain and Electrification Analog Drivers
Sensors
Vybrid Processors
Digital Signal Controllers
8-bit Microcontrollers
ColdFire/68K Microcontrollers and Processors
PowerQUICC Processors
OSBDM and TBDML
Solution Forums
3
Smart Home
Power & Energy
Mobile Robotics
Software Forums
16
MCUXpresso Software and ToolsMCUXpresso Software and Tools
CodeWarriorCodeWarrior
MQX Software SolutionsMQX Software Solutions
Model-Based Design Toolbox (MBDT)Model-Based Design Toolbox (MBDT)
FreeMASTER
eIQ Machine Learning Software
Embedded Software and Tools Clinic
S32 SDK
S32 Design Studio
Vigiles
GUI Guider
Zephyr Project
Voice Technology
Application Software Packs
Secure Provisioning SDK (SPSDK)
Processor Expert Software
Topics
8
Mobile Robotics - Drones and RoversMobile Robotics - Drones and Rovers
NXP Training ContentNXP Training Content
University ProgramsUniversity Programs
Rapid IoT
NXP Designs
SafeAssure-Community
OSS Security & Maintenance
Using Our Community
Ideas
Blogs
NXP Forums
Ideas
Blog
NXP.COM
Sign In
FAQs
Language
English (US)
日本語 | Japanese
中文 | Chinese (Simplified)
Home
:
General Purpose Microcontrollers
:
LPC Microcontrollers
:
求救!程序一运行就没法调试了
求救!程序一运行就没法调试了
All community
This category
This board
Knowledge base
Users
Products
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show
only
|
Search instead for
Did you mean:
Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
求救!程序一运行就没法调试了
06-15-2016
11:23 AM
467 Views
lpcware
NXP Employee
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
Content originally posted in LPCWare by register on Sat Dec 08 01:47:07 CST 2012
我一不小心把调试脚SWCLK的功能给改了,结果没法单步调试了,甚至连使用J-Link或ULINK都没法连接了,急啊,有什么办法可以救吗?
Labels
(1)
Labels
Labels:
中国用户论坛
0
Kudos
Reply
All forum topics
Previous Topic
Next Topic
2 Replies
06-15-2016
11:23 AM
460 Views
lpcware
NXP Employee
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
Content originally posted in LPCWare by register on Thu Dec 13 19:16:09 CST 2012
多谢楼上!已经解决了。我用ISP把程序擦除后就可以再调试了。
后来,我想到一个土办法:在调试时,把一个必需的小函数放到RAM中(通过.sct文件),并且使用调试.ini文件加载它(直接写到RAM),但是烧写到flash中的映像却不包含这个必需小函数,导致程序只有调试时才能运行。这样哪怕程序有错也不怕啦!
0
Kudos
Reply
06-15-2016
11:23 AM
460 Views
lpcware
NXP Employee
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
Content originally posted in LPCWare by Irving on Sun Dec 09 21:38:00 CST 2012
你好,可以试试用Flash magic软件,使用ISP功能把程序Flash清掉,下次做这些调试的时候最好加个判断(按键之类)恢复SWCLK功能
0
Kudos
Reply
Post Reply
Preview
Exit Preview
never-displayed
You must be signed in to add attachments
never-displayed
Additional options
Associated Products
You do not have permission to remove this product association.