Search found 871 matches

by Rick Kimball
Wed Jun 28, 2017 12:13 pm
Forum: Linux
Topic: Install STM32duino on Raspbian?
Replies: 19
Views: 170

Re: Install STM32duino on Raspbian?

Which raspberry pi are you using? Why haven't you tried the mass storage approach yet? It doesn't seem like you are using the debug features of the stlink. The whole idea of putting a mass storage device as a upload method on the nucleo boards was to make it simple to use with no extra drivers requi...
by Rick Kimball
Tue Jun 27, 2017 11:31 pm
Forum: Problems with libraries
Topic: Configurable libraries?
Replies: 4
Views: 50

Re: Configurable libraries?

Hi, I would like to know if it is possible to configure a library specifically for a sketch, without altering the library code. For example, in the HardwareCan library (the one I have contributed), there are the following lines: #ifndef CAN_RX_QUEUE_SIZE #define CAN_RX_QUEUE_SIZE 16 #endif If I wan...
by Rick Kimball
Tue Jun 27, 2017 6:17 pm
Forum: Linux
Topic: Install STM32duino on Raspbian?
Replies: 19
Views: 170

Re: Install STM32duino on Raspbian?

Wouldn't that be ironic :)
by Rick Kimball
Tue Jun 27, 2017 5:39 pm
Forum: STM Nucleo boards
Topic: STM32F091 ADC resolution 10 bit instead of 12 bit
Replies: 22
Views: 202

Re: STM32F091 ADC resolution 10 bit instead of 12 bit

wow there's lot of smoke here :) To sum up, stm32 is 3.3V based so provide 5V as input ADC should bring some strange behavior... Mainly for ADC reading. FYI, on the next release analogRead(0) and analogRead(A0) will be equivalent. whereas analogWrite(0) is equivalent to analogWrite(D0) . I tried th...
by Rick Kimball
Tue Jun 27, 2017 5:20 pm
Forum: Linux
Topic: Install STM32duino on Raspbian?
Replies: 19
Views: 170

Re: Install STM32duino on Raspbian?

Did you try recompiling and installing the massStorageCopy source and do a make install? The source is in the tools directory. That is a very simple program. All it does is find the mount point of the NUCELO-F091RC and copies the sketchname.bin file to it.
by Rick Kimball
Tue Jun 27, 2017 3:49 pm
Forum: Linux
Topic: Install STM32duino on Raspbian?
Replies: 19
Views: 170

Re: Install STM32duino on Raspbian?

You are failing because it is trying to run an intel executable on an arm processor. You need to replace the intel binaries with arm binaries. That means compiling the source and putting the exectuables in the right place. ... or You change to the upload method to "Mass Storage" , recompile and copy...
by Rick Kimball
Tue Jun 27, 2017 1:47 pm
Forum: Linux
Topic: Install STM32duino on Raspbian?
Replies: 19
Views: 170

Re: Install STM32duino on Raspbian?

First step have you installed the arduino for arm?

https://www.arduino.cc/download_handler ... arm.tar.xz

That should have a board support for the SAMD and SAM
by Rick Kimball
Tue Jun 27, 2017 1:24 pm
Forum: Linux
Topic: Install STM32duino on Raspbian?
Replies: 19
Views: 170

Re: Install STM32duino on Raspbian?

Do the Arduino SAM and SAMD boards work? If so then they will install the arm-none-eabi-gcc/g++ toolchain. You will probably have to edit your platform.txt file and change the path to point at the sam toolchain. Or... remove the directory portion of the command and make sure you have arm-none-eabi-g...
by Rick Kimball
Sun Jun 25, 2017 3:29 pm
Forum: STM Nucleo boards
Topic: STM Nucleo F103RB - please read the docs!
Replies: 17
Views: 4489

Re: STM Nucleo F103RB - please read the docs!

I know this is an old topic, however I just had to deal with this type of issue with an older NUCLEO-STM32F030R8 board. It doesn't provide an external XTAL and I wanted to get an accurate clock. To achieve this without an external XTAL, you can change some solder bridges and get an accurate 8MHz clo...