You use Arduino_STM32 or STM32duino?
Please post the complete flashing process output.
Search found 502 matches
- Fri Jun 04, 2021 5:23 pm
- Forum: STLink
- Topic: [SOLVED]Imposible to flash with STLink v2 key ( STM32F1xx and STM32F4xx)
- Replies: 26
- Views: 37044
- Fri Jun 04, 2021 5:18 pm
- Forum: General discussion
- Topic: Multiple i2c port drive & Multiple SPI port drive
- Replies: 12
- Views: 6720
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
and
In addition, you have to change the size of buffer to:
Code: Select all
byte error = eep.write( 0, (byte*)test, sizeof(test));
Code: Select all
eep.read( 0, (byte*)bufer, sizeof(test));
Code: Select all
char buffer[sizeof(test)+1];
- Mon May 31, 2021 1:26 pm
- Forum: General discussion
- Topic: SPI port drive Windbond w25 q32
- Replies: 5
- Views: 4885
Re: SPI port drive Windbond w25 q32
Try this one:
This is set to use SPI1 and chip select pin PA4.- Fri May 28, 2021 12:52 pm
- Forum: General discussion
- Topic: SPI port drive Windbond w25 q32
- Replies: 5
- Views: 4885
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...
- 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: 3723
- Tue May 25, 2021 10:10 pm
- Forum: General discussion
- Topic: Problems writing to Client using EthernetWebServer_SSL_STM32 and SdFat libraries
- Replies: 7
- Views: 3723
Re: Problems writing to Client using EthernetWebServer_SSL_STM32 and SdFat libraries
I think you should post an issue on the github page of khoih.
- Tue May 25, 2021 7:53 am
- Forum: USB bootloader
- Topic: Bootloader Stuck 1EAF:004?
- Replies: 4
- Views: 10541
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.
You can try to manually reset the board short before you upload the code.
- Tue May 25, 2021 7:50 am
- Forum: General discussion
- Topic: Multiple i2c port drive & Multiple SPI port drive
- Replies: 12
- Views: 6720
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....
- Mon May 24, 2021 10:07 am
- Forum: General discussion
- Topic: Multiple i2c port drive & Multiple SPI port drive
- Replies: 12
- Views: 6720
Re: Multiple i2c port drive & Multiple SPI port drive
For slow mode you just leave I2C_FAST_MODE away:
Be sure that you connect to PB10/11 pins.
Code: Select all
TwoWire WIRE2 (2);
#define Wire WIRE2
- Sun May 23, 2021 4:05 pm
- Forum: General discussion
- Topic: Multiple i2c port drive & Multiple SPI port drive
- Replies: 12
- Views: 6720
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?
Does it recognize your EEPROM? On which address?