When I modify the code in the "Generate Code" dir. The IDE will erase my modification, I would like to edit the code use my favorite editor and compile the code in the command line. it finally generate an *.elf. Is there any utility to use this elf to start debug and program the chip?
You can disable code generation, see Disable my Code Generation | MCU on Eclipse
I hope this helps,
Erich
HI Wu,
elf file includes burning code, so you can use it directly to program flash. But you can't modify it if you don't have source code.
Here is an article tell you how to program elf/s19 with CW simple flash.
Standalone Flash Programmer | MCU on Eclipse
Does this answer your question?
.
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Sorry, did you forget to add a superlink in "Here" in your sentense. I can't click on "Here" to link to the article.
Hi Wu,
I just added it. Hope this helps.
Jennie
It helps, yes, now i have my own development environment, editor, compilier, uart debug, the last, programmer.
Thanks a lot.
you are welcome.
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------