Export to EmBitz
Tagged: mDot offline export
- This topic has 6 replies, 2 voices, and was last updated 8 years, 9 months ago by Howard Bray.
-
AuthorPosts
-
January 20, 2016 at 3:45 pm #11212Howard BrayParticipant
We have just attempted to export an mDot project from the online compiler to EmBitz and it has all sorts of problems.
Can anyone please advise what version GCC we should be using, what/how the mBed libraries were built and what of the gazillian opions and settings we should have selected in EmBitz (V0.42)thanks
-H
January 20, 2016 at 3:54 pm #11213Mike FioreBlockedHi Howard,
I don’t know much about the EmBitz toolchain, but I don’t think it’s likely to work at the moment. The only toolchains we’re officially supporting right now are the mbed online compiler (which uses ARMCC), and the offline mbed SDK (ARMCC or GCC_ARM). We have a wiki page about using the offline mbed sdk for your reference:https://developer.mbed.org/teams/MultiTech/wiki/Using-the-mbed-SDK-for-mDot-development
Cheers,
MikeJanuary 20, 2016 at 4:28 pm #11218Howard BrayParticipantHi Mike
thanks for the reply.
Can you please advise which version of GCC that’s on the wiki page we should use and can you suggest the build options? We plan to use a ST-Link with the design and would *really* like to use the emBitz enviroment.
Many thanks
-H
PS EmBitz is the new name for EmBlocks.
- This reply was modified 8 years, 10 months ago by Howard Bray.
January 21, 2016 at 8:59 am #11221Mike FioreBlockedThe two version of GCC linked from the wiki page are builds for Windows or Linux, so you would grab whichever one is appropriate for your OS.
Unfortunately, the short answer is that we don’t support the EmBitz toolchain right now. If you want to use an IDE environment for your development, I suggest using the mbed online compiler.
-Mike
January 31, 2016 at 5:48 pm #11475Howard BrayParticipantHi again
Back onto this problem ….
Can you tell me what is the compiler that sits behind the online IDE? More specifically, what are the option settings?
We can now get a successful build, however the .bin file is about 30K smaller that what the online version creates and – more importantly – it doesn’t work. The Bootloader does it’s thing and then the unit does nothing. The feeling is that it’s either some optimization issue that’s got memory mapping confused, or there’s something missing from the linker.Any advice or suggestions will be greatly appreciated.
-H
February 1, 2016 at 9:08 am #11485Mike FioreBlockedHoward,
I’m not sure exactly what version of Keil tools are being used in the online compiler. You might be able to find out by posting a question on mbed. I heard ARMCC v5.06 in a different conversation with somebody at ARM, but I can’t guarantee that’s correct. It would be better to ask them directly.
I wouldn’t expect your binary built with a different toolchain to be exactly the same size as the binary you get from the online compiler. Your version probably doesn’t have our bootloader prepended to it, while the version from the online compiler does.
There is a “verbose” checkbox towards the bottom right of the online compiler page when you have a program selected. If you check that before you compile an choose “compile all” you should see all the debug output from the compiler and linker. You should be able to see what options, etc are being used from that output.
Cheers,
MikeFebruary 1, 2016 at 3:45 pm #11503Howard BrayParticipantG’day Mike
Many thanks for that. Very helpful.
regards
-H
-
AuthorPosts
- You must be logged in to reply to this topic.