Coder Social home page Coder Social logo

Comments (7)

csnol avatar csnol commented on May 28, 2024

Hi Sankaramp,

I don't know which module you used for. and I was only use AT command on Arduino Uno + SIM8xx series GSM-GPRS module.
I think it is difficult If you wanna only use ONE GSM-GPRS module to flash STM32 without a Ext-MCU.
you know, We need 4 GPIO pins at least and 100KB data space( to save STM32 bin file)

* 2 GPIOs for STM32's BOOT0 and RESET.
* 2 GPIOs as a  EVEN Serial port to communicate with STM32.

As far as I know, Only a GSM-GPRS module can't do it if not been hacked.

You have to add a MCU which it has 2 UARTs. one Serial control GSM-GPRS module to connect internet. other Serial to flash STM32.

Haha, only if you use it for WiFi-Less or long distance control, I really don't suggest it .

from 1chip-programmers.

sankaramp avatar sankaramp commented on May 28, 2024

hello csnol,
thanx for reply,

according to your suggestion i changed my application like this.
img_20181011_192440

in this, i just want to connect one GSM-GRPS module through UART2 of MCU1.
from GSM i want to read " example.bin " file through OTA and store that in external SPI-FLASH memory.

when expernal SPI FLASH got new ".bin file",it should load to MCU2 through UART1 of MCU1.

NOTE: here MCU1 and MCU2 both are STM32f1series controllers.

could you please give some suggestions.

thanq,
Sankar

from 1chip-programmers.

csnol avatar csnol commented on May 28, 2024

Yes, Maybe you need pull-up GPIO1 and GPIO2.

Sorry, I don't know how to code a HTTP server use AT commands.

Attention please, "double MCUs, half stabilities."

from 1chip-programmers.

sankaramp avatar sankaramp commented on May 28, 2024

Okay thanq

I just need one help in writing the code regarding "load the .bin file from spi flash to MCU2 through UART1".

Any suggestion will be helpful..

Regards,
Sankar

from 1chip-programmers.

csnol avatar csnol commented on May 28, 2024

You can try the LowPowerLab/SPIflash library

https://github.com/LowPowerLab/SPIFlash

or search Winbondflash in Github.

For flash STM32 MCUs, please reference STM32 DS file and my codes. some functions be included in stm32ota.h and stm32ota.cpp

from 1chip-programmers.

sankaramp avatar sankaramp commented on May 28, 2024

hello sir,

i'm trying like this,"in application programming using SD card".
is it possible?
ref: https://github.com/akospasztor/stm32-bootloader
https://www.st.com/content/ccc/resource/technical/document/application_note/group0/6b/6d/66/98/7d/3e/46/cc/DM00282546/files/DM00282546.pdf/jcr:content/translations/en.DM00282546.pdf

any suggestions plz

thanq
Sankar

from 1chip-programmers.

ambujsaxena1 avatar ambujsaxena1 commented on May 28, 2024

HI csnol,

This is very good library, I want to use this library with STM32F303 Controller, But as you mention that this will work only on 32 pin controller but my controller 100 Pin controller. anyways I tried by whenever ESP send 7F command to init the communication it will reviced
0x00 in sbuf[0]

Could you tell help to resolve this issue. Should we have to code STM too ?

from 1chip-programmers.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.