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
embedded systems. 2, ARM-NONE-LINUX-GNUEABI-GCC
(ARM architecture, no vendor, creates binaries that run on the Linux operating system, and uses the GNU Eabi)
Mainly used in the Linux system based on ARM architecture, can be used to compile ARM architecture u-boot, Linux kernel, Linux application and so on.
Generate a. Lib file for a single c file under the Keil realview MDK
Having struggled for a day, there was no clear question about the complete web page. Isn't it too simple for everyone to say? In most cases, the project is simply converted to. Lib. Under Project-> options for target-> output, select create library.
However, the generated lib file is huge. The final lib generated by the project I compile now has 2.6 MB.
Later I found inspiration (
1 # include "usart. H "2 int main () 3 {4 usartmediaconfig (); // serial port initialization, the following information is printed through the serial port 5 printf (" char: % d \ r \ n ", sizeof (char); 6 printf ("unsigned char: % d \ r \ n", sizeof (unsigned char); 7 printf ("short: % d \ r \ n ", sizeof (short); 8 printf (" unsigned short: % d \ r \ n ", sizeof (unsigned short )); 9 printf ("int: % d \ r \ n", sizeof (INT); 10 printf ("unsigned INT: % d \ r \ n ", sizeof (unsigned INT); 11 pri
gprs_send_buff[index++]=stdev.sn>>24+ (gprs_send_buff[4]%4);gprs_send_buff[index++]=stdev.sn>>16+ (gprs_send_buff[4]%4);gprs_send_buff[index++]=stdev.sn>>8+ (gprs_send_buff[4]%4);gprs_send_buff[index++]=stdev.sn+ (gprs_send_buff[4]%4);Out of the results always in my unexpected, tossing half an hour to find out, is the algorithm out of the question,Priority judgment exceeded unexpected.Before learning C language when not how to remember the priority, just remind yourself when programming can not
(1) "F7": Compiling(2) "F9": Add/Cancel Breakpoint(3) "Ctrl" + "F5": Debug(4) "tab": Move selected content to the right(5) "Shift" + "tab": Move the selected content to the left of the whole(6) "Home": Move the cursor to the beginning of the line(7) "End": Moves the cursor to the end of the line(8) "Ctrl" + ">": the cursor shifts one word right from the current position(9) "Ctrl" + "() "Ctrl" + "Shift" + ">": Select a word to the right from the cursor's current position(one) "Ctrl" + "Shift" + "
In MDK configuration Stm32 project is a very troublesome thing, so directly apply engineering template, reduce the time spent. (here with Wildfire's M3 engineering template)
The configuration of a template is based on a relative path, so the template can be copied anywhere.
1. folder renamed, here I changed to Shuogg_project, open the project (in user), change the output name and filename, of course, no change also has no effect;
2. Selecti
I read a lotArticleAnd writes are very simple (actually very simple :)). A detailed tutorial is provided.
1. Use vspd to connect two virtual serial ports on the PC. I connect com2 and com3. Click ADDR pair.
2. We can see that two virtual serial ports are connected together on virtual ports.
3. The virtual serial port is ready. First, you can directly enter the command for debugging. We open the Keil MDK and set it to the simulation m
At the beginning of contact Cortex-M0, so everything starts from 0!
First, you must have your own hardware platform. I have a coocox M0 board, and then the download tool. coocox has its own download tool. This afternoon, the driver will be installed, then you need to find this download tool in your own Keil! I have never touched this item before, so it was a little difficult at the beginning. I found it online for a long time before seeing how to install it!
First, install mdk4.03 or a later v
The following question was encountered today:
Phenomenon: and J-link lights turn red, not the normal green, measurement found that the voltage of the RST foot is abnormal, originally by 10K resistor pull high, the voltage should be 3.3V, but measured 0.9V, the RST pin and 3.3V short, j-link lights turn green.
Solution: So I first put the RST pin and 3.3V short, and then press MDK program to download, and then release the RST and 3.3V short, um ~,
I really didn't want to do this at the time. First, the hardware of S3C2410 is complicated and you don't want to read it one by one. Second, I am afraid that I may not be able to solve the problem in a short period of time. I need to check the arm assembly and the 2410StartCode. Later, I started with reluctance. Fortunately, I found a modified version on the Internet. After modification, I can apply it to my board. This is just a weakness in the Unite
ARM Architecture and programmingThis article records some of the books that read "ARM architecture and programming".Personally, when learning arm system, do not need to memorize, as long as some key to the general memory, such as ARM Register (General Register, PC, LR, SP, CPSR, SPSR),
Record what you have learned O (∩_∩) o haha ~MakefileLINK.BIN:START.O MAIN.OArm-linux-ld-tlink.lds-o link.elf $^Arm-linux-objcopy-o binary link.elf Link.binarm-linux-objdump-d link.elf > Link_elf.disGCC Mkv210_image.c-o mkmini210./mkmini210 Link.bin 210.bin%.O:%. SArm-linux-gcc-o [email protected] $%.O:%.cArm-linux-gcc-o [email protected] $CleanRM *.o *.elf *.bin *.dis mkmini210-fExplain:Ld:GNU's linker.Used to link a quantitative target file with the
Windows Azure Platform Family of articles CatalogAzure ARM (1) OverviewAzure ARM (2) OverviewService types supported by Azure arm (3) armAzure Arm (4) starts creating an arm Resource group and creating a storage account In the previous section, I described how to export a t
are as follows:To this, the whole project preparation work is done, the following began to use MDK to establish the project.Building a project using MDK1. New Arm MDK Project, I chose the chip Stm32f107vs, and the Development Board chip consistent, position under the current project file. Project establishment, add the corresponding chip but do not add the boot
Original URL: http://www.cnblogs.com/muyun/p/3370996.htmlFirst, install the ARM-LINUX-GCC tool chainOnly one command is required: sudo apt-get install gcc-arm-linux-gnueabiThe premise is that your Ubuntu system version is the latest version supported by the official website, if not, please upgrade. Execute the above command.Ii. Use of tool chainsAttention! You cannot use GCC commands to summon it here. Its
In the development of ARM-based embedded systems, there are usually two types of GCC tool chains that use cross-Compilation: Arm-Linux-* andArm-elf-*, the main difference between the two lies in the use of different C library files. Arm-Linux-* uses GNU glibc, while arm-elf-* generally usesUclibc/UC-libc or newlib. gli
Analysis on the Relationship between GCC, arm-Linux-GCC, and arm-elf-gcc
Embedded Development Exchange Group 280352802, welcome to join!1. Introduction to GCC
The GNU Compiler Collection, usually GCC for short, is a set of compilers developed by GNU. Why is it an editor set rather than a compiler? This is because it not only supports C language compilation, but also supports many languages such as C ++, Ada
What is the difference between arm-elf and arm-linux-general Linux technology-Linux programming and kernel information? For more information, see the following. The following are the differences between the two cross-compilation environments:
These two cross environments have been used
In the development of ARM-based embedded systems, there are often two types
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.