Search found 55 matches

by lesto
Sun Jan 18, 2015 5:05 pm
Forum: STM32 Support
Topic: [stm32f3]Selecting uart pin
Replies: 2
Views: 2864

Re: [stm32f3]Selecting uart pin

got this. thank you
by lesto
Wed Jan 14, 2015 9:22 pm
Forum: STM32 Support
Topic: [stm32f3]Selecting uart pin
Replies: 2
Views: 2864

[stm32f3]Selecting uart pin

Hi,
just an easy question, to choose from possible pin to use for usartX, i just have to activate their alternative mode them with:


palSetPadMode(GPIOC, 4, PAL_MODE_ALTERNATE(7)); // used function : USART1_TX
palSetPadMode(GPIOC, 5, PAL_MODE_ALTERNATE(7)); // used function : USART1_RX ...
by lesto
Tue Nov 04, 2014 9:47 pm
Forum: STM32 Support
Topic: Chibios 2.6 USB testHal and a lot of error
Replies: 21
Views: 13403

Re: Chibios 2.6 USB testHal and a lot of error

ah, just tested, LTO with GCC 4.9.1 seems work fine.
by lesto
Mon Nov 03, 2014 11:50 pm
Forum: STM32 Support
Topic: Chibios 2.6 USB testHal and a lot of error
Replies: 21
Views: 13403

Re: Chibios 2.6 USB testHal and a lot of error

as promised GCC 4.8.4 20140725 (release) [ARM/embedded-4_8-branch revision 213147]

info
Kernel: 3.0.0dev
Compiler: GCC 4.8.4 20140725 (release) [ARM/embedded-4_8-branch revision 213147]
Architecture: ARMv7-ME
Core Variant: Cortex-M4
Port Info: Advanced ...
by lesto
Mon Nov 03, 2014 11:35 pm
Forum: STM32 Support
Topic: Chibios 2.6 USB testHal and a lot of error
Replies: 21
Views: 13403

Re: Chibios 2.6 USB testHal and a lot of error

usb 7-3.4: new full-speed USB device number 5 using ehci-pci
[ 8504.225499] usb 7-3.4: USB disconnect, device number 5
[ 8517.858338] usb 7-3.4: new full-speed USB device number 6 using ehci-pci
[ 8517.938193] usb 7-3.4: device descriptor read/64, error -32
[ 8518.121297] usb 7-3.4: device ...
by lesto
Mon Nov 03, 2014 11:09 am
Forum: STM32 Support
Topic: Chibios 2.6 USB testHal and a lot of error
Replies: 21
Views: 13403

Re: Chibios 2.6 USB testHal and a lot of error

i use to checkout from https://github.com/mabl/ChibiOS witch seems to have testHal already setup for stm32f3discovery, because official https://github.com/ChibiOS has the oldest commit about 30 days ago... maybe the cloning daemon is broken?

btw i'll test tonigh, yay!
by lesto
Fri Oct 31, 2014 2:11 pm
Forum: STM32 Support
Topic: Chibios 2.6 USB testHal and a lot of error
Replies: 21
Views: 13403

Re: Chibios 2.6 USB testHal and a lot of error

you a re right, but the swithing workspe is not "clean" as they would still point to a generic "chibios" folder witch has old code, i think.

that way was the less messy i found, to be sure the probelm is NOT from a human error.

i've found a frind with is ready to make some cross test. he'll work ...
by lesto
Fri Oct 31, 2014 1:04 am
Forum: STM32 Support
Topic: Chibios 2.6 USB testHal and a lot of error
Replies: 21
Views: 13403

Re: Chibios 2.6 USB testHal and a lot of error

tested right now COMPILING on windows and running in linux: 2.6 gives warning but run, 3.0 does not enumerate.

i've also tryed to run it on windows, but seems like win 7 does not like cdc on USB 3.0 port.... it keeps failing installing driver, i've tryed a lot of them, even "USB Inf Builder ...
by lesto
Wed Oct 29, 2014 11:05 pm
Forum: STM32 Support
Topic: Chibios 2.6 USB testHal and a lot of error
Replies: 21
Views: 13403

Re: Chibios 2.6 USB testHal and a lot of error

Which gcc version did you try?

arm-none-eabi-gcc47-linaro-4.7_2014.06-1
gcc-arm-none-eabi-bin 4.8_2014_q3_update-1 (official ARM)
arm-none-eabi-gcc 4.9.1-1

Which "usb test" did you try?
USB-CDC driver demo for STM32F30x

Which board are you using?
STM32F3-Discovery

linux 3.17.1-1-ARCH

i ...
by lesto
Wed Oct 29, 2014 10:57 am
Forum: STM32 Support
Topic: Chibios 2.6 USB testHal and a lot of error
Replies: 21
Views: 13403

Re: Chibios 2.6 USB testHal and a lot of error

it is tuned for A, but should work as clasic GCC for the other.

i've tested with official ARM gcc on linux and still got this problem. now i'm going to test it under windows using chibios. (still have to try if windows recognize it).
i'm planning to set up a fully working windows with chibistudio ...