Search found 12 matches

by FerroFerido
Sun Nov 29, 2020 8:33 pm
Forum: Ideas & suggestions
Topic: EXTERNAL EEPROM
Replies: 1
Views: 4305

EXTERNAL EEPROM

I need write datas in a External EEPROM called at45db021e. I don't have any example for that use. Anyone can Help me? Wich library can i use? (Sorry for my horrible english, i'm still lerning).

I'm use STM32F103C8 Blue Pill with Roger's Clark Core.
by FerroFerido
Tue Nov 24, 2020 6:11 pm
Forum: IDE's
Topic: How to access Roger's libraries
Replies: 8
Views: 5492

Re: How to access Roger's libraries

GonzoG wrote: Tue Nov 24, 2020 1:44 am If you want that much data in EEPROM consider using external I2C/SPI EEPROM.
STM32F1 does not have hardware EEPROM and STM core and Roger's core use software emulation in FLASH memory. It's really destructive for the FLASH as it writes/erases whole flash page with every write.
Good Idea man
by FerroFerido
Tue Nov 24, 2020 6:11 pm
Forum: IDE's
Topic: How to access Roger's libraries
Replies: 8
Views: 5492

Re: How to access Roger's libraries

stevestrong wrote: Mon Nov 23, 2020 11:44 pm The EEPROM library is only suitable to store couple of data, up to 500 bytes.
For many kBytes you have to use compete FLASH pages to store data.
For that I recommend to study how data is written into the flash by differnt bootloaders (DFU, HID, CDC).
I don't know where to start
by FerroFerido
Tue Nov 24, 2020 12:02 am
Forum: Libraries & Hardware
Topic: EEPROM emulation how to increase size?
Replies: 8
Views: 14623

Re: EEPROM emulation how to increase size?

Man, we have the same problem.
Did you manage to solve the problem? If yes, plis, tell me how, please.
by FerroFerido
Mon Nov 23, 2020 11:19 pm
Forum: IDE's
Topic: How to access Roger's libraries
Replies: 8
Views: 5492

Re: How to access Roger's libraries

Man, anyone can help me? I need save 7200 bytes in EEPROM On BluePill, but I'm not able to save more than 508 Bytes, know you who save more bytes in EEPROM? #include <EEPROM.h> #include "EEPROM.h" #define espacoEEPROM 57600 #define botao PB12 #define botao2 PB13 int x; int potenciometro; f...
by FerroFerido
Fri Nov 20, 2020 5:14 am
Forum: Let us know a bit about you and your projects
Topic: I need save datas in a SD Card with a Blue pill.
Replies: 3
Views: 5093

Re: I need save datas in a SD Card with a Blue pill.

i'm really thankful. You really help me. Last doumbt, the BluePill board has a two SPIO channels, SPIO1 and SPIO2, Who i can select the SPIO2 for use with SD Card, it's just select CS pin when i start the SD card or i need declared the others SPIO pins, like Miso?
by FerroFerido
Wed Nov 18, 2020 9:16 pm
Forum: STM32F1 based boards
Topic: STM32F103C8T6 with SD Card
Replies: 8
Views: 9460

Re: STM32F103C8T6 with SD Card

Effectively, I made a mistake with the SD library from Adruino But SD card and STM32 seems to doesn't work propely. I'm on spi2 and I have change pin mapping in SD.beging and Sd2PinMap.h. But that still doesn't work Edit: Thank I have success to make the SPI2 work properly with : SPI.setMOSI(PB15);...
by FerroFerido
Wed Nov 18, 2020 8:54 pm
Forum: Let us know a bit about you and your projects
Topic: I need save datas in a SD Card with a Blue pill.
Replies: 3
Views: 5093

I need save datas in a SD Card with a Blue pill.

Hello, i'm neubie about STM32 but i really like Arduino and others Boards. I need save the value temperature of ten sensors in a SD Card in TXT format, but i don't know who do it. Anyone can help me? I'm using STM35F103C (Blue Pill) and i'm programing with ST-link V2. (i'm sorry for my horrible engl...
by FerroFerido
Wed Nov 18, 2020 2:36 pm
Forum: General discussion
Topic: [Solved] SD.h or SDfat.h with SPI2
Replies: 9
Views: 7834

Re: [Solved] SD.h or SDfat.h with SPI2

@FerroFerido There is a SD library https://github.com/stm32duino/STM32SD. The library can be installed from the Arduino library manager. There are example projects distributed with the library. Nobody can give more help without information about what board you have, the SD card reader and the type ...
by FerroFerido
Wed Nov 18, 2020 2:34 pm
Forum: General discussion
Topic: [Solved] SD.h or SDfat.h with SPI2
Replies: 9
Views: 7834

Re: [Solved] SD.h or SDfat.h with SPI2

STM32SD library is for SD card slot connected to SDIO or SDMMC IP of the MCU. If you use an SPI SD card slot then simply use the Arduino SD library. For both several example are provided. my doubt about this case is: my board it's a BluePIll, it has more than two SPIO pins, who i can use this libra...

Go to advanced search