Skip to content

Add flash status including writing address, speed, progress and left time#25

Open
young-mu wants to merge 4 commits intoutzig:masterfrom
young-mu:master
Open

Add flash status including writing address, speed, progress and left time#25
young-mu wants to merge 4 commits intoutzig:masterfrom
young-mu:master

Conversation

@young-mu
Copy link
Copy Markdown

@young-mu young-mu commented Nov 10, 2016

The status are shown below when flashing,

example 1.

flash start address 0x0 (0K)
ICDI version: 12245
writing: 0x5d000, speed: 9.88KB/s, progress: 100.00%, ETA: 0.00s

example 2.

flash start address 0x7D000 (500K)
ICDI version: 12245
writing: 0x88400, speed: 9.86KB/s, progress: 100.00%, ETA: 0.00s

@utzig
Copy link
Copy Markdown
Owner

utzig commented Nov 17, 2016

Please fix the indentation, you seem to be using spaces instead of tabs. Also to maintain consistency, variables should be declared at the beginning of functions (not C99).

@young-mu
Copy link
Copy Markdown
Author

OK, please check the updated codes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants