Loading speed on AtmelICE #94
Replies: 4 comments 1 reply
-
Could you please enable debug logging and send me the log output of a debug session where you run the To enable debug logging, just set debugLogging: true
environments:
... Does Atmel Studio upload faster? To what extent? Does your ELF contain EEPROM sections? IIRC, writing EEPROM is quite slow on debugWire targets, so that could be the problem. What's the size of the program you're uploading? Are you using any IDE like CLion? Is it restarting Bloom for every debug session? If so, it could be startup/shutdown times that are slowing things down. I raised this with Jetbrains a few weeks back. |
Beta Was this translation helpful? Give feedback.
-
Sorry to take so long, I've done some testing, removed the eeprom section which made little difference. My program is about20KB, quite modest. The bloom log is attached. |
Beta Was this translation helpful? Give feedback.
-
The target was an 8MHz 328P.I can confirm that loading similar size programs to the same target running at 16MHz takes a few seconds, not over 30 secs. |
Beta Was this translation helpful? Give feedback.
-
In v2.0.0, I have introduced support for delta programming, where Bloom, during a programming session, will compare the new program with the program memory cache to identify regions of memory that have changed, and then reduce the upload to only the changed regions. If the binary hasn't changed much, this could significantly improve programming speeds. Delta programming is supported on AVR UPDI, debugWIRE and RISC-V targets. I'm closing this discussion now, as there is no more that I'm willing to do on this issue. |
Beta Was this translation helpful? Give feedback.
-
Bloom works well, and has let me retire my Windows laptop as the only reason I had it was for Atmel Studio debugging. But I'm using the Mega328P on DebugWire, and the upload speed is very slow. Is there any way of speeding it up a bit?
Tom
Beta Was this translation helpful? Give feedback.
All reactions