cancel
Showing results for 
Search instead for 
Did you mean: 

STM32G431 使用�?��?��?��?��?�。FLASH 書�??�?��?��?� Erase 出�?��?��?�ん。 メイク�?��?エラー�?��?�。ダウンロード後�?�デ�?ックスタート�?� �?スタック�?インタ�?�無効�?�アライメント�?�セットアップ�?�れ�?��?�る�? �?�メッセージ出�?��?��?�。 STM32F303 �?��?��?�?題�?��??書�??�?��?�出�?��?��?��?�。 分�?�る方�?�り�?��?��?�ら教�?��?��??�?��?��?�。

MYOKO.1
Associate
 
1 REPLY 1

This is a STM32 MCU not MPU class device

"I am using STM32G431. Erase cannot be done by rewriting FLASH.

Makeup has no errors. At the debug start after downloading, I got the message

"The stack pointer is set up for invalid alignment"

.

With STM32F303, I was able to rewrite without any problems.

If anyone knows, please let me know."

Make sure the linker script (.LD) doesn't have a bogus initial SP, ie 0x2001FFFF which is NOT 32-bit aligned

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