Search found 502 matches

by stevestrong
Fri Jun 04, 2021 5:23 pm
Forum: STLink
Topic: [SOLVED]Imposible to flash with STLink v2 key ( STM32F1xx and STM32F4xx)
Replies: 26
Views: 33948

Re: Imposible to flash with STLink v2 key ( STM32F1xx and STM32F4xx)

You use Arduino_STM32 or STM32duino?
Please post the complete flashing process output.
by stevestrong
Fri Jun 04, 2021 5:18 pm
Forum: General discussion
Topic: Multiple i2c port drive & Multiple SPI port drive
Replies: 12
Views: 6557

Re: Multiple i2c port drive & Multiple SPI port drive

The error message is clear: you have to cast the second parameters of the function calls to

Code: Select all

byte error = eep.write( 0, (byte*)test, sizeof(test));
and

Code: Select all

eep.read( 0, (byte*)bufer, sizeof(test));
In addition, you have to change the size of buffer to:

Code: Select all

char buffer[sizeof(test)+1];
by stevestrong
Mon May 31, 2021 1:26 pm
Forum: General discussion
Topic: SPI port drive Windbond w25 q32
Replies: 5
Views: 4847

Re: SPI port drive Windbond w25 q32

Try this one:
STM32_SPIFlash.zip
(1.37 KiB) Downloaded 552 times
This is set to use SPI1 and chip select pin PA4.
by stevestrong
Fri May 28, 2021 12:52 pm
Forum: General discussion
Topic: SPI port drive Windbond w25 q32
Replies: 5
Views: 4847

Re: SPI port drive Windbond w25 q32

Have a look into these files: https://github.com/adafruit/Adafruit_SPIFlash/tree/master/src/spi or here: http://www.rinkydinkelectronics.com/download.php?f=SPIflash.zip or here: https://github.com/nimaltd/w25qxx (in this case you have to replace the HAL function calls to corresponding libmaple funct...
by stevestrong
Wed May 26, 2021 7:26 am
Forum: General discussion
Topic: Problems writing to Client using EthernetWebServer_SSL_STM32 and SdFat libraries
Replies: 7
Views: 3695

Re: Problems writing to Client using EthernetWebServer_SSL_STM32 and SdFat libraries

Juraj wrote: Wed May 26, 2021 5:16 am @stevestrong the code doesn't use the WebServer library
Well, then what about this sentence:
exdes wrote: Tue May 25, 2021 5:00 pm I am using the libraries EthernetWebServer_SSL_STM32 & SdFat.
by stevestrong
Tue May 25, 2021 7:53 am
Forum: USB bootloader
Topic: Bootloader Stuck 1EAF:004?
Replies: 4
Views: 9407

Re: Bootloader Stuck 1EAF:004?

A DTR pulse is not enough, a magic sequence should be also transmitted over USB serial.
You can try to manually reset the board short before you upload the code.
by stevestrong
Tue May 25, 2021 7:50 am
Forum: General discussion
Topic: Multiple i2c port drive & Multiple SPI port drive
Replies: 12
Views: 6557

Re: Multiple i2c port drive & Multiple SPI port drive

I wonder which type of eeprom do you use, is it the same device with two addresses? It is not common... Have you tried to access the 0x50 address? The smaller value the pull-up resistor the better, so leave it 3.3k or 2.7k. But I do not think that this really matters as long as the scanner finds it....
by stevestrong
Mon May 24, 2021 10:07 am
Forum: General discussion
Topic: Multiple i2c port drive & Multiple SPI port drive
Replies: 12
Views: 6557

Re: Multiple i2c port drive & Multiple SPI port drive

For slow mode you just leave I2C_FAST_MODE away:

Code: Select all

TwoWire WIRE2 (2);
#define Wire WIRE2
Be sure that you connect to PB10/11 pins.
by stevestrong
Sun May 23, 2021 4:05 pm
Forum: General discussion
Topic: Multiple i2c port drive & Multiple SPI port drive
Replies: 12
Views: 6557

Re: Multiple i2c port drive & Multiple SPI port drive

Have you tried to run the I2C scanner with the second I2C port?
Does it recognize your EEPROM? On which address?

Go to advanced search