Member | Action | Date |
---|---|---|
![]() |
Posted
How to enable printf float support on C++ project in simplicity? on
Forum
I just introduce a new module to my project. The module is good while it is C++ library. So I have to convert my project to C++ project from C project.
Show more
Then issue comes. I find that float %f can't work in printf now. I check the linker gerneral options setting in the original C project and the new C++ project. In the original C project, "printf fload" is selected. While in the new C++ project, "printf fload" is not selected, the worst thing is it is gray, I can't select it at all. Why is it happen? How to solve it? Thank you. |
Apr 18 2018, 12:54 PM |
![]() |
Posted
How to install a old SDK like Gecko SDK 1.1.1 on
Forum
I have some projects with built on old SDK, such as Gecko SDK 1.1.1. While I found that I could not install the old SDK, the button of install is gray in "upgrade software". Maybe new SDK is compatible with old one. While the old one works well, and I don't want to verify the new SDK at all. Any one have idea to install a old SDK? Thank you in advance. |
Apr 18 2018, 12:43 PM |
![]() |
Posted
How to let Gecko bootloader run? on
Forum
I create a Gecko bootloader project in Simplicity Studio, and build, debug by ARM debugger, while the bootloader doesn't run at all.
Show more
I find that the PC after reset is 0x0FE10000. But the start address of bootloader is 0x0FE10800, which can also be found in link file main_btl_bootloader_flash_38k.ld. MEMORY { FLASH (rx) : ORIGIN = 0x0FE10800, LENGTH = 36864 RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 31744 } In efm32pg12_reference_manual.pdf, it says: If the bootloader is not bypassed, the system will boot up from the bootloader at address 0x0FE10000 So my question is how can the bootloader run? |
Feb 01 2018, 2:59 AM |
![]() |
Posted
Why reserver a RAM space for heap since memory allocation is not used? on
Forum
I find that it allocates a RAM space for heap in startup.s. But seems that in the gecko SDK, the memory allocation(malloc, free) is not used at all. Why it still initialize and reserver a RAM space for heap?
project/CMSIS/EFM32PG12B/startup_gcc_efm32pg12b.s #ifdef __STACK_SIZE
#ifdef __HEAP_SIZE |
Dec 15 2017, 2:38 AM |
![]() |
Posted
Any way/tool to detect if potential stack overflow statics during compile phase or runtime? on
Forum
I am running a non-os project on EFM32PG, but seems the result is not the function it should be after running for a while. Only the interrupt handler is still working as design. So I doubt maybe there is stack overflow. So how to detect if potential stack overflow statics during compile phase or runtime? Any way or tool can help?
|
Dec 15 2017, 2:31 AM |
![]() |
Replied
to
Pearl Gecko RTCC counter is reset after wakeup from EM4H
Hi Delu, I create a case, the number is 00158301. The related source file is attached and details execution steps information is also described. The feature RTCC keeps running after reset, can it be achieved on STK? I doubt. You can easy creat a new project on STK to verify it. BR//Lijun |
Dec 13 2017, 8:29 AM |
![]() |
Replied
to
How to create project of Gecko Bootloader in Simplicity Studio
Hi delu, No bootloader is found. I install simplicity studio and Gecko SDK in the other laptop, but get the same problem. It should be easy to reproduce. BR//Lijun |
Dec 13 2017, 8:23 AM |
![]() |
Posted
How to create project of Gecko Bootloader in Simplicity Studio on
Forum
I read C:\SiliconLabs\SimplicityStudio\v4\developer\sdks\gecko_sdk_suite\v2.0\platform\bootloader\documentation\Gecko_Bootloader_API_Reference It say that Gecko Bootloader is a common customizable bootloader compatible with EFM32 Series 1 microcontrollers. In ug266-gecko-bootloader-user-guide.pdf, it says: 1. From the Launcher Perspective, click [New Project]. While I can't find Gecko Bootloader in [New Project] dialog. Any suggestions? What should I do? Thanks. |
Dec 10 2017, 4:55 AM |
![]() |
Posted
Pearl Gecko RTCC counter is reset after wakeup from EM4H on
Forum
I am running the RTCC with the LFXO clock source, 32768 Hz on EFM32PG12 Pearl Gecko. RTCC channel 1 is used to wake up the board when it enters EM4H. It does wake up, while RTCC_CNT(Counter Value Register) was reset to 0x0000000. It is not expected behavior Seems the RTCC is reset. I find the RMU_CTRL - Control Register, it is said if reset mode is set to LIMITED, then RTCC are not reset. So I set RMU_CTRL to 0x1111, while it doesn't help. After wakeup from EM4H, RTCC_CNT is still reset to 0x0000000. What is wrong? Any suggestions are highly appreciated. |
Dec 09 2017, 2:20 PM |
![]() |
Posted
hang on EMU_DCDCInit/EMU_DCDCModeSet on
Forum
I am debugging a customized EFM32PG12 board with battery supply. It works well if it runs without EMU_DCDCInit, but if it boots up with EMU_DCDCInit then it hangs on EMU_DCDCModeSet, "while (!(EMU_IntGet() & EMU_IF_DCDCLNRUNNING)) ;". Any ideas or suggestion would be highly appreciated. |
Nov 14 2017, 3:44 AM |