Search Results

Search results 1-11 of 11.

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Hi Fabian Thanks, I need to do more tests on different uCs to better understand why I get these results. Thanks for your feedback for the moment. Kind regards Peter

  • Hi I have the following: SEGGER_RTT_printf(0, "midnight_tick: last: %u, now: %u\r\n", last, now); SEGGER_RTT_printf(0, "midnight_tick: now: %u, last: %u\r\n", now, last); This prints: midnight_tick: last: 10957, now: 0 midnight_tick: now: 10957, last: 0 Note that the second argument is always printed as 0 but none of the args is 0. There is no concurrency involved, the arguments last and now dont change between the two calls. Sorry, if I am missing something trivial ... Kind regards Peter

  • Thanks Fabian This is exactly what I meant with "simpler way", sorry for the roundabout nature of my question. I didn't realize that you can continue to do loadbin ... without a prior connect. Kind regards Peter

  • Hi Fabian I apologize if my wording is not precise, I am new to this field. Yes, with "uploading the firmware" I mean programming the device. And I am using JLinkExe on Linux to do this with a JLink plus compact. What I am doing is a kind of unit testing: - compile and build the test ( I use platform.io and VSCode) - upload the binary with the following commands: =================== > /usr/bin/JLinkExe -NoGui 1 -CommandFile ./upload.jlink > cat ./upload.jlink device ATSAMD21G18A si SWD speed 400…

  • Thank you Fabian Yes, this answers my question, great ! Kind regards Peter

  • Hi Alex The optimal way for me would me: - upload the firmware - while doing so, start the telnet server - disconnect from the target, but keep the telnet server open - let me connect to the telnet server to interact with the target (testing) - let me upload firmware again, without stopping the telnet server. maybe this is something that could be achieved with your SDK ? Kind regards Peter

  • Hi Following up on a previous thread with the same title, I have the following scenario: I have a telnet client in order to collect RTT output for unit testing. In order to open the JLink telnet server, as I understand it, I first need to create the server, for example by connecting to the target first: JLinkExe -NoGui 1 -CommandFile ./connect.jlink Source Code (5 lines) This connecdts to target and keeps the connection open. I then run commands likes this: JLinkExe -NoGui 1 -CommandFile ./test_…

  • Hi , I have the following script: Source Code (9 lines) which I run like so: JLinkExe -NoGui 1 -CommandFile ./myupload.jlink As you can see, I disabled the compare step, and I would like now to disable also the erase step ( to speed up the operation). How can this be done ? Kind regards Peter

  • Hi Frank Thanks for the info, that makes sense. I guess my requirements are less severe than yours. Anyway, good to to know how it's done by the experts. Thanks a lot Kind regards Peter

  • Hi Frank Thanks for the suggestions. In fact, yes, I am aware that dual target testing is not fully feasible with basic tools. However, the platform.io ecosystem uses the github.com/ThrowTheSwitch/Unity testing framework that allows me to switch between a host and a target configuration. This is simple but nice. Maybe, the SEGGER IDE is not meant to be used in this way ... Kind regards Peter

  • Hi I would like to run unit tests for my native linux apps in the SEGGER Linux IDE. For example with googletests or github.com/ThrowTheSwitch/Unity . The latter , when used in platform.io produces colored output like this: Processing test_host in native environment ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------…