Search found 314 matches

by fpiSTM
Fri Feb 16, 2018 7:30 am
Forum: STM Core
Topic: Erratic Behaviour of the Standard Arduino I2C Bus Scanner
Replies: 3
Views: 83

Re: Erratic Behaviour of the Standard Arduino I2C Bus Scanner

Ok, reproduce on F411.
Always relies on IT mode.
This will be fixed with https://github.com/stm32duino/Arduino_C ... issues/217
by fpiSTM
Thu Feb 15, 2018 8:41 pm
Forum: STM Core
Topic: Erratic Behaviour of the Standard Arduino I2C Bus Scanner
Replies: 3
Views: 83

Re: Erratic Behaviour of the Standard Arduino I2C Bus Scanner

Hi Francois,

I've tested your code and it works with the disco L475 IOT board.
I will try tomorrow with the F411, I will not surprised to reproduce your issue... :roll:
There is a regression on I2C since it was moved to use IT mode. An issue is opened for this.
by fpiSTM
Wed Feb 14, 2018 4:25 pm
Forum: Libraries & Hardware
Topic: ENC28J60 +php crash on stm32f103ve
Replies: 9
Views: 143

Re: ENC28J60 +php crash on stm32f103ve

For ENC28J60, I've used this lib which now support stm32 boards since version 2.0.5:
https://github.com/UIPEthernet/UIPEthernet
by fpiSTM
Tue Feb 13, 2018 1:12 pm
Forum: General discussion
Topic: Access the PC register through ST-Link V2?
Replies: 11
Views: 177

Re: Access the PC register through ST-Link V2?

Ensure to have aggressively cache compiled core disabled in Arduino preference Select Debug in Optimize menu. Then after building your sketch: Launch st-util Launch gdb with the generated elf: <yourpath>/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-gdb yourbuildsketch.elf In gdb exec: targ...
by fpiSTM
Mon Feb 12, 2018 5:22 pm
Forum: STM Nucleo boards
Topic: [SOLVED] i2c slave receiver: nucleo 64 F401
Replies: 16
Views: 170

Re: i2c slave receiver: nucleo 64 F401

I've made some tests with F401 and it works if you do not change line 541 in twi.c from: nbData = I2C_TXRX_BUFFER_SIZE - obj->handle.XferCount; to: nbData = I2C_TXRX_BUFFER_SIZE - obj->handle.XferSize; As mentioned I2C slave required some review since the mode to IT mode. An issue is already open fo...
by fpiSTM
Sun Feb 11, 2018 3:38 pm
Forum: STM Nucleo boards
Topic: [SOLVED] STM32L072 from Arduino IDE
Replies: 3
Views: 52

Re: [SOLVED] STM32L072 from Arduino IDE

Welcome
sorry for this issue, I did not test with standard installation path. :roll:
On Windows, I install Arduino in a short path without space to avoid any issue with path length or space...
by fpiSTM
Sun Feb 11, 2018 3:26 pm
Forum: STM Nucleo boards
Topic: [SOLVED] STM32L072 from Arduino IDE
Replies: 3
Views: 52

Re: STM32L072 from Arduino IDE

Hi davidb, there is an issue with the last release when path contains space. Mainly when Arduino IDE is installed in its default directory "C:\Program Files (x86)", The "'Files' is not recognized as an internal or external command, operable program or batch file." comes from this. It will be fixed i...
by fpiSTM
Sat Feb 10, 2018 9:17 am
Forum: STLink
Topic: Problem with uploading on Blue Pill via ST-LINK V2 on mac OS
Replies: 7
Views: 151

Re: Problem with uploading on Blue Pill via ST-LINK V2 on mac OS

Texane github is active.
I've already update the version to fix some issues.
So, I think you should take the last version and test it.
by fpiSTM
Fri Feb 09, 2018 11:04 pm
Forum: STM Nucleo boards
Topic: [SOLVED] i2c slave receiver: nucleo 64 F401
Replies: 16
Views: 170

Re: i2c slave receiver: nucleo 64 F401

Space in the path will be fixed in the next release. I think your install is ok, I will do the test next week with F401. I have tested the patch for I2C slave with F091 and F303 with success. As I've mentioned, there is an issue with the I2C complete transfer callback which need to be reviewed. I wi...