Skip to main content
KChau.3
Associate
March 1, 2021
Question

Hi, I want to take data through single GPIO port pin (no UART) and store data in to program flash memory. It is like I want to program my controller through GPIO port pin. My controller is STM32G031. Can anybody help in this regard? Thanks, kaushik

  • March 1, 2021
  • 1 reply
  • 948 views

..

This topic has been closed for replies.

1 reply

KChau.3
KChau.3Author
Associate
March 1, 2021

Hi,

has anybody the answer?

kaushik

Tesla DeLorean
Guru
March 1, 2021

Perhaps hire someone who can code?

Are you able to program the flash memory with an arbitrary stream now? If not perhaps avail yourself of the flash code examples in the Cube G0 HAL libraries, and then modify those to "read the GPIO pin" or whatever your protocol for this is.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
KChau.3
KChau.3Author
Associate
March 2, 2021

Hi Tesla,

Thanks for the answer. I am new to ST. I am facing problem to import example code to my current workspace to start with. I used CCS before for TI controller and its easy to import any project from anywhere in CCS. Can you please suggest stepwise how to import and run successfully existing example code of the repository folder in STm32Cube IDE?

Thanks,

kaushik