Skip to main content
imtiaz
Associate III
December 6, 2016
Solved

STM32F7 EVAL Boot mode

  • December 6, 2016
  • 16 replies
  • 2932 views
Posted on December 06, 2016 at 02:50

Hi,

I am trying to put the STM32F769i_EVAL into system BOOT mode. I can do this successfully with an F429 Eval but not with the F7 Eval. I can see that when I reset it the normal program does not run , indicating that Bot mode has been entered , but it does not respond to the 0x7f (connect ) command.

I've tried with both my own known working software loader and the ST flash loader. I am using UART 1 which is otherwise working. Ive tries various baudrates down to 9600.

I am pulling up the Boot pin JP1 directly to VDD and resetting the board.

Many Thanks

Imtiaz

#stm32f7-boot-mode
This topic has been closed for replies.
Best answer by Nesrine M_O
Posted on December 23, 2016 at 16:10

Hi

abdullah.abdullah

‌,

  • I recommend you to remove the R124 from your evaluation board then try the test.
  • keep us informed about the result

-Nesrine-

Ifmy suggestanswers your question, please mark it as correct.

16 replies

Tesla DeLorean
Guru
December 6, 2016
Posted on December 06, 2016 at 04:02

With USB attached does it come up in Windows as an STM32 DFU device?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
imtiaz
imtiazAuthor
Associate III
December 6, 2016
Posted on December 06, 2016 at 19:01

Hi Clive,

Thank you .Thats a good point. Its not coming up as DFU Device. So All I'm doing is connecting JP1 (BL_BOOT) to 3V3 , resetting the board. I've tried all three USB OTG ports on the Dev Board. Im using the STM32F769I_EVAL. 

Ive also connected it to ST Link utilty and checked that Level 2 protection is not ON in the option bytes. Im a bit stumped as to why it doesnt work. As mentioned befor normal operation ceases indicating it has entered boot mode but it doesnt play ball after that.

Any more pointers to debug issue will be appreciated.

Thanks

Imtiaz

Tesla DeLorean
Guru
December 6, 2016
Posted on December 06, 2016 at 19:55

I don't have an EVAL series board, my F7's are DISCO and NUCLEO. Doesn't seem like it is getting into the system loader. I'd perhaps tinker with the debugger to see if I can break execution and see where it is.

I will have to review docs to see if there is another jumper or solder-bridge.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
imtiaz
imtiazAuthor
Associate III
December 6, 2016
Posted on December 06, 2016 at 20:30

 Do you mean debug the  system bootloader? I didnt think that would be possible ? How do I do that? 

Tried with F769 Discovery and have the same issue - On the Disco though its not as straight forward as you have to short out R19 which is under the display - its easy enough though. But it doesn't enumerate as a DFU nor work over UART.

imtiaz
imtiazAuthor
Associate III
December 7, 2016
Posted on December 07, 2016 at 22:34

Hi Clive,

Will you be looking any further into this or do I need to contact ST . Our hardware is being laid out so I need confirmation the boot strategy will work

Thanks

Imtiaz 

Tesla DeLorean
Guru
December 7, 2016
Posted on December 07, 2016 at 22:51

Not really something I can throw resources at.

The ST-LINK Utilities has basic debug capabilities via Target -> MCU Core , ie RUN, HALT and STEP

Keil or IAR should be able to debug/step into anything the processor can execute, you won't get source level debugging in the ROM, but you should be able to step around, and review against a disassembly listing.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
imtiaz
imtiazAuthor
Associate III
December 7, 2016
Posted on December 07, 2016 at 23:32

OK thanks Clive. I'll see what I can find out. Quite frustrating though as

it is basic chip functionality.

Thanks

Imtiaz

ST Renegade
Associate
December 8, 2016
Posted on December 08, 2016 at 10:35

Have you checked your option bytes? The F7 has two bits influencing the boot mode. Also you can configure the address where to start after reset etc. Check the reference manual for details of those bits, this can also cause you an issue.

Renegade

John Lee_O
Visitor II
December 21, 2016
Posted on December 21, 2016 at 03:27

I've tested also on the F769I-DISCO. The sysboot was not able to be activated by boot0 pin.

So I tried to jump to sysboot region from app fw and confirmed that the DFU had attached to host PC.

I'll come back here if I resolve this issue.

imtiaz
imtiazAuthor
Associate III
December 21, 2016
Posted on December 21, 2016 at 03:33

Hi John,

Thanks for that . I am awaiting reply from ST who have got to the same conclusion as you have. I am hoping the issue is only to do with the dev boards rather than the F7 chip itself. Possibly the pin is not getting to the right voltage level or something.

Thanks

Imtiaz

Nesrine M_O
Nesrine M_OBest answer
Associate
December 23, 2016
Posted on December 23, 2016 at 16:10

Hi

abdullah.abdullah

‌,

  • I recommend you to remove the R124 from your evaluation board then try the test.
  • keep us informed about the result

-Nesrine-

Ifmy suggestanswers your question, please mark it as correct.

imtiaz
imtiazAuthor
Associate III
January 8, 2017
Posted on January 08, 2017 at 21:15

Hi ,

Yes removing R124 from the Eval board fixes the issue , both the DFU and Uart can now access the bootloader. 

The Flash Loader Demonstrator utility however does not recognose the device - so I could'nt test reprogramming.

Is there a similar resistor to remove on the Discovery board?

Thanks

Imtaz

Tesla DeLorean
Guru
January 9, 2017
Posted on January 09, 2017 at 03:50

The PA5 ULPI_CK pin on the STM32F769I-DISCO can't be disconnected.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
imtiaz
imtiazAuthor
Associate III
January 9, 2017
Posted on January 09, 2017 at 04:08

Hi,

An explanation of  why disconnecting R124 fixes the issue on the EVAL would be beneficial. 

Tesla DeLorean
Guru
January 9, 2017
Posted on January 09, 2017 at 05:18

Does anyone of the UPLI pins show up on the list of signals the System Loader is monitoring? PA5 doesn't appear inherently useful in this regard, SPI1/SPI6 clock perhaps?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..