Skip to main content
DeveloperMan
Associate III
July 13, 2020
Question

Hello, I canceled the jtag pins in my project. Currently, how can I install the software on the card with the ST's bootloader. How should I go about this?

  • July 13, 2020
  • 7 replies
  • 1654 views

..

This topic has been closed for replies.

7 replies

Tesla DeLorean
Guru
July 13, 2020

Review Application Note AN2606​ in the context of your selected part.

P​ull BOOT0 High across a reset to start the ROM based System Loader.

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

Should we do this hardware or software?

Tesla DeLorean
Guru
July 13, 2020

Sorry your posting lacks a lot in usable context.

Your board? Some standard board where pulling BOOT0 High would stop your "project" from "cancelling" or otherwise disabling the pins/interface?

The STM32 Cube Programmer supports JTAG/SWD connectivity via an ST-LINK, but also DFU via USB, and UART via COM port.

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

hardware. you will do a system boot with debug interface if not protected.

DeveloperMan
Associate III
July 13, 2020

Are we going to access uart with Flash Loader Demonstrator?

Tesla DeLorean
Guru
July 13, 2020

If that's the interface you've exposed, support in Flash Loader Demonstrator will depend on the STM32 involved, but you could also use the UART/COM port functionality of STM32 Cube Programmer tool.

Or implement the underlying protocol on your platform of choice

https://www.st.com/resource/en/application_note/cd00264342-usart-protocol-used-in-the-stm32-bootloader-stmicroelectronics.pdf

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

I have to do the operations you mentioned via the usart link on the card. For this, I need to add the new .hex or .bin file via cubemx or flashloader by adding it to the software.

Tesla DeLorean
Guru
July 14, 2020

Ok, so with your hardware situation poorly defined​ still it is hard to know how to proceed.

If the only access to your board is a supported UART, you should reset with BOOT0 being High.

Use STM32 Cube Programmer to write the .HEX you've built in your IDE. Connect via the COM port associated with the UART on the board.​

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

When I pulled the boot0 pin to high, the processor never got up. What could be causing this?For a Boot pin that is connected to the processor with a resistor, I removed the resistor and pulled it high. There was a problem.

DeveloperMan
Associate III
July 14, 2020

no response from the target the bootloader cannot be started.

What is the reason for this error? I make the necessary Usart1 connection. It also goes into boot mode but I keep getting this error.

Tesla DeLorean
Guru
July 14, 2020

>>What is the reason for this error? 

Stuff in your design isn't working, there is perhaps signalling on other pins described in AN2606 that is occuring before those on USART1. Say a GPS device, or something else, chattering at start up.

I really have no insight into your design/implementation here.

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

Hello, I have booted with pins (Rx and Tx) that go directly to the processor via usart1 on my control card. However, I have to verify this over the remapped rs-485 line. The rs-485 in between may also affect the hardware. How should I proceed?