From ad151fdca83aa2ea4dfd4f77a27507c9fc53f5d6 Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Mon, 15 Apr 2013 16:21:58 +0200 Subject: F4 Discovery: - Unconditionally use the System Bootloader - Use PC2/4/5/6 Pins for JTAG/SWD to avoid collision with eventual STLink Uart connection - Indicate Bootloader with blue LED --- src/platforms/f4discovery/Readme | 35 +++++++++++++++++++++++------------ 1 file changed, 23 insertions(+), 12 deletions(-) (limited to 'src/platforms/f4discovery/Readme') diff --git a/src/platforms/f4discovery/Readme b/src/platforms/f4discovery/Readme index 6035917..9bc1557 100644 --- a/src/platforms/f4discovery/Readme +++ b/src/platforms/f4discovery/Readme @@ -1,17 +1,28 @@ -Application start address: -========================= +System vs BMP Bootloader +======================== +For the BMP bootloader, flashing qas not reliable. So we use the system +bootloder unconditional. -Use 0x8010000 -- lower 3 16 k pages may be used for parameter storage -- Erasing a single 64 k Page is faster then erasing 2 16 k Pages - eventual the 64 k page +Connections: +==================== +PA0: User button to force system bootloader entry with reset +PA2/PA3 eventual connected to the STLINK/ STM32F103C8 -Internal boot loader: -==================== +PC2: TDI +PC4: TMS/SWDIO +PC5: TCK/SWCLK +PC6: TDO/TRACESWO + +PC1: TRST +PC8: SRST -When we request invokation of a bootloader from inside the application, -we boot the device internal bootloader with the blue botton pressed. +Blue Led: Indicator that system bootloader is entered via BMP -That way, we can easy exchange the custom bootloader via the device -internale bootloader \ No newline at end of file +Bootstrapping the F4Discovery on-board ST-Link +============================================== +http://embdev.net/articles/STM_Discovery_as_Black_Magic_Probe has some hints +how to modify the F4Discovery on-board ST-Link. If you try to do so and hit +a problem that stands some test like that you load the right firmware to the +right device via the right BMP probe, explain, report and ask on the +blackmagic mailing list http://sourceforge.net/mail/?group_id=407419. -- cgit v1.2.3