CORTEX lpc1768 tutorial [closed] - arm

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I need some tutorial for working with cortex lpc1768.i think it doesn't have good document on it. please give me some information and tutorials for it.

NXP has a big driver library with loads of example code, but it is somewhat hard to find:
CMSIS driver lib - somehow the link is missing on the nxp.com web pages. I got it from the code_red pages.
This driver library has code samples for almost all peripherials included in this microcontroller.

LPC generally does a good job with their docs.
Anything with an ARM in it though you also need the TRM (technical reference manual) for that core and the ARM ARM (ARM Architectural Reference Manual). Instead of one unified ARM ARM they have split it into families (thankfully, it was becoming unusable) being a cortex m you want the ARMv7 TRM and/or ARM ARM.
Here are some sample programs.
https://github.com/dwelch67/mbed_samples

Related

ARM development quickstart [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I want to try developing with ARM platform, particularly I'm interested in bare metal. I'm trying to start that using QEMU but this way of learning lacks comprehensive tutorials and it inevitably adds another level of complexity. Please, suggest a decent ARM development platform that meets the following requirements (sorted by descending importance):
Accompanied with a good step-by-step tutorial.
Provides basic input/output. I want to see some blinking and be able
to press some buttons on it. Additionally, having a digit display
(like on a calculator) or even an lcd display would be wonderful
Provides at least some debugging capabilities.
Modern.
If you want to start of with ARM controllers , you can go for mbed.mbed boards come with LPC
1768 32-bit Arm controller. You need not know much about the underlying hardware to code as there are many builtin api's to work with GPIO's and to interface sensors.
You can follow the mentioned link for the same mbed

Port existing C code to ARMv7 [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I was recently given the source code for an audio decoder which executes fine with on Windows when compiled with MSVC.
I was assigned the job of porting this decoder (which is written in c) to the ARMv7 platform.
Since I'm totally new to this field, I'm not sure how to go about doing this. I have already googled a lot, but could not find much that applied to my particular case.
Any suggestions about how to pull off such a port would be greatly appreciated.
Compile it and see what breaks is a good place to start.
ARM is a 32 bit target and off-the-shelf ARM based micro-controllers are invariably little-endian like x86, so there are generally few issues porting code.
If the code makes OS calls to Win32, or uses third-party libraries not ported to ARM, then of course you will need to remove those dependencies or port to the target environment. Similarly if the code makes use of the PC based hardware, such as the sound card, that will certainly need to be adapted.
Code and algorithms that simply processes data should port directly if the code quality was sufficiently portable in the first instance. Undefined or implementation defined compiler behaviour however will need to have been be avoided, since this is likley to differ between compilers and targets.

socket library for MS-DOS (C language) [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I need to write client and server applications for MS-DOS using C language.
I don't want to start from scratch and implement sockets.
Can you advice me library in which socket functionality is implemented and for which exist good manuals and examples.
I already tried mTCP library: I got source files from it, added sources from example file and tried to Compile in Turbo C, but it raises a lot of errors it will be very hard task for me to cope with them.
Try libnet. According to it's web page (http://libnet.sourceforge.net/) it supports DOS systems (djgpp compiler), though I personally haven't tried it on DOS.
There is also WATTCP: http://www.erickengelke.com/wattcp/
Have you tried that?

Looking for embedded project with source code [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I have embedded developement board (LPCXXXX) with me. I would like to do various experiments with that. I am not getting experiment ideas.
Please suggest me some good websites where I will get some good project/experiment ideas. I am looking for embedded system projects with source code in internet.
I am unable to find it.
Please help me where I will get embedded system project with source code (Video tutorial is an added advantage)
:-In tag I have added C because I did not find EmbeddedC tag.
Try Martin Thomas's ARM Projects site for a number of projects specifically for various LPC devices and also other ARM micro-controllers which could easily be adapted for LPC.
That's a rather broad question as you don't give much about what aspects of the embedded project you're looking for. The Kernel? The OS (making it small with things like busybox)?
But one good reference might be the Raspberry Pi project you might have heard about recently. It has it's linux kernel published, along with all the necessary OS components.

Books and shellcode examples [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
i read "art of exploitation" and "gray hat hackers".Both these books examples written for x86 systems.i have a centrino laptop and an amd64 pc.I can't make work examples for stack based overflow.
On 64-bit systems using ASLR, executable space protection makes it far more difficult to execute such attacks. This may explain why you're failing to make them work.
I suggest reading this paper on x86-64 buffer overflow exploits for further information.
I'd suggest the example in Aleph One' article "Smashing the Stack for Fun and Profit". You can find it here: link text
You can use some virtualization software (like Virtualbox) to run x86 system of your choice to play around also in amd64 system.
There are a lot of protections built into OS and compilers to stop those exploits. Or at least make them a heck of a lot more difficult: Noexec stacks, stack canaries, and so on.
Windows also uses stack monitoring as well. Linux has similar features. You really should consider taking your questions like these to a forum other than this one.

Resources