Search found 5612 matches

by RogerClark
Mon May 29, 2017 7:21 am
Forum: IDE's
Topic: Any Parallel in Binary Sizesf IDE for Board Created to Standard PC Binary?
Replies: 18
Views: 616

Re: Any Parallel in Binary Sizesf IDE for Board Created to Standard PC Binary?

What code did you compile? e.g Blink?

Which upload method did you select?

Most options compile the USB serial code into the sketch, which makes it a lot bigger.

If you want to compare with AVR you will need to select upload via Serial as this will not include the USB serial code.
by RogerClark
Sun May 28, 2017 10:08 pm
Forum: General discussion
Topic: RFID-RC522 crash my code
Replies: 5
Views: 47

Re: RFID-RC522 crash my code

You could see if it compiles for the Due or Zero, as at the moment it does not compile on STM32. Re: working 2 years ago. Why not just download the old version from github if it was working for you, and if you want to help the author make it compatible with STM32, then try some newer versions ( diff...
by RogerClark
Sun May 28, 2017 10:03 pm
Forum: Generic STM32F103
Topic: USB Observations
Replies: 76
Views: 846

Re: USB Observations

Rick, I dont think USB Serial is enabled at all if you upload via Serial. It is still enabled for STLink, as the STLink dongles dont have the built in serial that the nucleo boards version contains. I cant remember what the current config is for the BMP, but USB serial could be disabled on the BMP a...
by RogerClark
Sun May 28, 2017 9:51 pm
Forum: Cores
Topic: ARMduino - a generic implementation of Arduino on ARM Cortex-M chips
Replies: 8
Views: 138

Re: ARMduino - a generic implementation of Arduino on ARM Cortex-M chips

.... Sadly, the problem with that approach is that you miss out on all the rich libraries that people have written for the Arduino platform. I think it is unlikely people will port C++ libraries to C to work with your core. The 3rd party libraries are why people put up with the inefficient Arduino ...
by RogerClark
Sun May 28, 2017 9:42 pm
Forum: General discussion
Topic: Partial / old code for a F4 Maple bootloader
Replies: 15
Views: 219

Re: Partial / old code for a F4 Maple bootloader

@ag123 Thanks for looking at that bootloader. I will need to try it in another of my F4 boards as it does not enumerate at all on my Black F4 board. But my Black F4 board is the smaller one. ( I will take a photo later) Uploading via USB Serial rather than DFU is not necessarily a problem, depending...
by RogerClark
Sun May 28, 2017 9:34 pm
Forum: Builds and Announcements
Topic: FYI. I'm applying loads of changes to the master branch
Replies: 5
Views: 159

Re: FYI. I'm applying loads of changes to the master branch

Rick I dont have a list, I have just been reading the issues list in Github and also noting things reported on the forum, and cherry picking PRs and parts of PRs Please feel free to post your enhancements etc to the issues on Github, so we have a central location for them. PS. I saw the compiler war...
by RogerClark
Sun May 28, 2017 9:27 pm
Forum: General discussion
Topic: RFID-RC522 crash my code
Replies: 5
Views: 47

Re: RFID-RC522 crash my code

Not all libraries are compatible with the STM32 hardware or the Libmaple core.

It sounds like you may need to make changes to the library.

BTW. Does the library work on Arduino ARM boards like the Due and Zero ?
by RogerClark
Sun May 28, 2017 11:58 am
Forum: Generic STM32F103
Topic: USB Observations
Replies: 76
Views: 846

Re: USB Observations

I added the code to call USB Serial.Begin() without realising that there could be potential problems because of the whole init process, but strangely it does work, and the USB seeial is initialised OK. The singleton method relies on a static property in the class, but as all we need to record is whe...
by RogerClark
Sun May 28, 2017 9:50 am
Forum: Generic STM32F103
Topic: USB Observations
Replies: 76
Views: 846

Re: USB Observations

I guess its worth a try declaring the flag as volatile, but I can't see how that would fix it. The USB code change to volatile is probably needed because its changed in an interrupt, but I'm not sure if the initialisation code is via an interrupt. The F1 only has 1 USB interface, so the variable cou...
by RogerClark
Sun May 28, 2017 8:21 am
Forum: General discussion
Topic: Partial / old code for a F4 Maple bootloader
Replies: 15
Views: 219

Re: Partial / old code for a F4 Maple bootloader

I did some research on this today, and tried to register (using a temporary email address) with the site that had the F4 libmaple bootloader, but the site appears to be broken, so I don't think there is much hope of getting that code. I also found a bootloader for a PX4 flight controller board, whic...

Go to advanced search