Dear Sir,
We are using Kinetis Kwikstik Board Using KDS.I write program to high on one pin of microcontroller Mk40Dx256Zxxx10.Build OK.But Not able flash that code. On console there is "
SEGGER J-Link GDB Server V4.88a - Terminal output channel
Connection closed by the GDB server."
and one warning "
Description | Resource | Path | Location | Type |
Breakpoint attribute problem: installation failed | main.c | /start_4/Sources | 48 | C/C++ Breakpoint Problem |
"
But i didnt add any break points.It stuck somewhere.The pin i programmed not become high.i dont know what to do next .Thank for ur support
Hi Lijo,
I recommend you firstly create a simple project , then build and debug.
And be sure the debug configration is correct :
if it still can't debug, you can send your project to me , i will test on my side.
Best regards
Alice
Hi LIjo,
After I check your "start_2" project , I only change here :
then , i can debug and run . It work well .
So , your project has no problem .
Some suggestion :
1) Please Link this USB on board
2) only set one breakpoint like me .
Look at whether it can stop at the breakpoint.
Alice
Dear Sir
The debugging mode is working .But I cant RUN and flash.may be some setting problem or not I don’t know.The error is that Lauching test_2 debug has encountered problem
Details
Error starting process.
Cannot run program "F:\hart\workspace\test_2\Debug\test_2.elf": Launching failed
Cannot run program "F:\hart\workspace\test_2\Debug\test_2.elf": Launching failed
Cannot run program "F:\hart\workspace\test_2\Debug\test_2.elf": Launching failed
Hi LIjo,
Please attachment how do you flash the " start_2 "step by step ( it better use screenshot ), then I can reproduce the error.
Alice
Hi Lijo,
Your attach configuration is the same withe me , and it can run on my side.
Restart your kds , restart the board , then test.
I confuse sth.
1) when set a breakpiont as I said above, does it can run and stop the breakpoint ?
2) "The PIN configured as output goes high" what is mean ? which PIN ?
Alice
Hi, Lijo
Are you still having the same problem?
Regards
Patricia
Dear Sir,
After flash elf file, I think it stuck at Initclock .The same code working using codewarrior Development studio.But using KDE it not works .
The running code I loaded using codewarrior is erased when flashed using kde but code not running.and on console says that GDB closed TCP/IP connection
Dear Sir,
I attached two projects.One with using processor expert.One problem found using this kit is that, from Usb cable it cannot take power .So we externally supply 5V to this pin .actually I think that it is flashed ,but may be some internally interrupt causes to stuck somewhere in loop.Thank you for your response