-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Hello
I have trouble with upload. Debug work fine, but when I upload, platformio tell me is ok, but firmware doesn't launch after jlink reset the board.
Downloading file [.pio/build/frdm_k20d50m/firmware.bin]...
Comparing flash [100%] Done.
Erasing flash [100%] Done.
Programming flash [100%] Done.
Verifying flash [100%] Done.
J-Link: Flash download: Bank 0 @ 0x00000000: 2 ranges affected (32768 bytes)
J-Link: Flash download: Total time needed: 1.165s (Prepare: 0.041s, Compare: 0.034s, Erase: 0.221s, Program: 0.857s, Verify: 0.003s, Restore: 0.006s)
O.K.
Reset delay: 0 ms
Reset type NORMAL: Resets core & peripherals via SYSRESETREQ & VECTRESET bit.
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
AfterResetTarget()
Script processing completed.
====== [SUCCESS] Took 23.15 seconds ======================
Terminal will be reused by tasks, press any key to close it.
here is my platformio.ini
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:frdm_k20d50m]
platform = freescalekinetis
board = frdm_k20d50m
framework = mbed
debug_tool = jlink
; SWD interface
upload_protocol = jlink
; JTAG interface
;upload_protocol = cmsis-dap
with kinetis studio, no trouble.
Thanks a lot
Metadata
Metadata
Assignees
Labels
No labels