Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all 3049 articles
Browse latest View live

ARM: KEIL MDK V5 SLOW DURING TARGET BUILT (1 Replies)

$
0
0
i am used cube mx to generate a initialized template code, frustrating just a template code can take about 5 minute to compile. Is there any reason why it is very slow. I have disabled my antivirus and such but still no avail. Long time ago I used GNU gcc on slower machines just took about <1minute

None: uvision and RTX in combination with CubeMX (4 Replies)

$
0
0
Hi, I would like to use CubeMX and its grafical interface to generate code for my project in the Keil uvision IDE. I would like to use RTX RTOS too. I only found this tutorial: http://www.keil.com/pack/doc/STM32Cube/General/html/cubemx__r_t_x.html#cubemx_RTX_CubeMX but this tutorial is for STM32F7, and I am working with Cortex M4 (STM32F4). I made this tutorial step by step but I have an error in the compilaton: error: L6235E: More than one section matches select

ARM: Power outage protected filesystem (2 Replies)

$
0
0
Hi all, We are using STM32F4 based platform and running on CMSIS Keil RTX RTOS version 1. We are using 6.6 version of Keil middleware. We are analysing a solution to prevent file corruption During unexpected power failure scenarios. The current workaround We are using is to use redundant files for each of the file which we use. Hence we assume power failure can happen when either one of the file is being written to and either of these file can be prevented from file corruption.

ARM: zzzzzz

ARM: Web server displays weird characters

$
0
0
Hi, I am using HTTPS keil library. I am getting weird characters like symbols when I am trying to access Webserver of my device through CHrome or any web browser. All cgi files and images are in UTF8 encoding format. IN Keil HTTPS with File system resources is selected. Keil version used is 5.23. Can anyone guide me where I am wrong what setting are initial to display Web page of server properly. Request to reply. Regards, Snehal.

ARM: Position Independent Code - Linker Error

$
0
0
Hello there I'm trying to compile and link position independent code using the --apcs=/ropi compile option (C/C++: Read-Only Position Independent). Since I'm using --scatter I can't make use of the linker option "Make RO Sections Position Independent. Instead I mark the RO execution region in my scatter file with the PI option (as mentioned in this post: http://www.keil.com/forum/22514/position-indepedent-startup-function/). It compiles just fine, but I get the L6248

ARM: STM32CubeMX Framework can't compatible with the USB host Middleware (1 Replies)

$
0
0
I use MDK-ARM v5.24.2, CMSIS V5.0.1, MDK-MIDDLEWARE V7.4.1, STM32F4xx_DFP V2.11.0, new a project use the STM32CubeMX of the STM32Cube Framework(API), add a usb host msc to read and write file in the u disk. But I find that: 1. the "Keil::CMSIS Driver:USB Host:Full-speed" require CMSIS:RTOS, but there are two choices: "ARM::CMSIS:ROTS:Keil RTX" and"ARM::CMSIS:ROTS:Keil RTX5", there seems that I can only chose"ARM::C

ARM: Unknown ARM Architecture with RTX5

$
0
0
Using Keil MDK V5.24 for NXP LPC1343 with CMSIS RTX5. A #define "__ARM_ARCH_7M__" is missing in - maybe -"RTE_Components.h" (or in "LPC13xx.h" or in "system_LPC13xx.h" or in "core_cm3.h"). This then is flagged as error in "core_cm.h", line 53. How to get ARM architecture defined ? Best regards, Juergen.

ARM: OS_ERROR_TIMER_OVF error (1 Replies)

$
0
0
I 'm got started coding the RTOS program by using RTX. And I encountered The error "OS_ERROR_TIMER_OVF" . According to the following program,It is occurred "due to User Timer Callback Queue overflow detected". So, I changed the OS_TIMERCBQS value from 4 to 25. But the error is not disappeared. void os_error (uint32_t error_code) { /* HERE: include optional code to be executed on runtime error. */ switch (error_code) { case OS_ERROR_STACK_OVF

ARM: identical compiles produce different size images (4 Replies)

$
0
0
our units use dual images for upgrade safety which only differ in address locations. each image uses the same source with project files (.uvproj) that only change the scatter file used for linking. When doing a full compile of each image I've recently started noticing that the images differ by 4 bytes. This appears to happen during linking and compiling on one of our other systems doesn't produce this issue so I suspect something has been corrupted on my laptop. This is very disconce

ARM: µVision V5.15 Simulation not working.

$
0
0
I am using STM32F070CB device of vendor ST-Microelectronics and IDE-Version: µVision V5.15. When I start the simulation, (Just clicking on Start/Stop debug session) the IDE shows error that µVision stops working. I am using windows 7.

C51: static key word in user functions (3 Replies)

$
0
0
Can I use static key word in user function? FUNC char StateMachine(void) { static unsigned char _state; switch(_state) { case 0: ... } }

ARM: CC2640 (2 Replies)

$
0
0
Hi, I want to work on TI BLE STACK based on CC2640. Can you please let me know whether KEIL MDK-ARM is supported that CC2640? I couldn't able to find in both http://www.keil.com/dd/ & http://www.keil.com/dd2/ Looking forward for your reply. Ariyur

ARM: Keil IDE with MXCube mismatched projects

$
0
0
Folks, is it just me or other come across this problem. Using the Latest version of both tools. Starting a new project with the Hardware engineers giving me a STM mxCube project to get started on. Starting one with Keil, I select the right micro, from the runtime options select CMSIS RTOS02 API using libraries and the Device STM32 Cube Framework (API) clicking on the STM32CubeMx option After clicking on OK at the bottom of the Dialog box it launches MxCube This is a

ARM: STM32F4 with two SDIO (1 Replies)

$
0
0
I WANT TO KNOW THE STM32F4 SERIES BOARD HAVING TWO SDIO INTERFACES???ANYONE PLEASE SUGGEST ME......

None: Compiler error #3734 (2 Replies)

$
0
0
Hello, compiling my source code, I encountered the following compiler error: "no source": Error: #3734: __packed qualifier dropped when passing argument to unprototyped function The MCU architecture is Cortex-M0. The error is triggered when I change the compiler optimisation from o2 to o3. All the routines that the compiler labelled as unprototyped have the prototype in a separate header file. I tried to find information about this error but wit

ARM: -O3 triggers compiler error #3734

$
0
0
Hello, compiling my source code, I encountered the following compiler error: "no source": Error: #3734: __packed qualifier dropped when passing argument to unprototyped function The MCU architecture is Cortex-M0. The error is triggered when I change the compiler optimisation from o2 to o3. All the routines that the compiler labelled as unprototyped have the prototype in a separate header file. The prototypes are always included and never disabl

None: Error in ASM code for M4F

$
0
0
I use a TM4C123GH6PM board. I've been having issues while debugging assembly code. The code is as following: void delayMs(unsigned int n) { __asm("Y_LABEL: MOV R1,#4"); __asm("Z_LABEL: SUB R1, #1"); __asm(" CBZ R1, X_LABEL"); __asm(" NOP"); __asm(" B Z_LABEL"); __asm("X_LABEL

ARM: ARM M3: How to halt the debugger when a variable changes to a designated value during the execution

$
0
0
Hi, There is a bug in my system. One variable becomes 0 sometimes during the execution. I am using ULink2/uVision5.2 with MDK-ARM Cortex-M3 tool chain. Could anybody give advice how to set the debugger to catch it? I think there is way to halt the debugger when the variable changes to a designated value. Thanks. Steve

ARM: __attribute__((at(x))) for AC6 ?

$
0
0
Hello, is it possible to define a const variable at a given address using AC6 similar to this? __attribute__((used)) const char signature[16] __attribute__((at(0x08041000)))={"my_signature"}; I think it would be possible to place this string in a separate c-file and create a section in the scatter-file and define a address/length, but I would prefer something similar to this above. Thank you.
Viewing all 3049 articles
Browse latest View live