Boot loader gets removed/override

umerocks
Posts: 10
Joined: Mon Sep 19, 2016 9:02 am

Boot loader gets removed/override

Postby umerocks » Mon Sep 19, 2016 10:22 am

Hello everyone,
I am using a MapleMini r3 board. Problem i am facing is that I am using Eclipse-Arduino plugin 3.0.0. Whenever I upload a small code like Blink-LED it works fine but as I upload a quite large code i.e. around 85KB, the pc shows Unrecognized-Board popup immediately and the comport disappears. Then I have to reload the bootloader inorder to get my comport again.
Is there any one facing the same issues?? any help in this regards will be appreciated.

User avatar
RogerClark
Posts: 5618
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: Boot loader gets removed/override

Postby RogerClark » Mon Sep 19, 2016 11:23 am

I've not tried code that large

What version of the bootloader are you using? The new stm32duino bootloader (i.e the new one) or the original Maple bootloader that comes pre-flashed

umerocks
Posts: 10
Joined: Mon Sep 19, 2016 9:02 am

Re: Boot loader gets removed/override

Postby umerocks » Thu Sep 22, 2016 8:30 am

I have used both the versions i.e. maple_mini_boot.bin(original one) and maple_mini_boot20.bin(custom one), but the problem persists. There is another thing that I should have pre-mensioned that is this problem does not appear when loading the code using Arduino IDE V1.6.9.

edogaldo
Posts: 247
Joined: Fri Jun 03, 2016 8:19 am

Re: Boot loader gets removed/override

Postby edogaldo » Thu Sep 22, 2016 9:39 am

Did you check that the upload tool is uploading at:
- 0x80005000 for the original bootloader
- 0x80002000 for the 2.0 bootloader
?

umerocks
Posts: 10
Joined: Mon Sep 19, 2016 9:02 am

Re: Boot loader gets removed/override

Postby umerocks » Mon Sep 26, 2016 4:06 pm

its 0x80002000 on selecting boot loader20
and
0x80005000 on selecting original boot loader.

The boot loader installed is "20".

umerocks
Posts: 10
Joined: Mon Sep 19, 2016 9:02 am

Re: Boot loader gets removed/override

Postby umerocks » Tue Sep 27, 2016 8:22 am

As to be on safe side, I switched onto new Arduino-Eclipse Plugin "Sloeber" to see if there is anything wrong with the previous version(Toddler), but on this new version still having the same poblem

stevestrong
Posts: 1019
Joined: Mon Oct 19, 2015 12:06 am
Location: Munich, Germany

Re: Boot loader gets removed/override

Postby stevestrong » Tue Sep 27, 2016 12:00 pm

I successfully uploaded code of size 85kB to blue pill without any problems, with Arduino IDE over USB. The device was still capable to be get new uploads, so I assume the bootloader was still working OK.
However, I have no experience with Eclipse. But the problem, I think, must be obviously with the plugin.

umerocks
Posts: 10
Joined: Mon Sep 19, 2016 9:02 am

Re: Boot loader gets removed/override

Postby umerocks » Tue Sep 27, 2016 12:13 pm

Yeah, I too got the success in uploading the code using Arduino IDE... And even it was 98KB when compiled using Arduino, and its working fine.
But Eclipse plugin is malfunctioning. As Eclipse comes out to be very handy thats why m trying to get this solved.

User avatar
RogerClark
Posts: 5618
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: Boot loader gets removed/override

Postby RogerClark » Tue Sep 27, 2016 8:56 pm

Its common knowledge that the BluePill actually has 128k flash ( not 64k)

The new bootloader takes 8k, so sketches have up to around 120k


Return to “Maple mini”

Who is online

Users browsing this forum: No registered users and 1 guest