Search found 5614 matches

by RogerClark
Mon May 29, 2017 10:19 am
Forum: General discussion
Topic: Partial / old code for a F4 Maple bootloader
Replies: 18
Views: 274

Re: Partial / old code for a F4 Maple bootloader

there is another scenario where the flasher could live at some 'high memory' address so that when the 'magic sequence' is received on serial-usb, we can jump to the flasher. but this still has a catch in that USB serial possibly always need to be initialised as disabling usb_serial possibly means d...
by RogerClark
Mon May 29, 2017 10:16 am
Forum: IDE's
Topic: Any Parallel in Binary Sizesf IDE for Board Created to Standard PC Binary?
Replies: 22
Views: 638

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

You don't need to actually Upload via serial You just need to set the upload type to Serial, then compile. If you compare Blink with different upload types, e.g generic_stm32f103c Bootloader upload is 12548 Serial upload is 6212 i.e USB Serial takes almost half of the total file size If you are comp...
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: 22
Views: 638

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: 6
Views: 57

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: 78
Views: 882

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: 10
Views: 166

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: 18
Views: 274

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: 172

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: 6
Views: 57

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: 78
Views: 882

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...

Go to advanced search