Search found 3 matches

by xobs
Thu Sep 19, 2013 5:01 pm
Forum: Development and Feedback
Topic: Avoiding segfaults in ld
Replies: 0
Views: 2432

Avoiding segfaults in ld

I'm using the version of ld from Debian's armhf "Wheezy" distribution ("GNU ld (GNU Binutils for Debian) 2.22"), and occasionally I would experience segfaults in ld when linking. I was able to track down a workaround after building a debug version of ld, but I'm still not sure why it's segfaulting ...
by xobs
Thu Aug 29, 2013 10:35 am
Forum: STM32 Support
Topic: STM32F100: UART1 and I2C2 simultaneously
Replies: 2
Views: 3000

Re: STM32F100: UART1 and I2C2 simultaneously

Answering my own reply. According to the reference manual, both devices share DMA channels 4 and 5. So the answer is: You don't use DMA.

So my options are either to use PIO or redesign the board.
by xobs
Thu Aug 29, 2013 10:30 am
Forum: STM32 Support
Topic: STM32F100: UART1 and I2C2 simultaneously
Replies: 2
Views: 3000

STM32F100: UART1 and I2C2 simultaneously

Hi,

I'm trying to use both UARTD1 and I2C2 on an STM32F101 (similar to an STM32F100). I have my board defined, and I'm getting debug text out the serial port. The serial port will be the primary means of communication with this device.

I noticed that when I initialize I2C2 before UARTD1, I'm able ...