Skip to content

Conversation

@Chimstaz
Copy link
Collaborator

This patchset improves JTAG performance and erase speed on STM32F4xx. I have tested it on the board.

Current implementation doesn't need delay, because code it self need
1 micro second per TCK cycle. This gives 1 MHz so it is correct for
targets with 6 MHz CPU clocks and faster.

This patch add special delay routine when TCKWAIT is 0. If TCKWAIT is
non zero it is interpreted as delay in microseconds. This way it is easy
to set longer TCK cycle if needed.
When small binary file is loaded, only part of flash could be erased.
This feature speed up flash time. It is added only for files smaller
than 512 kb, because this doesn't add much of complexity to erase
routine.
@Chimstaz Chimstaz mentioned this pull request Nov 12, 2018
@maxiwoj maxiwoj merged commit 5f2ed1b into master Nov 13, 2018
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.

3 participants