1.-
A) A step motor has a step of 7.5°, make a program to make the
motor only one turn in any direction and in any step mode.
B) If the stepper motor is connected through its axis to a wheel of
50 cm diameter of a vehicle and the delay of each step is 25
milliseconds.• at what angular speed will the wheel move? Rpm and rad / s• What is the linear velocity of the vehicle? M / s• How far will it travel in 57 seconds?&bu
↧
C51: STEPPER MOTOR DEGREES (1 Replies)
↧
ARM: include path problems (1 Replies)
receiving the following error in MDK Lite 5.23 uvision5 for arm
lpc1768
C:\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\2.3.0\RTE_Driver\UART_LPC17xx.c(75):
error: #5: cannot open source input file "RTE_Device.h": No such file
or directory
This is despite the file showing under the CMSIS Driver node in
the project tree. I try to re-add the file but it wont, stating the
file is already included. Stumped
↧
↧
ARM: Fastest memory copy approach: CMSIS Vectory Copy or Memcpy (3 Replies)
Hi,
I have a large vector that resides in STM32F407 Core Coupled
Memory (CCM) while another vector in SRAM.
Am looking for a better way to copy from one to another besides
the traditional memcpy because DMA transfer is not an option
anymore.
Does CMSIS Vector Copy function offer any advantage compared to
memcpy in this context? Or, is there any better idea?
Thanks in advance.
Seng Tak
↧
ARM: Error L6200E (2 Replies)
Hey there !
I had been trying to write a code for mmc interface with stm32f103c8
and i'm getting some error.
.\Objects\main.axf: Error: L6200E: Symbol disk_initialize multiply defined (by code.o and sd_spi_stm32.o).
.\Objects\main.axf: Error: L6200E: Symbol disk_ioctl multiply defined (by code.o and sd_spi_stm32.o).
.\Objects\main.axf: Error: L6200E: Symbol disk_read multiply defined (by code.o and sd_spi_stm32.o).
.\Objects\main.axf: Error: L6200E: Symbol disk_status multiply define
↧
C166: Third-party USB libraries support in uVision Essential
Does the Keil uVision Essential licence allow to use third-party
USB libraries, like for STM32?
↧
↧
C51: error in c51 microcontroller (4 Replies)
hi,
i am getting error in keil v8.xx when i open the project and trying
to build it show tool set undefined.TOOL.INI does not contain tool
path.And you have selected the device where no toolchain has been
installed.
please help how to resolve!!!!!
↧
None: how to set access breakpoint on variable
How do I set a break point when a variable is written? I have a
value in my watch window. I click on it and select "set access
breakpoint at somevariable name". It pops up a dialog, I can select
write checkbox, but when I click "define" it pops up a dialog,"breakpoint definition error. See command window for detailed error
information."
↧
C51: Inconsistent warnings about different data types ? (6 Replies)
C51 COMPILER V9.53.0.0
LX51 LINKER/LOCATER V4.66.30.0
I have the following (relevant) lines of code:
extern xdata uint8_t rtu_rx_buf[];
extern xdata uint8_t rtu_tx_buf[];
.
.
.
struct{
uint8_t func;
uint16_t start;
uint16_t qty;
uint8_t n;
}xdata *p = &rtu_rx_buf[1];
.
.
.
p = rtu_tx_buf;
.
.
.
The first assignment to 'p' doesn't raise any complaints from the
compiler or linker. The second, however, gives me the following
war
↧
ARM: [BUG] CMSIS Driver I2C, I2C_CR1_POS flag (3 Replies)
Driver doesn't clear I2C_CR1_POS after 2-byte reception in DMA
mode. There is no problem when DMA is not used.
I've created a new thread because the old one became read
only:
http://www.keil.com/forum/59907/
The bug still exists in ver 2.6.
↧
↧
ARM: Input through serial port causes random characters when in debug mode (CMSIS-DAP as debugger)
Hi,
I am working FRDM K64F and getting some issues when I use
CMSIS-DAP as debugger.
I am using serial port for input and output strings. Output is as
expected but
when input characters they are very random. However when I am not in
debug mode
things work just fine. I feel some issue in CMSIS-DAP settings but
not sure what.
For example, I entered "dir" and "d\0\0\0rd\0rr".
CMSIS-DAP Details:
Serial No. 02400226392f4e4e000000000
↧
ARM: FRDM K64F Firmware update (1 Replies)
I am trying to update firmware in FRDM K64F board.
When I update it to 0226_k20dx128_k64f_0x5000.bin,
it works fine. But it seems like not a latest one.
When I update it to k20dx128_k64f_if_mbed.bin, board
stops working. no any led, no mbed drive, when I press
reset button then it goes back to boot loader mode.
If I put back 0226_xxx then it starts working again.
any help will highly be appreciated!
↧
ARM: Download KEIL uVision 4 (4 Replies)
Hi!
Please tell me from where can I download KEIL uVISION 4 and other
older versions if not here on the official website.
Thanks
↧
ARM: Mutex not Released. Which Thread holds the Mutex?
Hello,
I have a problem with an application using the KEIL RTX. The
application consists of 30-40 Tasks which use several Mutex to
control the access to shared ressources. The problem I have now is
that one mutex that is used by almost all tasks seems to be not
released anywhere in the code.
Is there any way to see which task holds the Mutex? I know, i could
also just check the code (which would be a bunch of work) but we had
the case, that some function call to an external library
↧
↧
ARM: Problem building RTX5 for Cortex-M4F with ARM Compiler v5
I have recently tried to create my first project using RTX5. I
believe I have the basic pieces set up correctly, but when I try to
build the projects I get errors building rtx_kernel.c
compiling rtx_kernel.c...
C:\Keil_v5\ARM\PACK\ARM\CMSIS\5.0.1\CMSIS\RTOS2\RTX\Source\rtx_kernel.c(31): error: #29: expected an expression
{ .os_id = osRtxKernelId, .version = osRtxVersionKernel, .kernel.state = osRtxKernelInactive };
C:\Keil_v5\ARM\PACK\ARM\CMSIS\5.0.1\CMSIS\RTOS2\RTX\Source\rtx_ker
↧
ARM: Ethernet example for LPC4357 (1 Replies)
Hi everyone...
I want to use Ethernet in LPC4357 cortex controller... PHY I am
using is LAN8720i IC.
I have found one .c file regarding LAN8720 driver in CMSIS in
KEIL.
I am searching for example project for Ethernet usage in
LPC4357..
Anyone have an example project or any other source files which
will help me..
↧
ARM: USB CDC exemple dont work in debug
Hi all
I'm working on a STM32F303CC very simple board.
I need to use a USB Virtual COM (CDC) for a MtoM data transfer with a
Windows PC
I set up BSP with STMCubeMx and compiling/debuging with Keil V5 with
an STlink V2 in SWD mode
board and microcontrolers are powered by USB
all look's working great when I make a hard reset (just fresh power
up) but if I try to make a soft reset like when entering in debug
despite Virtual Com Port is well enumerated on windows side it could
not open c
↧
None: I am compiling code for stm32f407 family (1 Replies)
*** Using Compiler 'V5.05 update 2 (build 169)', folder:
'C:\Keil_v5\ARM\ARMCC\Bin'
Rebuild target 'STM324F_GPIO'
assembling startup_stm32f40xx.s...
compiling misc.c...
compiling stm32f4xx_gpio.c...
compiling stm32f4xx_rcc.c...
compiling main.c...
User\main.c(7): error: #268: declaration may not appear after
executable statement in block GPIO_InitTypeDef GPIO_InitDef;
User\main.c(7): error: #67: expected a "}" GPIO_InitTypeDef
GPIO_InitDef;
User\main.c(8): error
↧
↧
ARM: rtos
Hello
I need help. I am trying to learn basic of RTOS programming. I am
using keil compiler 5 version. I am looking for source code. please
tell me where to download source code. does keil compiler contain
source code itself
↧
C51: Project compiles with no errors but will not build (7 Replies)
Hey,
I've looked around on Google and through these forums. I cannot
find a solution to my problem. I'm willing to try suggestions and am
eager to figure this out.
The problem:
I have a project that is compiling without error but will not build.
It looks like the linker isn't being called, but I'm not sure how to
tell. I have tested building other projects on my computer for the
same processor with the same version of uVision (V4.14.16.0). Other
projects build correctly, so I
↧
ARM: Keil uVision: ST-LINK USB communication error (3 Replies)
I'm using Keil uVision V5.22.0.0 and I'm trying to work with a
STM32 Nucleo board, which has ST-LINK built into the board. When
either debugging or downloading to flash using uVision, it works for
about a minute (sometimes more, sometimes less) and then I get a
small popup window saying "ST-LINK USB communication error". I can
unplug the USB cable, plug it back in, and then it works again for a
short period of time.
I'm not sure the best way to determine the ST-L
↧