Co
schon länger dabei
Offline
Posts: 79
Ich liebe dieses Forum!
|
|
option bytes 32H7
« on: 04. March 2019, 14:12:47 »
|
|
Hi,
Just finalized a UI board with an H7 processor. Loaded bootloader and FW with ST-LINK, both loaded and verified OK. However no succesful boot. I suspect option bytes are not correctly set and also deviating from F7 in setting or identification. I searched the forum but did not find anything apart from the option byte settings for the F7. Would appreciate some help on the correct settings for the H7.
Kind regards
Co
|
|
Logged
|
|
|
|
DB4PLE
positron Urgestein
Offline
Posts: 1278
|
|
Re:option bytes 32H7
« Reply #1 on: 04. March 2019, 14:53:46 »
|
|
Hi,
the options bytes have to/should be at their default values.
A cheap ST-LINK V2 clone and "Chip Erase" in STM32 Link utitily should get everything reset and ready to work.It would you also tell that the CPU is working at least to a minimal degree. For the ST-LINK to work you just have to have power applied and to connect PA13/PA14 correctly via the P8 debug header with the ST-LINK USB dongle (and GND, of course).
73 Danilo
|
|
Logged
|
|
|
|
Co
schon länger dabei
Offline
Posts: 79
Ich liebe dieses Forum!
|
|
Re:option bytes 32H7
« Reply #2 on: 04. March 2019, 18:01:44 »
|
|
Hi, Tnx for your answer. As I already said I used STLink to load the H7 with bootloader and firmware, latest version. Both loaded and verified succesfully! Nevertheless the chip does not boot. So I wondered wether the option bytes are correct. E.g BOR level in the F7 should be 3. In the H7 it is 0.
regards
Co
|
|
Logged
|
|
|
|
|
Co
schon länger dabei
Offline
Posts: 79
Ich liebe dieses Forum!
|
|
Re:option bytes 32H7
« Reply #4 on: 04. March 2019, 19:27:54 »
|
|
Hello Thomas,
Thank you. Will try them out. Settings overhere are completely different. Surprised all checkboxes are empty. Will let you know the outcome.
regards
Co
|
|
Logged
|
|
|
|
|
|
Co
schon länger dabei
Offline
Posts: 79
Ich liebe dieses Forum!
|
|
Re:option bytes 32H7
« Reply #7 on: 05. March 2019, 10:07:59 »
|
|
Hello Andreas,
Thank you for your response. The option byte settings you specify are equal to my H7. I notice the following : -After loading the bootloader with STLINK the screenbacklight starts flashing a rate of approx. 3 Hz. RED LED stays off. Looks like its looping . -Thereafter loading FW is succesful according to STLINK But (not surprising) not running. - A full erase of the chip does not change the option bytes.
regards
Co
|
|
Logged
|
|
|
|
Co
schon länger dabei
Offline
Posts: 79
Ich liebe dieses Forum!
|
|
Re:option bytes 32H7
« Reply #8 on: 05. March 2019, 11:19:06 »
|
|
Hello Thomas,
Yes, I downloaded the H7 BL and FW. To avoid possible errors I downloaded again to no avail.
Co
|
|
Logged
|
|
|
|
|
Co
schon länger dabei
Offline
Posts: 79
Ich liebe dieses Forum!
|
|
Re:option bytes 32H7
« Reply #10 on: 05. March 2019, 16:08:39 »
|
|
Hi,
I notice another difference with Thomas' screencopy :
I am using STLINK V4.1.0.0 . Over the IWDG box there is another box called 'SECURITY' which I do not see in Thomas' box !. It is unchecked. If I check the IWDG box and leave option menu with 'apply' then immediately therafter return to the option menu, the box is unchecked. Does IWDG stand for the 'watchdog' function ? causing the chip to refresh every somany millisecs and thus looping.
regards
Co
|
|
Logged
|
|
|
|
|
Co
schon länger dabei
Offline
Posts: 79
Ich liebe dieses Forum!
|
|
Re:option bytes 32H7
« Reply #12 on: 07. March 2019, 10:22:06 »
|
|
Hello all,
Ihave upgraded ST-LINK to V1.4.4 . So can read and set the option byte as required. No change. Can load bootloader and firmware , all verifies ok. After loading the bootloader the LCD flashed the backlight twice , every second. No red led. Looks like the BL is looping. Have checked several times for solder bridges, but all seems ok.
regards Co
|
|
Logged
|
|
|
|
Co
schon länger dabei
Offline
Posts: 79
Ich liebe dieses Forum!
|
|
Re:option bytes 32H7
« Reply #13 on: 07. March 2019, 14:41:40 »
|
|
Hi Thomas,
I checked with a scope and both clocks are running ok. Comparing to a 'running-ok' F7 board the signal produced by the H7 board 32 kc oscillator is much stronger. Can not explain but I gues probably of no importance.
Co
|
|
Logged
|
|
|
|
|