Skip to main content
vinothraj
Associate III
October 13, 2012
Question

stm32f407vgt6

  • October 13, 2012
  • 18 replies
  • 3427 views
Posted on October 13, 2012 at 16:43

hi,

  i have stm32 discovery board(stm32f407vgt6) and a new stm32f407vgt6 ic.

i want to program the new stm32f407vgt6 ic.so i change the hardware settings in my discovery board.

In discovery board contains STM32F103C8T6  and stm32f407vgt6.

STM32F103C8T6 connected to stm32f407vgt6 through:

1.TCK/SWCLK-PA14

2.TMS/SWDIO-PA13

3.T_NRST-NRST

4.T_SWO-PB3

5.MCO

BY

so i break the setting of discovery  between STM32F103C8T6 and stm32f407vgt6.

now i set the new setting between STM32F103C8T6 of discovery and my new stm32f407vgt6 according to the old setting of the discovery.

now i get the 50 percent positive result.That means i can connect the device( new stm32f407vgt6) via stm32 st-link utility software.it reads device and device id of the new stm32f407vgt6.but it gives warning  .i attached the png file about warning.please find it.

i cannot read the memory.give any suggestion in my connection.

#wait-for-you--clive1-!-!-! #wait-for-you #wait-for-you--clive1-!-!-!
    This topic has been closed for replies.

    18 replies

    Tesla DeLorean
    Guru
    October 14, 2012
    Posted on October 14, 2012 at 04:22

    I'm not even sure you need to connect all those pins, the board breaks out an SWD connector, and a method to break the on-board connections.

    You should check the power connections on your target device.

    You should also try to disable RDP on the target as it is complaining about that.
    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    vinothraj
    vinothrajAuthor
    Associate III
    October 15, 2012
    Posted on October 15, 2012 at 07:26

    yes clive1.i checked the power connections on my target device.

    And how can i  disable RDP on the target device???

    vinothraj
    vinothrajAuthor
    Associate III
    October 15, 2012
    Posted on October 15, 2012 at 07:29

    May i set  any hardware setting for my target in boot0 pin?

    Tesla DeLorean
    Guru
    October 15, 2012
    Posted on October 15, 2012 at 15:54

    And how can i  disable RDP on the target device???

    ST-Link Utilities -> Target -> Option Bytes -> Read Out Protection

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Tesla DeLorean
    Guru
    October 15, 2012
    Posted on October 15, 2012 at 15:56

    May i set  any hardware setting for my target in boot0 pin?

     

    In so much as you can disable read out protection by sending the right commands to the System Loader via the USART. Review documentation and Flash Loader Demonstrator

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    vinothraj
    vinothrajAuthor
    Associate III
    October 15, 2012
    Posted on October 15, 2012 at 16:20

    i change the setting of the ST-Link Utilities -> Target -> Option Bytes -> Read Out Protection.

    error is showed like ''no internal command''

    vinothraj
    vinothrajAuthor
    Associate III
    October 15, 2012
    Posted on October 15, 2012 at 16:24

    if i set the protection level 2 for the target device.after that i got the error like ''NO TARGET CONNECTED''.here after i cannot access the

    https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Discovery/stm32f407vgt6 1394

    ????

    vinothraj
    vinothrajAuthor
    Associate III
    October 16, 2012
    Posted on October 16, 2012 at 07:09

    now i mistakenly  set the  protection level 2 in option byte dialog box in the st-link utility.now i get the error like ''no target connected''.how do i change the setting again(protection level 0)???please give any suggestion.

    frankmeyer9
    Associate III
    October 16, 2012
    Posted on October 16, 2012 at 09:38

    now i mistakenly  set the  protection level 2 in option byte dialog box ...

     

    how do i change the setting again(protection level 0)???please give any suggestion.

     

    Look at the reference manual regarding readout protection what that means.

    You can throw this part in the bin, or make a trinket from it.

    vinothraj
    vinothrajAuthor
    Associate III
    October 16, 2012
    Posted on October 16, 2012 at 12:47

    where i get the reference manual regarding readout protection?