Keil uvision, Keil MDK, Keil for ARM, realview MDK, Keil C51, Keil c166, Keil c166
From contact with MCS-51 microcontroller, we know that there is a software called Keil. When developing single-chip microcomputer, the C or assembly language is used. We know that neither of these languages can be directly filled into the single-chip microcomputer. If the execution is not executed for the time being, the size of the Code is not enough, it is enough to b
Lou Pig is used to download and debug Stm32 program, because JTAG is the D version (you understand), the official upgrade when the hands of the cheap upgrade, JTAG changed brick. Later found used for STM8 download debugging with the Stlink can also be used to debug Stm32, Lou Pig bought is more than 20 yuan Stlink,x Bao bought, claiming to be able to use the official firmware, so there is this article:First of all, the building pig with win 10 64, Keil uvisi
(1) copy the file vdm51.dll (C: \ ProgramFiles \ labcenterelectronics \ proteus6 \ Professional \ models) under the Proteus installation directory to the \ C51 \ bin directory in the Keil installation directory;(2) edit the tools. ini file in C51 and add:Tdrv1 = bin \ vdm51.dll ("Proteus VSM Monitor-51 driver"); Number "1" flexible change(3) set in Keil uvision: Project --> options for project --> debug tab;(4) Go to the project menu option for target
The Keil uvision (MDK v4.7) was run on Ubuntu 12.04LTS a few days ago. The process is also smooth, sharing the next steps to the needs of friends.
A screenshot of the previous installation (I'm using the old-fashioned Gnome classic interface) to see Keil uVision4 in the Wine menu.
In fact, using wine (HTTP://BAIKE.BAIDU.COM/LINK?URL=8TJGR-T30E9PQ-H4MOY_55BL__W8HDLNIKYPZD9M8G7WYFTIJL-S3S4LIGGBA_MJ) to install the running MDK. Wine is a very interest
, readers.Using ARM's Keil uvision development environment to develop microcontrollers, microcontrollers and publishing commercial products involving copyright issues requires a hefty royalty fee, which is a huge expense for small and medium-sized companies. Therefore, the search for Keil uvision alternative solutions.Because Eclipse is an open source development platform and supports the development of var
, library management, and a powerful simulation debugger. These features are combined by an integrated development environment (uvision. Uvision's current highest version is uvision3. Its interface is similar to the commonly used Microsoft Vc ++ interface. The interface is friendly, easy to learn, and easy to use. During program debugging, software Simulation also has powerful functions. Therefore, many engineers who develop arm applications like it v
example, I first created a folder named "mytest":
??
?
??
Moonlight ?? Source: original site (www.mcusy.cn)
2. Click Keil uvision4 on the desktop.Icon to display the startup screen:
??
?
??
??
3. Click "Project --- New uvision project" to create a project:
??
?
??
??
Moonlight ?? Source: original site (www.mcusy.cn)
??
4. In the dialog box, select and place the project in the "mytest" folder you just created. Name the
Recently, I tried to download the latest version of Keil and add protues to create a virtual environment. The main cause is the economic problem. Electronic components cost money...
Today, I encountered some problems with using Keil uvision 4 and recorded them for later viewing :)
As for activation, there is no shortage in town. No more
Problem 1: No STC in Keil
Solution:
Solution 1: Use Atmel 89C52. If you use the unique function of STC, specify the
When you look at the functions in the MSC of EFM32, for example, when you look at the function MSC_ErasePage (), do you have to pay attention to a large part of the above explanation. The detailed English is as follows:
This function MUST be executed from RAM. failure to execute this portion of the code in RAM will result in a hardfault. for IAR, Rowley and Codesourcery this will be achieved automatically. for Keil uVision 4 you must define a section
1. Replace C: \ Keil \ ARM \ STLink with the STLink file in the resource. Remember to back up the original file,
2. Change C: \ Keil \ TOOLS. INI to the following
[UV2]ORGANIZATION="cs2c"NAME="jianzhong", "cui"EMAIL="cjzswust@gmail.com"ARMSEL=1BOOK0=UV4\RELEASE_NOTES.HTM("uVision Release Notes")[ARM]PATH="C:\Keil\ARM"VERSION=4.60PATH1="C:\Program Files\arm-none-eabi-gcc-4_6\"TOOLPREFIX=arm-none-eabi-CPUDLL0=SARM.DLL(TDRV0,TDRV5,TDRV6,TDRV10)
The program compiled in Keil has passed, but there are some errors when debugging:
Error 65:access violation at 0x4c000018:no ' write ' permission
Error 65:access violation at 0x00000000:no ' execute/read ' permission (RAM.SCT)
I found that the above error occurred when I chose RUNINRAM.SCT and Runinflash.sct or an automatically generated SCT file in linker in my project settings. Should be the address of the problem. But how to fix this error is not clear. To figure out the hair again.
Here is
, please do not begrudge your jade, I'm going to throw the bricks here.Ways to add Astyle menus:1:UVISION4 Click the Tools menu---Customize tools menus 2: Add Astyle all Files and Astyle current File menu (custom menu name, can be used in Chinese)I've added two menus here, which are formatting the current file and formatting all the files in project.3: Add command command: Click ... button, select Astyle.exe.4:arguments:Astyle Current File menu fill in! EAstyle All Files menu fill in "$E *.c" "$
strllarisware folder.
This section describes my current directory relationships. Under the. folder
../Lab (store mySource code)
../Keil (ProgramUse)
../Strllarisware (driver Library)
After preparing for the above, you need to program the project!
Open the Keil uvision4 software, and a project will be automatically opened, so we don't care about it and do our own program. Select project --> New uvision project... (if an error occurs,
Open the device manuals and library function manuals and find the part of the timer in the catalogue, a bit of a fling .... Many functions, register a lot, library function more ...Or find a book to eat a bite, I want to learn where to find the program instance is also very inefficientTo find some information about the hot atom.Http://openedv.com/posts/list/13912.htmStart with the library function chapter and download the STM32F1 Development Guide (library function version) in the network disk.
the Courier New font.
After the above modifications are tested, the code is aligned under CCS3.3, Keil uVision, and VS2005. By default, UltraEdit has two tabs and is aligned after being changed to 4 characters.
Switch Tabbar of source insight)
If you are familiar with using UltraEdit or Visual Studio, you may prefer to use tags to switch between files. However, source insight does not provide such a function, today, we can see a tool that can be i
. Manual placement of Flash execution regions
ER_FLASH 0x8000 0x2000{*(+RO)*(.ARM.__at_0x8000); key}
Use the linker command-line option--no_autoatTo enable manual placement.
The following example shows a scatter file with automatic placement of the flash execution region. Use the linker command-line option--autoatTo enable automatic placement.
Example 26. Automatic Placement of Flash execution regions
ER_FLASH 0x8000 0x2000{*(+RO); other code and read-only data, the; __at section is automatical
1: Install mdk412 and register it with the Registrar. This process is not described in detail.
2: Create the stm32 project folder named my_stm32 in a local path, create the rvmdk folder under my_stm32, and create the OBJ and list folders in the rvmdk folder.
3: Open keil4.
4: select the project menu-> New uvision project..., select the path of the.../my_stm32/rvmdk folder, name the project file my_stm32, and press ENTER
5: select the device name,
Follow the Keil for ARM tutorial to create a project, write the main function, and operate gpio,ProgramThere is no problem with compilation after writing,
"At91sam7x. axf"-0 error (s), 0 warning (s ).
Set debug to jlink. When the program is downloaded to flash,
The following error is prompted when the out window of Keil is displayed: No algorithm found for: 00100000 H-001004e7h.
Very depressing. Why not,
Google searched for "No algorithm found for: 00100000 H-001004e7h" without any content,
separate operation or task, and the function (or task) runs in sequence.
When there are more and more tasks, the scheduling problem is raised naturally. For example, suppose
Ctr_adj ()If the function runs for a long time, it may take a long time for the main loop to return for running.
Key_scan ()Function, leading to the omission of some key events. Of course, it can be called more frequently in the main loop.
Key_scan ()Function to correct this problem, but at last this method still fails.
Rtx
Since we are not going to talk about RT-thread during work hours, you can go to http://www.rt-thread.org/to understand it.
Previously, we transplanted UCOS + lwip1.1 in ads, which is not very stable.
RT-thread on LWIP optimization is good, rt-thread0.3.1 BSP contains the mini2440 Development Board porting package.
2410 and 2440 are slightly different.
Then start porting.
1. Download The rt-thread0.3.1 from SVN or download it at http://www.rt-thread.org.
2. After decompression, create a new worki
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.