uipv6 on arm processor family - arm

I need to port the u(read mu)ipv6 stack from atmega platform to the arm platfom, specificcally to STM32F103Rx so i need the libraries for this processor. But I have no idea where to find them. Could anyone please point me in the right direction??

STM32 support in Contiki/uIPV6 is not present in the stable release (2.4), you need the upcoming 2.5 version. Here is release candidate 1:
http://www.sics.se/contiki/news/contiki-2.5-release-candidate-1-avaliable.html
http://sourceforge.net/projects/contiki/files/Contiki/Contiki%202.5-rc1/contiki-2.5.rc1.zip/download
Enjoy!

Related

Where can I get a ARMv 8.5 device for some academic experiments

I am very interested in the memory tagging feature enabled by ARM v8.5. However, I just have no idea from where I can get a device enabled this very new feature. Could anyone shed some lights on this? Thanks a lot.
I am not sure there is any easily available silicon implementing v8.5 for the time being, I would rather suggest experimenting with the Armv8-A Base Platform FVP: it does support version 8.5.

Target and Board for a C embedded Program with Arcom in Keil

Good day everyone,
Please be kind an encouraging, as I am beginner in Embedded Programming, even if I have strong knowledge in C/C++.
Michael Barr, in his book, Programming Embedded Systems, writes, page 17, that "this function is specific to Arcom's Target188EB board.
I have Keil uVision 5 installed on my machine with Windows.
And I went in package installer to see if I can find , at least, the installer for simulating programs of the book. But I did not find the installer.
Why?
In particular, there is a special piece of code :
asm{
mov dx, P2LTCH
in a1, dx
....
}
which is special for this board.
So, I guess I should have the hardware, or at least the possibility ton download the package that fits to this board to be able to make the simulation.
Do you know why I don't find Arcom's Target188EB board in the package installer list ?
Thank you for your help
The board you refer to is an obsolete antique with an equally obsolete Intel 80188 processor on board. Keil do not produce a tool chain to target that.
Assembler code is architecture specific - that code is meaningless on anything that is not an 16 bit 8086 based processor.
In-line assembler syntax is compiler specific - you'd need the tool chain used for the original code to be sure it would compile in any case. Borland C++ 3.1 apparently (also an antique).
The code you are referring to uses the GPIO I/O port referred to by P2LTCH to control an LED. On other more modern and readily available boards, the method of accessing GPIO to flash an LED will differ. That is not fundamental perhaps to what the book is trying to teach you, but a more up-to-date book might be in order, or you need to know enough to be able to apply the content of the book to other systems - that is you need to be able to generalise the information using other resources perhaps.
Any board directly supported by the Keil tools generally has a "Blinky" app - the embedded world's answer to "Hello, World!", which does exactly what this exercise in Barr's book is exemplifying. Its purpose is to flash an LED to verify that you can build, load and execute code that can access the hardware.
I suggest you obtain a modern board directly supported by your toolchain, and supported by a broad community. Any number of ARM based microcontroller boards are available for very low cost, and much higher performance that the Arcom board and a broader peripheral set than

using arm CMSIS on Psoc system

I am attempting to utilize the arm dsp cores with the Psoc5LP system from cypress. I have found examples at
http://www.disca.upv.es/aperles/arm_cortex_m3/curset/CMSIS/Documentation/DSP/html/arm_fft_bin_example_f32_8c-example.html
Primarily the fft example is what I am interested in replicating, but I am confused slightly on how cores work. I have used the picoblaze core on Xilinx Spartan-6 before but I have never used premade cores, especially for Psoc.
I have looked at the psoc system reference guide and found information on CMSIS under startup and linking, but it does not make full sense to me. could someone please point me in the right direction to get me started? also will I have to download all the files individually that I need such as the arm_math.c for the fft example (if so I think that's the only file I need?), or will I just need to download the CMSIS version 4.3 from arms website
https://silver.arm.com/browse/CMSIS#
I'm trying to implement spectral flux analysis and autocorrelation using these cores and I think they are a good place to start.
Thanks in advance,
Scarlson
You need to download the CMSIS package from the ARM website.
Inside of the package you will find a "CMSIS" folder which you have to copy to your project (Step #1).
Next you have to follow these steps:
http://www.cypress.com/knowledge-base-article/including-cortex-microcontroller-software-interface-standard-cmsis-library
Step #5 seems to be obsolete.
You now have to include the functions you want to use manually (Step #6) into the project.
For FFT this is:
CMSIS\DSP_Lib\Source\CommonTables\arm_common_tables.c (for the
twiddle factor table)
CMSIS\DSP_Lib\Source\TransformFunctions\arm< type >init< format >.c
CMSIS\DSP_Lib\Source\TransformFunctions\arm< type >init< format >.c

Software simulation from ARM Cortex-M0

Is there a software simulator for ARM Cortex-M0 ?
I have a thumb only (not thumb2) instruction set simulator, goto github and search for thumbulator. Depends on what you are trying to do, could compile for thumb for a while then switch to thumb2 later.
For arm I found a behavioral verilog model out on a university site.
For thumb2 you might check and see if qemu supports it, I know there is support for the stellaris cortex-m3 so that may put you close enough.
There is no FOSS simulator. ARM documentation license prohibit documentation use for making simulator. You have to pay money to ARM to use documentation for simulation purposes and so all ARM simulators for latest architectures are non free.
You can download & use the free version of Keil uVision (limited to 32k)
IAR Embedded Workbench (www.iar.se) includes a simulator for Cortex cores. It is free (kickstarter version) up to 32kb of code size.

Which ARM processor should be used for transfering data via ethernet?

The question below was related to the 8051 family as it has only the serial ports. Now when i found out that the ARM processors have inbuilt ethernet facility i decided to mov on to the ARM's. So which would be the Most easiest one to start of and as iam aware of keil environment i would like to work on anARM which supports keil .
Thnxx,
Cheers.
The TI (formerly Luminary Micro) parts are easy to use. The eval kits are cheap and there is a lot of documentation on the Luminary Micro web site, including sample code. I've been using the LM3S6965 EVK for an ethernet project. The eval kits can be ordered with Keil, IAR, Codesourcery or Code Red compilers.
Check out the AT91SAM7X.
AT91 SAM series from Atmel is really popular between hobbyists and amateurs, you will find a lot of open source examples and excessive topics regarding this CPU's. And yes, they are widely supported in Linux community.
Check this out: http://www.at91.com

Resources